On Oct 1, 2007, at 2:40 PM, <[EMAIL PROTECTED]>  
<[EMAIL PROTECTED]> wrote:

> How to do to make that a push or a release from the right mouse  
> button doesn't disturb or interact with the current events in the  
> handle function ?
>
> the events handled are:
> FL_PUSH
> FL_RELEASE
> FL_DRAG

The Fl::event_button() function will tell you which button triggered  
an FL_PUSH or FL_RELEASE event
<http://www.fltk.org/documentation.php/doc-1.1/Fl.html#Fl.event_button>

Fl::event_buttons() (not the additional "s") will tell you, which  
buttons are currently held down for FL_PUSH, FL_MOVE, FL_DRAG, and  
FL_RELEASE (and a few more).
<http://www.fltk.org/documentation.php/doc-1.1/Fl.html#Fl.event_buttons>

Matthias

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


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

Reply via email to