Re: [gtk-osx-users] Switching keyboard layouts with Alt+Cmd+Space



It seems like we want to change the way we do events so that rather than just emitting a signal to all interested parts of the application, we emit a signal and get a response from the listeners that tells whether they actually did anything in response to the signal.

I haven't investigated further to see if this can be done without breaking ABI.


On Sun, Jan 19, 2014 at 12:02 PM, Andrius <andriusr yahoo com> wrote:
John,
I do not expect that my patch will be accepted, like other patches for 711019, so I did not submit it there.
I just wanted to show, how this particular problem of Alt+Cmd+Space not working on gtk-osx applications can be solved. It shows how to switch keyboard layouts manually, using Carbon framework.
If You, as maintainer of gtk-osx, will find this useful, feel free to incorporate it in some place.
Cmd+M minimizes window, while Cmd+H hides application. As far as I know there is special function to enable them in gtk-mac-integration, gtkosx_application_set_use_quartz_accelerators (). There should be some code handling them, since without executing gtkosx_application_set_use_quartz_accelerators () they do not work on my system.
Andrius






The patch and most of the commentary belong on the bug, not here. Patches in particular shouldn't be sent to mailing lists, they just get lost.

Note, however, that the patch in 711019 was withdrawn once the author understood how Gdk event handling interacts with the CFRunLoop. 

What specifically are you talking about for CMD-M and CMD-H? I don't recall any special code in gtk-mac-integration for either.

Regards,
John Ralls




_______________________________________________
Gtk-osx-users-list mailing list
Gtk-osx-users-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list




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