> i would like to do a callback, whenever the mouse enters or 
> leaves a Button widget. Is there a neat trick that would 
> allow me to do that? Or do i really need to subclass the 
> Fl_Button and program my own handle() function ?

Yes, that's the C++ way, but it's almost trivial to do so. See the
subwindow demo in the test folder for a simple example.


> my idea is that i want to have 3 large buttons aligned 
> vertically on the left half of a screen, and on the right 
> half i want to have an Fl_Help view widget, that changes it 
> contents while i mouse-over the buttons. the idea is that the 
> user might choose the button that he wants to press depending 
> on the right hand side content, and only then press the 
> button to start loading some stuff / level / etc.

I assume you need more info than is readily displayed in a simple
tooltip?




SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to