> I try to make a menu wich include a submenu. But this submenu must be 
> dynamic. For instance
> 
> File
>       Open
>       Recents
>               File1.cpp
>               test.txt
>       Save
> ...
> 
> The submenu "recents" depends on the context. I try to name my menu 
> "Recents", and the to set "flags" and "user_data" fields but 
> the submenu 
> remains void. I point out that my main menu is build with fluid.
> 
> Any idea ?

I suggest you start with Greg's examples here:

http://www.seriss.com/people/erco/fltk/#Fl_Menu_Bar

And work you way from there...





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