On 22.08.2011, at 11:37, asif saeed wrote:

> That's all very well. But I mean menus get created on arrays and they have
> to be found using strings. If they got created dynamically on heap using a
> linked list structures then any menu/menu item/menu bar could be accessed
> directly via object pointers. That's what I meant. But anyway, I think I can
> maintain this structure myself.

FLTK 1 uses arrays to manage pulldown menus. This is for compatibility with 
FLTk 1.0.0 (and The Forms Library). Future versions will use widgets. The code 
is already in FLTK 2 and will get ported to FLTK 3 quite soon.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to