[Mono-dev] GTK Mac - keyboard short-cuts with AccelMap

Dimitar Dobrev dpldobrev at yahoo.com
Fri Dec 10 02:47:09 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 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-tp3081514p3081514.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list