Class: Wx::KeyCode
Overview
Constant Summary collapse
- K_NONE =
No key.
Wx::KeyCode.new(0)
- K_CONTROL_A =
Wx::KeyCode.new(1)
- K_CONTROL_B =
Wx::KeyCode.new(2)
- K_CONTROL_C =
Wx::KeyCode.new(3)
- K_CONTROL_D =
Wx::KeyCode.new(4)
- K_CONTROL_E =
Wx::KeyCode.new(5)
- K_CONTROL_F =
Wx::KeyCode.new(6)
- K_CONTROL_G =
Wx::KeyCode.new(7)
- K_CONTROL_H =
Wx::KeyCode.new(8)
- K_CONTROL_I =
Wx::KeyCode.new(9)
- K_CONTROL_J =
Wx::KeyCode.new(10)
- K_CONTROL_K =
Wx::KeyCode.new(11)
- K_CONTROL_L =
Wx::KeyCode.new(12)
- K_CONTROL_M =
Wx::KeyCode.new(13)
- K_CONTROL_N =
Wx::KeyCode.new(14)
- K_CONTROL_O =
Wx::KeyCode.new(15)
- K_CONTROL_P =
Wx::KeyCode.new(16)
- K_CONTROL_Q =
Wx::KeyCode.new(17)
- K_CONTROL_R =
Wx::KeyCode.new(18)
- K_CONTROL_S =
Wx::KeyCode.new(19)
- K_CONTROL_T =
Wx::KeyCode.new(20)
- K_CONTROL_U =
Wx::KeyCode.new(21)
- K_CONTROL_V =
Wx::KeyCode.new(22)
- K_CONTROL_W =
Wx::KeyCode.new(23)
- K_CONTROL_X =
Wx::KeyCode.new(24)
- K_CONTROL_Y =
Wx::KeyCode.new(25)
- K_CONTROL_Z =
Wx::KeyCode.new(26)
- K_BACK =
Backspace.
Wx::KeyCode.new(8)
- K_TAB =
Wx::KeyCode.new(9)
- K_RETURN =
Wx::KeyCode.new(13)
- K_ESCAPE =
Wx::KeyCode.new(27)
- K_SPACE =
Wx::KeyCode.new(32)
- K_DELETE =
Wx::KeyCode.new(127)
- K_START =
Special key values.
Wx::KeyCode.new(300)
- K_LBUTTON =
Wx::KeyCode.new(301)
- K_RBUTTON =
Wx::KeyCode.new(302)
- K_CANCEL =
Wx::KeyCode.new(303)
- K_MBUTTON =
Wx::KeyCode.new(304)
- K_CLEAR =
Wx::KeyCode.new(305)
- K_SHIFT =
Wx::KeyCode.new(306)
- K_ALT =
Wx::KeyCode.new(307)
- K_CONTROL =
Note that under macOS, to improve compatibility with other systems, ‘K_CONTROL’ represents the ‘Command’ key.
Wx::KeyCode.new(308)
- K_RAW_CONTROL =
Under macOS, where the ‘Command’ key is mapped to ‘Control’ to improve compatibility with other systems, K_RAW_CONTROL may be used to obtain the state of the actual ‘Control’ key (‘K_CONTROL’ would obtain the status of the ‘Command’ key).
Wx::KeyCode.new(308)
- K_MENU =
Wx::KeyCode.new(309)
- K_PAUSE =
Wx::KeyCode.new(310)
- K_CAPITAL =
Wx::KeyCode.new(311)
- K_END =
Wx::KeyCode.new(312)
- K_HOME =
Wx::KeyCode.new(313)
- K_LEFT =
Wx::KeyCode.new(314)
- K_UP =
Wx::KeyCode.new(315)
- K_RIGHT =
Wx::KeyCode.new(316)
- K_DOWN =
Wx::KeyCode.new(317)
- K_SELECT =
Wx::KeyCode.new(318)
- K_PRINT =
Wx::KeyCode.new(319)
- K_EXECUTE =
Wx::KeyCode.new(320)
- K_SNAPSHOT =
Wx::KeyCode.new(321)
- K_INSERT =
Wx::KeyCode.new(322)
- K_HELP =
Wx::KeyCode.new(323)
- K_NUMPAD0 =
Wx::KeyCode.new(324)
- K_NUMPAD1 =
Wx::KeyCode.new(325)
- K_NUMPAD2 =
Wx::KeyCode.new(326)
- K_NUMPAD3 =
Wx::KeyCode.new(327)
- K_NUMPAD4 =
Wx::KeyCode.new(328)
- K_NUMPAD5 =
Wx::KeyCode.new(329)
- K_NUMPAD6 =
Wx::KeyCode.new(330)
- K_NUMPAD7 =
Wx::KeyCode.new(331)
- K_NUMPAD8 =
Wx::KeyCode.new(332)
- K_NUMPAD9 =
Wx::KeyCode.new(333)
- K_MULTIPLY =
Wx::KeyCode.new(334)
- K_ADD =
Wx::KeyCode.new(335)
- K_SEPARATOR =
Wx::KeyCode.new(336)
- K_SUBTRACT =
Wx::KeyCode.new(337)
- K_DECIMAL =
Wx::KeyCode.new(338)
- K_DIVIDE =
Wx::KeyCode.new(339)
- K_F1 =
Wx::KeyCode.new(340)
- K_F2 =
Wx::KeyCode.new(341)
- K_F3 =
Wx::KeyCode.new(342)
- K_F4 =
Wx::KeyCode.new(343)
- K_F5 =
Wx::KeyCode.new(344)
- K_F6 =
Wx::KeyCode.new(345)
- K_F7 =
Wx::KeyCode.new(346)
- K_F8 =
Wx::KeyCode.new(347)
- K_F9 =
Wx::KeyCode.new(348)
- K_F10 =
Wx::KeyCode.new(349)
- K_F11 =
Wx::KeyCode.new(350)
- K_F12 =
Wx::KeyCode.new(351)
- K_F13 =
Wx::KeyCode.new(352)
- K_F14 =
Wx::KeyCode.new(353)
- K_F15 =
Wx::KeyCode.new(354)
- K_F16 =
Wx::KeyCode.new(355)
- K_F17 =
Wx::KeyCode.new(356)
- K_F18 =
Wx::KeyCode.new(357)
- K_F19 =
Wx::KeyCode.new(358)
- K_F20 =
Wx::KeyCode.new(359)
- K_F21 =
Wx::KeyCode.new(360)
- K_F22 =
Wx::KeyCode.new(361)
- K_F23 =
Wx::KeyCode.new(362)
- K_F24 =
Wx::KeyCode.new(363)
- K_NUMLOCK =
Wx::KeyCode.new(364)
- K_SCROLL =
Wx::KeyCode.new(365)
- K_PAGEUP =
Wx::KeyCode.new(366)
- K_PAGEDOWN =
Wx::KeyCode.new(367)
- K_NUMPAD_SPACE =
Wx::KeyCode.new(368)
- K_NUMPAD_TAB =
Wx::KeyCode.new(369)
- K_NUMPAD_ENTER =
Wx::KeyCode.new(370)
- K_NUMPAD_F1 =
Wx::KeyCode.new(371)
- K_NUMPAD_F2 =
Wx::KeyCode.new(372)
- K_NUMPAD_F3 =
Wx::KeyCode.new(373)
- K_NUMPAD_F4 =
Wx::KeyCode.new(374)
- K_NUMPAD_HOME =
Wx::KeyCode.new(375)
- K_NUMPAD_LEFT =
Wx::KeyCode.new(376)
- K_NUMPAD_UP =
Wx::KeyCode.new(377)
- K_NUMPAD_RIGHT =
Wx::KeyCode.new(378)
- K_NUMPAD_DOWN =
Wx::KeyCode.new(379)
- K_NUMPAD_PAGEUP =
Wx::KeyCode.new(380)
- K_NUMPAD_PAGEDOWN =
Wx::KeyCode.new(381)
- K_NUMPAD_END =
Wx::KeyCode.new(382)
- K_NUMPAD_BEGIN =
Wx::KeyCode.new(383)
- K_NUMPAD_INSERT =
Wx::KeyCode.new(384)
- K_NUMPAD_DELETE =
Wx::KeyCode.new(385)
- K_NUMPAD_EQUAL =
Wx::KeyCode.new(386)
- K_NUMPAD_MULTIPLY =
Wx::KeyCode.new(387)
- K_NUMPAD_ADD =
Wx::KeyCode.new(388)
- K_NUMPAD_SEPARATOR =
Wx::KeyCode.new(389)
- K_NUMPAD_SUBTRACT =
Wx::KeyCode.new(390)
- K_NUMPAD_DECIMAL =
Wx::KeyCode.new(391)
- K_NUMPAD_DIVIDE =
Wx::KeyCode.new(392)
- K_WINDOWS_LEFT =
The following key codes are only generated under Windows currently.
Wx::KeyCode.new(393)
- K_WINDOWS_RIGHT =
Wx::KeyCode.new(394)
- K_WINDOWS_MENU =
Wx::KeyCode.new(395)
- K_COMMAND =
This special key code was used to represent the key used for keyboard shortcuts.
Wx::KeyCode.new(308)
- K_SPECIAL1 =
Hardware-specific buttons.
Wx::KeyCode.new(397)
- K_SPECIAL2 =
Wx::KeyCode.new(398)
- K_SPECIAL3 =
Wx::KeyCode.new(399)
- K_SPECIAL4 =
Wx::KeyCode.new(400)
- K_SPECIAL5 =
Wx::KeyCode.new(401)
- K_SPECIAL6 =
Wx::KeyCode.new(402)
- K_SPECIAL7 =
Wx::KeyCode.new(403)
- K_SPECIAL8 =
Wx::KeyCode.new(404)
- K_SPECIAL9 =
Wx::KeyCode.new(405)
- K_SPECIAL10 =
Wx::KeyCode.new(406)
- K_SPECIAL11 =
Wx::KeyCode.new(407)
- K_SPECIAL12 =
Wx::KeyCode.new(408)
- K_SPECIAL13 =
Wx::KeyCode.new(409)
- K_SPECIAL14 =
Wx::KeyCode.new(410)
- K_SPECIAL15 =
Wx::KeyCode.new(411)
- K_SPECIAL16 =
Wx::KeyCode.new(412)
- K_SPECIAL17 =
Wx::KeyCode.new(413)
- K_SPECIAL18 =
Wx::KeyCode.new(414)
- K_SPECIAL19 =
Wx::KeyCode.new(415)
- K_SPECIAL20 =
Wx::KeyCode.new(416)
- K_BROWSER_BACK =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(417)
- K_BROWSER_FORWARD =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(418)
- K_BROWSER_REFRESH =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(419)
- K_BROWSER_STOP =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(420)
- K_BROWSER_SEARCH =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(421)
- K_BROWSER_FAVORITES =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(422)
- K_BROWSER_HOME =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(423)
- K_VOLUME_MUTE =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(424)
- K_VOLUME_DOWN =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(425)
- K_VOLUME_UP =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(426)
- K_MEDIA_NEXT_TRACK =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(427)
- K_MEDIA_PREV_TRACK =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(428)
- K_MEDIA_STOP =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(429)
- K_MEDIA_PLAY_PAUSE =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(430)
- K_LAUNCH_MAIL =
Since wxWidgets 3.1.0.
Wx::KeyCode.new(431)
- K_LAUNCH_APP1 =
First application launch key.
Wx::KeyCode.new(442)
- K_LAUNCH_APP2 =
Second application launch key.
Wx::KeyCode.new(443)
- K_LAUNCH_0 =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(432)
- K_LAUNCH_1 =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(433)
- K_LAUNCH_2 =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(434)
- K_LAUNCH_3 =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(435)
- K_LAUNCH_4 =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(436)
- K_LAUNCH_5 =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(437)
- K_LAUNCH_6 =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(438)
- K_LAUNCH_7 =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(439)
- K_LAUNCH_8 =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(440)
- K_LAUNCH_9 =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(441)
- K_LAUNCH_A =
Available since wxWidgets 3.1.6, generated by WXGTK and WXMSW.
Wx::KeyCode.new(442)
- K_LAUNCH_B =
Available since wxWidgets 3.1.6, generated by WXGTK and WXMSW.
Wx::KeyCode.new(443)
- K_LAUNCH_C =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(444)
- K_LAUNCH_D =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(445)
- K_LAUNCH_E =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(446)
- K_LAUNCH_F =
Available since wxWidgets 3.1.6 and only generated by WXGTK.
Wx::KeyCode.new(447)
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