[grisbi-bugs] [Grisbi 0002084]: Utiliser Cmd-? plutôt que F1 pour affichier le manuel

Grisbi Bug Tracker bugtracker at grisbi.org
Dim 3 Jan 16:17:02 CET 2021


A NOTE has been added to this issue.

---------------------------------------------------------------------- 
 (0005842) pbiava (administrator) - 2021-01-03 16:17
 https://www.grisbi.org/bugsreports/view.php?id=2084#c5842 
---------------------------------------------------------------------- 
Ludovic j'ai fait une modif qui permet d'utiliser la touche "window" gauche de
mon clavier associé à "?" pour lancer le manuel. Ça ne fonctionne que si on a
sélectionné une transaction. Si on trouve on étendra.

Sur Mac OSX je ne sais pas si j'ai choisi le bon modifieur (GDK_SUPER_MASK). Si
ça ne fonctionne pas essaye avec GDK_MOD2_MASK. Si ça ne fonctionne toujours
pas il faudrait avoir le code du bon modifieur pour le trouver dans la liste
ci-dessous :
enum GdkModifierType

A set of bit-flags to indicate the state of modifier keys and mouse buttons in
various event types. Typical modifier keys are Shift, Control, Meta, Super,
Hyper, Alt, Compose, Apple, CapsLock or ShiftLock.

Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons.

Since 2.10, GDK recognizes which of the Meta, Super or Hyper keys are mapped to
Mod2 - Mod5, and indicates this by setting GDK_SUPER_MASK, GDK_HYPER_MASK or
GDK_META_MASK in the state field of key events.

Note that GDK may add internal values to events which include reserved values
such as GDK_MODIFIER_RESERVED_13_MASK. Your code should preserve and ignore
them. You can use GDK_MODIFIER_MASK to remove all reserved values.

Also note that the GDK X backend interprets button press events for button 4-7
as scroll events, so GDK_BUTTON4_MASK and GDK_BUTTON5_MASK will never be set.

Members

GDK_SHIFT_MASK 
GDK_LOCK_MASK
GDK_CONTROL_MASK 
GDK_MOD1_MASK
GDK_MOD2_MASK
GDK_MOD3_MASK
GDK_MOD4_MASK
GDK_MOD5_MASK
GDK_BUTTON1_MASK 
GDK_BUTTON2_MASK 
GDK_BUTTON3_MASK
GDK_BUTTON4_MASK
GDK_BUTTON5_MASK
GDK_MODIFIER_RESERVED_13_MASK
GDK_MODIFIER_RESERVED_14_MASK
GDK_MODIFIER_RESERVED_15_MASK
GDK_MODIFIER_RESERVED_16_MASK
GDK_MODIFIER_RESERVED_17_MASK
GDK_MODIFIER_RESERVED_18_MASK
GDK_MODIFIER_RESERVED_19_MASK
GDK_MODIFIER_RESERVED_20_MASK
GDK_MODIFIER_RESERVED_21_MASK
GDK_MODIFIER_RESERVED_22_MASK
GDK_MODIFIER_RESERVED_23_MASK
GDK_MODIFIER_RESERVED_24_MASK
GDK_MODIFIER_RESERVED_25_MASK
GDK_SUPER_MASK
GDK_HYPER_MASK
GDK_META_MASK 
GDK_MODIFIER_RESERVED_29_MASK
GDK_RELEASE_MASK 
GDK_MODIFIER_MASK
----------------------------------------------------------------------
Attached Files:
- gsb_transactions_list.c (160,085 bytes)
----------------------------------------------------------------------



Plus d'informations sur la liste de diffusion bugsreports