On 22.01.2008, at 14:29, pushparaj muthu wrote:

> Is it possible to get mouse event from other widget. If it possible  
> could
> you explain how to do it?


Yes, you can get Mouse events from any widget. It works the same way  
with all of them:

- derive a new class
- implement your own int handle(int event) method
- handle event FL_ENTER and return 1 if you want FL_MOVE events
- handle FL_PUSH and return 1 if you want to receive FL_DRAG and  
FL_RELEASE events

There are a few examples for this in the mailing list.

Matthias

----
http://robowerk.com/


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

Reply via email to