On 12 Dec 2009, at 14:34, Moses O McKnight wrote:

> How do you make a toolbar with buttons in fltk 1.3?  In fltk 2.0 I can
> just add buttons to a menubar...

I'm not sure what you mean by toolbar in this context....

- If you mean something like a menu bar but with buttons on it, I  
don't the the fltk 1.x API supports adding buttons to a menu bar, so  
you need to make an Fl_Group where your menu bar would be and  
populate that instead with your buttons, menus and so forth.

- If you mean a free-floating tool palette, you need to make that as  
a (usually non-modal) window and then fill that with your buttons in  
the usual way.

Are either of these any good to you?
Or are you looking for something else (and if so can you clarify  
further) ?




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

Reply via email to