Re: [Gtk-osx-users] accelerator problem with GtkOSXApplication



On Feb 14, 2011, at 4:14 AM, Olivier Sessink wrote:

>> Accelerator mapping in GtkOSXApplication is handled the Gtk way, with GtkAccelMaps. This is mentioned in the GtkOSXApplication documentation.
>> 
>> Option/Alt is handled a bit too generically in gdk-quartz, where it's used for i18n regardless of context and consequently ignored when used as an accelerator. Ideally this handling should only occur in the input method, but I haven't figured out how to do that yet and Kristian Reitveld doesn't think it's important enough to do anything about. If anyone knows enough about the simple input method to write a patch to fix this it would be most welcome. Post it to https://bugzilla.gnome.org/show_bug.cgi?id=617583.
>> 
> 
> so what are my options if I do not know the details about input
> methods? I can go back to ige-mac-integration and try to get my menu
> problem solved, but that seems to be a step backwards.. Are there
> other options? Converting the shortcuts in the application code
> somehow?

Like I said, GtkAccelMaps: http://library.gnome.org/devel/gtk/stable/gtk-Accelerator-Maps.html

There's even an example in test-integration.

Learn to use your tools!

Regards,
John Ralls





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