Module: Gdk::ModifierIntent

Defined in:
(unknown)

Constant Summary collapse

PRIMARY_ACCELERATOR =

the primary modifier used to invoke

menu accelerators.
0 or :primary_accelerator
CONTEXT_MENU =

the modifier used to invoke context menus.

Note that mouse button 3 always triggers context menus. When this modifier
is not 0, it additionally triggers context menus when used with mouse button 1.
1 or :context_menu
EXTEND_SELECTION =

the modifier used to extend selections

using `modifier`-click or `modifier`-cursor-key
2 or :extend_selection
MODIFY_SELECTION =

the modifier used to modify selections,

which in most cases means toggling the clicked item into or out of the selection.
3 or :modify_selection
NO_TEXT_INPUT =

when any of these modifiers is pressed, the

key event cannot produce a symbol directly. This is meant to be used for
input methods, and for use cases like typeahead search.
4 or :no_text_input
SHIFT_GROUP =

the modifier that switches between keyboard

groups (AltGr on X11/Windows and Option/Alt on OS X).
5 or :shift_group
DEFAULT_MOD_MASK =

The set of modifier masks accepted as modifiers in accelerators. Needed because Command is mapped to MOD2 on OSX, which is widely used, but on X11 MOD2 is NumLock and using that for a mod key is problematic at best. Ref: bugzilla.gnome.org/show_bug.cgi?id=736125.

6 or :default_mod_mask