>
> By the "window's frame" do you mean the window border and
> decorations? They are created by (and belong to) the window manager,
> not by fltk, so events that go to them are handled by the window
> manager... Ditto all events outside your window.
Yes, that's right.
>
> Depending on the platform you are on, it might be possible to recover
> those events in your app (erm, somehow...) but generally fltk only
> deals with those events that go to a fltk window or widget. I don't
> think there's any reliable cross-platform way to recover other events
> "external" to your window.
> I wonder if the ::grab() functions might help, though? I don't know,
> but I guess not...
In my example I set grab() to the subwindow.
Quoting the prophet:
Fl_Window* grab();
void grab(Fl_Window&w) {grab(&w);}
This is used when pop-up menu systems are active.
Send all events to the passed window no matter where the
pointer or focus is (including in other programs). (etc)
Doesn't that mean it's supposed to get events external to the window?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk