]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/keycode.tex
removed non-const wxDC accessors for pens, brushes, ... (bug 1039169)
[wxWidgets.git] / docs / latex / wx / keycode.tex
1 \section{Keycodes}\label{keycodes}
2
3 Keypresses are represented by an enumerated type, wxKeyCode. The possible
4 values are the ASCII character codes, plus the following:
5
6 {\small
7 \begin{verbatim}
8 WXK_BACK = 8
9 WXK_TAB = 9
10 WXK_RETURN = 13
11 WXK_ESCAPE = 27
12 WXK_SPACE = 32
13 WXK_DELETE = 127
14
15 WXK_START = 300
16 WXK_LBUTTON
17 WXK_RBUTTON
18 WXK_CANCEL
19 WXK_MBUTTON
20 WXK_CLEAR
21 WXK_SHIFT
22 WXK_CONTROL
23 WXK_MENU
24 WXK_PAUSE
25 WXK_CAPITAL
26 WXK_PRIOR
27 WXK_NEXT
28 WXK_END
29 WXK_HOME
30 WXK_LEFT
31 WXK_UP
32 WXK_RIGHT
33 WXK_DOWN
34 WXK_SELECT
35 WXK_PRINT
36 WXK_EXECUTE
37 WXK_SNAPSHOT
38 WXK_INSERT
39 WXK_HELP
40 WXK_NUMPAD0
41 WXK_NUMPAD1
42 WXK_NUMPAD2
43 WXK_NUMPAD3
44 WXK_NUMPAD4
45 WXK_NUMPAD5
46 WXK_NUMPAD6
47 WXK_NUMPAD7
48 WXK_NUMPAD8
49 WXK_NUMPAD9
50 WXK_MULTIPLY
51 WXK_ADD
52 WXK_SEPARATOR
53 WXK_SUBTRACT
54 WXK_DECIMAL
55 WXK_DIVIDE
56 WXK_F1
57 WXK_F2
58 WXK_F3
59 WXK_F4
60 WXK_F5
61 WXK_F6
62 WXK_F7
63 WXK_F8
64 WXK_F9
65 WXK_F10
66 WXK_F11
67 WXK_F12
68 WXK_F13
69 WXK_F14
70 WXK_F15
71 WXK_F16
72 WXK_F17
73 WXK_F18
74 WXK_F19
75 WXK_F20
76 WXK_F21
77 WXK_F22
78 WXK_F23
79 WXK_F24
80 WXK_NUMLOCK
81 WXK_SCROLL
82 WXK_PAGEUP,
83 WXK_PAGEDOWN,
84
85 WXK_NUMPAD_SPACE,
86 WXK_NUMPAD_TAB,
87 WXK_NUMPAD_ENTER,
88 WXK_NUMPAD_F1,
89 WXK_NUMPAD_F2,
90 WXK_NUMPAD_F3,
91 WXK_NUMPAD_F4,
92 WXK_NUMPAD_HOME,
93 WXK_NUMPAD_LEFT,
94 WXK_NUMPAD_UP,
95 WXK_NUMPAD_RIGHT,
96 WXK_NUMPAD_DOWN,
97 WXK_NUMPAD_PRIOR,
98 WXK_NUMPAD_PAGEUP,
99 WXK_NUMPAD_NEXT,
100 WXK_NUMPAD_PAGEDOWN,
101 WXK_NUMPAD_END,
102 WXK_NUMPAD_BEGIN,
103 WXK_NUMPAD_INSERT,
104 WXK_NUMPAD_DELETE,
105 WXK_NUMPAD_EQUAL,
106 WXK_NUMPAD_MULTIPLY,
107 WXK_NUMPAD_ADD,
108 WXK_NUMPAD_SEPARATOR,
109 WXK_NUMPAD_SUBTRACT,
110 WXK_NUMPAD_DECIMAL,
111 WXK_NUMPAD_DIVIDE,
112
113 // the following key codes are only generated under Windows currently
114 WXK_WINDOWS_LEFT,
115 WXK_WINDOWS_RIGHT,
116 WXK_WINDOWS_MENU
117 \end{verbatim}
118 }
119