Re: Menu Accelerators




Federico Mena Quintero <federico@nuclecu.unam.mx> writes:

> >  Is there any way to bind an accelerator to show a submenu? I want
> >  to be able to hit ^f or meta-f and have the file menu pop up, kinda
> >  like m$-windows. I've been trying to work it into the gnome menu
> >  thing, which is just an overlay for gtk's menu factory, but so far
> >  nothing has worked :/
> 
> GnomeAppHelper already supports this.  When you want an underlined
> accelerator key, just put a "_" before the letter you want
> underlined.  So you would have the "_File" menu, the "Save _as..."
> item, etc.

Let me point out that this is also supported by the standard
GtkItemFactory, present in the development GTK+-1.1 series.

(GNOME also requires GTK+-1.1)

Regards,
                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]