> >Previous posters have said that grab() isn't supposed to work
> >for windows not descended from the "main" window.
> 
> Yes, I do disagree. If that was true, none of the popup menus would  
> work in FLTK. But they do, don't they? grab() is also used to make  
> buttons work correctly (you can press a button, then drag the mouse  
> all over, then release the mouse button somewhere, and the pushbutton  
> will still get the release event).

Ok, looks like I wasnt clear and looks like things are going in wrong
direction :-) Matt, as you know, there is no way to report
fltk events (FL_PUSH) via Fl::grab() clicking on borders of window manager. 
If I'm wrong, then I would be glad to correct my knowledge :-)

Yes, I made explaination mistake :-); trying to keep thing simple, I
skipped all the gory details, which was wrong since introduced more
confusion. Matt (as I can see) already explained meaning of "subwindow",
and it was mistake skipping popup() windows and windows not reparented
inside main window.

On other hand, _all_ of them are kept inside internal tree (khm... to be
precise list ;-), just to make sure I will not be missinterpreted again) 
and as long fltk knows about them, fltk and you can do
whatever you want. For those outside, you can't. As sample: can you
receive running Mozilla/fluid events inside your application ?

> Do you disagree?

For me looks much better to mail person from you are expecting answer or
title post with "[XY can you answer me]" instead to repost questions
testing truth of given answers :-P.

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

Reply via email to