Re: Problems with accelerators.

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

 



Hi.

> I have some problems with accelerators. What do I need to do make an action
> fire when I press the * symbol? If I use for accelerator the GDK_asterisk
> define then the action is fired only when I press shift+8. I want it to fire
> when I press the * symbol in the numpad TOO. The same goes for /,+,- . What
> do I need to do to achieve this? Are there special "define"s in
> gdk/gdkkeysyms.h?

There are special defines in gdkkeysyms.h file:
* - GDK_KP_Multiply
/ - GDK_KP_Divide
+ - GDK_KP_Add
- - GDK_KP_Substract

> Also what defines should I use for these symbols: ^(shift+6), | (pipe)?

Not sure about these ones, but my advice would be not to use them. ^
might be mapped to shift+6 on your keyboard layout, but usually things
are much more complicated on other international layouts (for example,
on my Slovenian keyboard layout, ^ can only be displayed by pressing
"AltGr+3" and "space" - yes, it takes 2 steps and 3 keys to get this
single character).

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro@xxxxxxxxx
tadej.borovsak@xxxxxxxxx
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux