Re: dynamic menu shortcut allocation in gtk+ 1.2



<timecop japan co jp> writes:
> This feature seems absolutely unnecessary for my application.  The goal I
> am trying to achieve is a consistent user inteface, and changing shortcuts
> is out of the question.
> 
> I would like to know how to disable this feature, immediately after the
> application starts, for each new menu that is created.
> 
> Thank you very much
> 

You call gtk_accel_group_lock() on the accel group to disable this, I
believe.

It will probably be turned off by default in GTK 2.

Havoc




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