On Friday 21 June 2002 11:43 am, John Levon wrote:
> On Fri, Jun 21, 2002 at 05:11:44PM +0900, R. Lahaye wrote:
> > 2. The Reconfigure item jumps from the Edit menu to Tools menu upon
> > loading a document. This is not nice. How about fixing its location under
> > the File menu? Right in front of the Exit item.
>
> Yes, good point. I'm not sure that the File solution is the best one
> though. iirc, the reason that lyx hides menubar items is that xforms has
> no way to shade (show disabled) a menubar item. I'd much prefer to stick
> with the traditional approach of showing all the items, but leaving
> them shaded, if it's possible.

Sure it does. These are just buttons:
                obj = fl_add_button(FL_MENU_BUTTON, ...);
Use 
        setEnabled(obj, false);

A

Reply via email to