Class: Wx::KeyModifier

Inherits:
Enum
  • Object
show all
Defined in:
lib/wx/doc/gen/defs.rb

Overview

This enum contains bit mask constants used in KeyEvent.

Constant Summary collapse

MOD_NONE =
Wx::KeyModifier.new(0)
MOD_ALT =
Wx::KeyModifier.new(1)
MOD_CONTROL =

Ctlr Key, corresponds to Command key on macOS.

Wx::KeyModifier.new(2)
MOD_ALTGR =
Wx::KeyModifier.new(3)
MOD_SHIFT =
Wx::KeyModifier.new(4)
MOD_META =
Wx::KeyModifier.new(8)
MOD_WIN =
Wx::KeyModifier.new(8)
MOD_RAW_CONTROL =

used to describe the true Ctrl Key under macOS, identic to MOD_CONTROL on other platforms

Wx::KeyModifier.new(2)
MOD_CMD =

deprecated, identic to MOD_CONTROL on all platforms

Wx::KeyModifier.new(2)
MOD_ALL =
Wx::KeyModifier.new(65535)