>
> I don't know - I guess grab() eats all the keyboard input, including
> navigation options?=20
> Still, if the intended use of grab() is for pop-up menus, I guess you
> would expect navigation within the pop-up to still work...

That's what I was hoping.

>
> OK, I just ran your example - for me, I can cursor and/or tab between
> the three buttons - so it looks as if keyboard navigation *is* still
> working. What is it that you are seeing?

Really?  If I run it with a command line argument there's definately
no navigation amongst the buttons.  Maybe this is a platform/version
thing.

>
>
>
> >         win.show();     // sidebar: how come putting this
> >                         // below causes crash?
> >         if(argc > 1) {
> >                 Fl::grab(&win);
> >         }
> >         // win.show();
>
>
> I'd hazard that this is a problem because your window has never been
> shown at all (if called the other way) so probably doesn't really exist
> yet...
> The grab() docs say "The window does not have to be shown()" but I think
> it maybe has to have been shown at some point for the grab to work OK.
> Or maybe not...?

  I don't follow you -- the window is shown() in both modes I think.

>
> Also, the docs say "under both X and WIN32 some window must be mapped
> because the system interface needs a window id" which I guess would
> certainly apply in your case, since there is only the one window?
>

  Yeah, I saw that, but it just caused my eyes to glaze over :)
  What does it mean?

>
> SELEX Sensors and Airborne Systems Limited
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex=
>  SS14 3EL
> A company registered in England & Wales.  Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>

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

Reply via email to