[fxruby-users] SEL_CONFIGURE and MDIChild window

jeroen jeroen at fox-toolkit.org
Fri Sep 10 10:03:30 EDT 2004


On Friday 10 September 2004 04:56 am, Hal Fulton wrote:
> I'm tracking the motions of MDIChild windows.
>
> I've found that SEL_CONFIGURE will certainly tell me when the
> window is moved manually with the mouse.
>
> However, it also tells me when win.move(x,y) is called -- a little
> bonus that I didn't want.
>
> Is there any way to distinguish between a mouse move and a
> programmatic one?

I don't think so; the system doesn't differentiate between the two.

Another complication for you is, at least under X11, that the SEL_CONFIGURE
may be asynchronous since its generated by the X11 server.


	- Jeroen


-- 
+----------------------------------------------------------------------------+
| Copyright (C) 09:00 09/10/2004 Jeroen van der Zijp.   All Rights Reserved. |
+----------------------------------------------------------------------------+



More information about the fxruby-users mailing list