> It seems that pulldown() doesn't return until I press Esc, and
> handle(FL_LEAVE) doesn't get called until then.

Yup - this seems to be a "weakness" here; we have the pulldown method which 
allows us to programmatically show the menu, but I can't see an equivalent 
method to ask the menu to close again, programmatically...

I tried a few tests around your code, and what I wanted was a method I could 
call to ask the menu to close again ("pushup" ?) in response to some event, 
e.g. a leave or similar... but...

Anyone?

I'm now thinking that creating a whole hierarchy of (borderless) dialog windows 
that pretend to be menus might actually be easier... and would respond to 
show/hide enter/leave etc... events...

Or...





********************************************************************
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