Re: [Gtk-osx-users] Glade doesn't allow changing og accel keys



On Jun 7, 2011, at 4:54 PM, Richard Procter wrote:

> Hi Dwayne, 
> 
> On 7/06/2011, at 4:49 PM, Dwayne Bailey wrote:
> 
>> I was wondering if anyone had had experience overriding accel_path 
>> mapping in glade files?
> 
> My understanding is that glade keybinding definitions are implemented in the lower level (?) AccelGroup mechanism, not the AccelMap. 
> 
> This bit me when implementing an automatic translation of my application's keybindings for OS X: AccelGroups keep their key->callback mapping private as far as I can tell.  

Are you guys sure you're not confusing Accelerators (for menus) with Bindings (for buttons and other stuff)?
Accelerators are customized with AccelMaps -- regardless of whether they're created in directly in code or with GtkBuilder and xml files. Bindings are customized with gtkrc files.

Regards,
John Ralls





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