Re: [g-a-devel]Clarification on gtkoptionmenu keynav.



Calum Benson <calum benson sun com> writes:
> Narayana Pattipati wrote:
> > 
> > > The only thing it might interfere with is the ability to dynamically
> > > assign Home or End as a menu shortcut at runtime.  (In gtk, you can
> > > change menu shortcuts by focusing a menu item, then pressing the key you
> > > want to be the shortcut for that menu item).  If it does interfere, I'm
> > > not sure what should get priority-- probably the shortcut assignment, if
> > > that feature is turned on (I think it's off by default in gtk-2.0).
> > 
> >   How do I set the dynamic key assignment feature on/off.?? Can somebody
> >   tell me the flag(s) used in the source code which corresponds to this
> >   feature. ??
> 
> I don't know what mechanism was finally decided on for this, actually...
> Havoc should be able to tell you though.
> 

The user can turn it on/off via a setting in ~/.gtkrc-2.0
"gtk-can-change-accels = 0" or "= 1"

For option menus it's always off though. (I don't know if you're
talking about option menus, other than Subject:)

Havoc



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