Hi Ian,
your guess concerning a popup menu is right.
I examined Greg's Menu_Bar examples, but couldn't find anything that suits my 
needs - he describes how to access Fl_Menu_Items in a menu, but not how to 
dynamically add them.
I'm sharing your view, that I'm using add() in the wrong way - but which would 
be the right one?

greetings
testalucida

>
> When you say popup menu, what do you mean?
>
> I take that to mean a menu that appears, e.g. in response to a right
> click, not attached to a menu_bar - is that what you are asking about?
>
> > Does somebody have a tip for me how to build a menu dynamically?
>
> Did you check Greg's examples?
> He usually has something - try:
>
> http://www.seriss.com/people/erco/fltk/#Fl_Menu_Bar=20
>
> And so forth, see if that helps.
>
>
> > And what is that add() method good for when I can't use it?
>
> It is good for building menus dynamically, but it would appear you may
> be using it wrong.
> Again, look at Greg's examples and take a browse through the docs... I'm
> sure you will figure it out.
>
>
>
>
>
> SELEX Galileo Ltd
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS=
> 14 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