[Gtk-sharp-list] GTK Mac - keyboard short-cuts with AccelMap

Dimitar Dobrev dpldobrev at yahoo.com
Thu Dec 9 08:17:35 EST 2010


    Hi. I'd like to extend a functionality for editing key short-cuts to Mac
OS X by using AccelMap (for backward compatibility). However, as you know,
GTK makes extremely strange key mappings like "Meta" = "Alt" and "Alt" =
"Mod5", as well as other abnormal behaviour like "Shift + Alt + key"
interpreted as "Alt + key". I have already seen MonoDevelop but it does not
use AccelMap but rather its own format. I have the following questions:

    1. I was able to build a GTK that works in this regard by using 
http://sourceforge.net/apps/trac/gtk-osx/wiki/Build GTK-OSX , but GTK#
cannot work with it (segmentation faults, DllNotFoundException, etc.); is it
possible for me to build my own GTK# that makes use of my GTK-OSX build?
    2. If I am forced to use the current GTK#, how can I detect if Shift is
pressed besides Alt (please remember that I have to use AccelMap)?

Thank you.
-- 
View this message in context: http://mono.1490590.n4.nabble.com/GTK-Mac-keyboard-short-cuts-with-AccelMap-tp3080126p3080126.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.


More information about the Gtk-sharp-list mailing list