Re: [Gtk-osx-users] ige-mac-integration - keyboard shortcut modifiers
- From: John Ralls <jralls ceridwen us>
- To: GTK+-2 OSX Users <gtk-osx-users lists sourceforge net>
- Subject: Re: [Gtk-osx-users] ige-mac-integration - keyboard shortcut modifiers
- Date: Fri, 17 Dec 2010 19:23:36 -0800
On Dec 17, 2010, at 2:27 PM, MaSch wrote:
> Hello folks,
>
> firstly I want to thank everyone involved for providing
> ige-mac-integration. It boosts usability a lot for the users.
>
> I'm currently integrating ige-mac-integration to an gtk+ osx port (C).
> I'm using gtkosxapplication instead of the old stuff ... I get the
> menubar and my notifications set-up - all fine,
> but I noticed that IF I use the old "ige_mac_menu_set_menu_bar"
> function, all my shortcuts get automatically mapped from Ctrl+a to Cmd+a
> and so on.
> Now like mentioned before I don't want to use the old API, so I try to
> use gtk_osxapplication_set_menu_bar which does not map the key modifiers
> automatically, but otherwise works fine too.
>
> Can I achieve the old maping behaviour with the new API somehow ? Or do
> I have to set the shortcuts manually, if so how do I do that ?
As I wrote in the documentation, "shortcuts" are handled the Gtk way: Accelerator maps for menus and Bindings for everything else.
Since you meet the mental prerequisites of being an experienced Gtk developer, I don't need to tell you any more. Right?
If that's not the case, don't worry: Both are well covered in the Gtk documentation.
Regards,
John Ralls
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]