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
> 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:

There's even an example in test-integration.

Learn to use your tools!

John Ralls

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