On Jul 17, 2007, at 1:18 AM, Suja wrote:

> Hi,
> I know the subject is very vague..let me try to expand on it.
> I have a menu bar defined as
> Fl_Menu_Bar* o = new Fl_Menu_Bar(35, 8, 130, 20);
> o->add("Load/1st image",0,callback);
>
> Eventhough the button is 130 long in the x-dimension, the button is  
> active
> only where Load is shown. How can I make the whole button active  
> for mouse clicking, not just where 'Load is written'?

Menu_Bars can have multiple titles and are only active where the  
title is displayed, just like on every other GUI. Fl_Choice is active  
across the entire width, but has only a single menu attached to it.
----
http://robowerk.com/


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

Reply via email to