XForms: free object mouse events

Joel Weiner (weiner@mcci-arl-va.com)
Thu, 15 May 1997 14:39:48 -0400

To subscribers of the xforms list from weiner@mcci-arl-va.com (Joel Weiner) :

I'm fairly new to xforms and am having a problem with managing events
in a free object.

Some background:
The platform is a Sun Sparc running Solaris.
The xforms version is V0.86.1
The free object is of the type FL_NORMAL_FREE.

FL_CLICK_TIMEOUT = 400.

There is a callback registered to the free object which is set up to
look for various events.
The events are:
FL_DRAW, FL_PUSH, FL_RELEASE, FL_ENTER, FL_LEAVE, FL_MOUSE, FL_MOTION,
FL_DBLCLICK.

The problems:
1: I get a stream of FL_MOUSE events as long as a mouse button is pressed,
whether or not the mouse position has changed. The impression I got from
the manual was that this event is only sent if a button is pressed AND
the position has changed.

2: Before the FL_DBLCLICK event is received, I get a pair of event
sequences comprised of FL_PUSH, several FL_MOUSE and a FL_RELEASE.
One sequence for each button press of the double click. Then I get the
FL_DBLCLICK event. I would have thought that no FL_PUSH events etc.
would be sent until after the FL_CLICK_TIMEOUT had passed.

Could someone please clarify what is supposed to happen in the above two
cases?

Thanks,
Joel
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/