RE: Problems with accelerators.

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

 



> From: tadeboro@xxxxxxxxx
> Date: Fri, 18 Jun 2010 19:13:58 +0200
> Subject: Re: Problems with accelerators.
> To: sledgehammer_999@xxxxxxxxxxx
> CC: gtk-list@xxxxxxxxx
>
> 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
>

I want the action to fire to both key-presses, both with GDK_asterisk(in my keyboard shift+8) and GDK_KP_Multiply (in numpad).
Is this even possible?



> > 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


Hotmail: Ισχυρό, δωρεάν email με ασφάλεια από τη Microsoft. Αποκτήστε το τώρα.
_______________________________________________
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