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)

Method Summary

Methods inherited from Enum

#!, #&, #<=>, #allbits?, #anybits?, #coerce, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, #real?, #succ, #to_int, #to_s, #|, #~

Constructor Details

This class inherits a constructor from Wx::Enum

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Wx::Enum