1 \section{\class{wxGridEditorCreatedEvent
}}\label{wxgrideditorcreatedevent
}
3 \wxheading{Derived from
}
5 \helpref{wxCommandEvent
}{wxcommandevent
}\\
6 \helpref{wxEvent
}{wxevent
}\\
7 \helpref{wxObject
}{wxobject
}
9 \wxheading{Event handling
}
11 The event handler for the following functions takes a
12 \helpref{wxGridEditorCreatedEvent
}{wxgrideditorcreatedevent
} parameter.
13 The ...
\_CMD\_... variants also take a window identifier.
16 \begin{twocollist
}\itemsep=
0pt
17 \twocolitem{{\bf EVT
\_GRID\_EDITOR\_CREATED(func)
}}{The editor for a cell was created. Processes a wxEVT
\_GRID\_EDITOR\_CREATED.
}
18 \twocolitem{{\bf EVT
\_GRID\_CMD\_EDITOR\_CREATED(id, func)
}}{The editor for a cell was created; variant taking a window identifier. Processes a wxEVT
\_GRID\_EDITOR\_CREATED.
}
21 \latexignore{\rtfignore{\wxheading{Members
}}}
23 \membersection{wxGridEditorCreatedEvent::wxGridEditorCreatedEvent
}\label{wxgrideditorcreatedeventconstr
}
25 \func{}{wxGridEditorCreatedEvent
}{\void}
29 \func{}{wxGridEditorCreatedEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
30 \param{wxObject*
}{obj
},
\param{int
}{row
},
\param{int
}{col
},
\param{wxControl*
}{ctrl
}}
32 \membersection{wxGridEditorCreatedEvent::GetCol
}\label{wxgrideditorcreatedeventgetcol
}
34 \func{int
}{GetCol
}{\void}
36 Returns the column at which the event occurred.
38 \membersection{wxGridEditorCreatedEvent::GetControl
}\label{wxgrideditorcreatedeventgetcontrol
}
40 \func{wxControl*
}{GetControl
}{\void}
42 Returns the edit control.
44 \membersection{wxGridEditorCreatedEvent::GetRow
}\label{wxgrideditorcreatedeventgetrow
}
46 \func{int
}{GetRow
}{\void}
48 Returns the row at which the event occurred.
50 \membersection{wxGridEditorCreatedEvent::SetCol
}\label{wxgrideditorcreatedeventsetcol
}
52 \func{void
}{SetCol
}{\param{int
}{col
}}
54 Sets the column at which the event occurred.
56 \membersection{wxGridEditorCreatedEvent::SetControl
}\label{wxgrideditorcreatedeventsetcontrol
}
58 \func{void
}{SetControl
}{\param{wxControl*
}{ctrl
}}
60 Sets the edit control.
62 \membersection{wxGridEditorCreatedEvent::SetRow
}\label{wxgrideditorcreatedeventsetrow
}
64 \func{void
}{SetRow
}{\param{int
}{row
}}
66 Sets the row at which the event occurred.
68 \section{\class{wxGridEvent
}}\label{wxgridevent
}
70 This event class contains information about various grid events.
72 \wxheading{Derived from
}
74 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
75 \helpref{wxCommandEvent
}{wxcommandevent
}\\
76 \helpref{wxEvent
}{wxevent
}\\
77 \helpref{wxObject
}{wxobject
}
79 \wxheading{Include files
}
83 \wxheading{Event handling
}
87 \latexignore{\rtfignore{\wxheading{Members
}}}
89 \membersection{wxGridEvent::wxGridEvent
}\label{wxgrideventconstr
}
91 \func{}{wxGridEvent
}{\void}
95 \func{}{wxGridEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
\param{wxObject*
}{obj
},
96 \param{int
}{row = -
1},
\param{int
}{col = -
1},
\param{int
}{x = -
1},
\param{int
}{y = -
1},
97 \param{bool
}{sel = true
},
\param{bool
}{control = false
},
\param{bool
}{shift = false
},
98 \param{bool
}{alt = false
},
\param{bool
}{meta = false
}}
100 \wxheading{Parameters
}
102 \membersection{wxGridEvent::AltDown
}\label{wxgrideventaltdown
}
104 \func{bool
}{AltDown
}{\void}
106 Returns true if the Alt key was down at the time of the event.
108 \membersection{wxGridEvent::ControlDown
}\label{wxgrideventcontroldown
}
110 \func{bool
}{ControlDown
}{\void}
112 Returns true if the Control key was down at the time of the event.
114 \membersection{wxGridEvent::GetCol
}\label{wxgrideventgetcol
}
116 \func{int
}{GetCol
}{\void}
118 Column at which the event occurred.
120 \membersection{wxGridEvent::GetPosition
}\label{wxgrideventgetposition
}
122 \func{wxPoint
}{GetPosition
}{\void}
124 Position in pixels at which the event occurred.
126 \membersection{wxGridEvent::GetRow
}\label{wxgrideventgetrow
}
128 \func{int
}{GetRow
}{\void}
130 Row at which the event occurred.
132 \membersection{wxGridEvent::MetaDown
}\label{wxgrideventmetadown
}
134 \func{bool
}{MetaDown
}{\void}
136 Returns true if the Meta key was down at the time of the event.
138 \membersection{wxGridEvent::Selecting
}\label{wxgrideventselecting
}
140 \func{bool
}{Selecting
}{\void}
142 Returns true if the user deselected a cell, false if the user
145 \membersection{wxGridEvent::ShiftDown
}\label{wxgrideventshiftdown
}
147 \func{bool
}{ShiftDown
}{\void}
149 Returns true if the Shift key was down at the time of the event.
151 \section{\class{wxGridRangeSelectEvent
}}\label{wxgridrangeselectevent
}
153 \wxheading{Derived from
}
155 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
156 \helpref{wxCommandEvent
}{wxcommandevent
}\\
157 \helpref{wxEvent
}{wxevent
}\\
158 \helpref{wxObject
}{wxobject
}
160 \wxheading{Event handling
}
162 The event handler for the following functions takes a
163 \helpref{wxGridRangeSelectEvent
}{wxgridrangeselectevent
} parameter.
164 The ...
\_CMD\_... variants also take a window identifier.
167 \begin{twocollist
}\itemsep=
0pt
168 \twocolitem{{\bf EVT
\_GRID\_RANGE\_SELECT(func)
}}{The user selected a group of contiguous cells. Processes a wxEVT
\_GRID\_RANGE\_SELECT.
}
169 \twocolitem{{\bf EVT
\_GRID\_CMD\_RANGE\_SELECT(func)
}}{The user selected a group of contiguous cells; variant taking a window identifier. Processes a wxEVT
\_GRID\_RANGE\_SELECT.
}
172 \latexignore{\rtfignore{\wxheading{Members
}}}
174 \membersection{wxGridRangeSelectEvent::wxGridRangeSelectEvent
}\label{wxgridrangeselecteventconstr
}
176 \func{}{wxGridRangeSelectEvent
}{\void}
180 \func{}{wxGridRangeSelectEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
181 \param{wxObject*
}{obj
},
\param{const wxGridCellCoords\&
}{topLeft
},
182 \param{const wxGridCellCoords\&
}{bottomRight
},
\param{bool
}{sel = true
},
183 \param{bool
}{control = false
},
\param{bool
}{shift = false
},
\param{bool
}{alt = false
},
184 \param{bool
}{meta = false
}}
186 \membersection{wxGridRangeSelectEvent::AltDown
}\label{wxgridrangeselecteventaltdown
}
188 \func{bool
}{AltDown
}{\void}
190 Returns true if the Alt key was down at the time of the event.
192 \membersection{wxGridRangeSelectEvent::ControlDown
}\label{wxgridrangeselecteventcontroldown
}
194 \func{bool
}{ControlDown
}{\void}
196 Returns true if the Control key was down at the time of the event.
198 \membersection{wxGridRangeSelectEvent::GetBottomRightCoords
}\label{wxgridrangeselecteventgetbottomrightcoords
}
200 \func{wxGridCellCoords
}{GetBottomRightCoords
}{\void}
202 Top left corner of the rectangular area that was (de)selected.
204 \membersection{wxGridRangeSelectEvent::GetBottomRow
}\label{wxgridrangeselecteventgetbottomrow
}
206 \func{int
}{GetBottomRow
}{\void}
208 Bottom row of the rectangular area that was (de)selected.
210 \membersection{wxGridRangeSelectEvent::GetLeftCol
}\label{wxgridrangeselecteventgetleftcol
}
212 \func{int
}{GetLeftCol
}{\void}
214 Left column of the rectangular area that was (de)selected.
216 \membersection{wxGridRangeSelectEvent::GetRightCol
}\label{wxgridrangeselecteventgetrightcol
}
218 \func{int
}{GetRightCol
}{\void}
220 Right column of the rectangular area that was (de)selected.
222 \membersection{wxGridRangeSelectEvent::GetTopLeftCoords
}\label{wxgridrangeselecteventgettopleftcoords
}
224 \func{wxGridCellCoords
}{GetTopLeftCoords
}{\void}
226 Top left corner of the rectangular area that was (de)selected.
228 \membersection{wxGridRangeSelectEvent::GetTopRow
}\label{wxgridrangeselecteventgettoprow
}
230 \func{int
}{GetTopRow
}{\void}
232 Top row of the rectangular area that was (de)selected.
234 \membersection{wxGridRangeSelectEvent::MetaDown
}\label{wxgridrangeselecteventmetadown
}
236 \func{bool
}{MetaDown
}{\void}
238 Returns true if the Meta key was down at the time of the event.
240 \membersection{wxGridRangeSelectEvent::Selecting
}\label{wxgridrangeselecteventselecting
}
242 \func{bool
}{Selecting
}{\void}
244 Returns true if the area was selected, false otherwise.
246 \membersection{wxGridRangeSelectEvent::ShiftDown
}\label{wxgridrangeselecteventshiftdown
}
248 \func{bool
}{ShiftDown
}{\void}
250 Returns true if the Shift key was down at the time of the event.
252 \section{\class{wxGridSizeEvent
}}\label{wxgridsizeevent
}
254 This event class contains information about a row/column resize event.
256 \wxheading{Derived from
}
258 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
259 \helpref{wxCommandEvent
}{wxcommandevent
}\\
260 \helpref{wxEvent
}{wxevent
}\\
261 \helpref{wxObject
}{wxobject
}
263 \wxheading{Include files
}
267 \wxheading{Event handling
}
269 The event handler for the following functions takes a
270 \helpref{wxGridSizeEvent
}{wxgridsizeevent
} parameter.
271 The ...
\_CMD\_... variants also take a window identifier.
274 \begin{twocollist
}\itemsep=
0pt
275 \twocolitem{{\bf EVT
\_GRID\_COL\_SIZE(func)
}}{The user resized a column by dragging it. Processes a wxEVT
\_GRID\_COL\_SIZE.
}
276 \twocolitem{{\bf EVT
\_GRID\_ROW\_SIZE(func)
}}{The user resized a row by dragging it. Processes a wxEVT
\_GRID\_ROW\_SIZE.
}
277 \twocolitem{{\bf EVT
\_GRID\_CMD\_COL\_SIZE(func)
}}{The user resized a column by dragging it; variant taking a window identifier. Processes a wxEVT
\_GRID\_COL\_SIZE.
}
278 \twocolitem{{\bf EVT
\_GRID\_CMD\_ROW\_SIZE(func)
}}{The user resized a row by dragging it; variant taking a window identifier. Processes a wxEVT
\_GRID\_ROW\_SIZE.
}
281 \latexignore{\rtfignore{\wxheading{Members
}}}
283 \membersection{wxGridSizeEvent::wxGridSizeEvent
}\label{wxgridsizeeventconstr
}
285 \func{}{wxGridSizeEvent
}{\void}
289 \func{}{wxGridSizeEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
290 \param{wxObject*
}{obj
},
\param{int
}{rowOrCol = -
1},
\param{int
}{x = -
1},
291 \param{int
}{y = -
1},
\param{bool
}{control = false
},
\param{bool
}{shift = false
},
292 \param{bool
}{alt = false
},
\param{bool
}{meta = false
}}
294 \membersection{wxGridSizeEvent::AltDown
}\label{wxgridsizeeventaltdown
}
296 \func{bool
}{AltDown
}{\void}
298 Returns true if the Alt key was down at the time of the event.
300 \membersection{wxGridSizeEvent::ControlDown
}\label{wxgridsizeeventcontroldown
}
302 \func{bool
}{ControlDown
}{\void}
304 Returns true if the Control key was down at the time of the event.
306 \membersection{wxGridSizeEvent::GetPosition
}\label{wxgridsizeeventgetposition
}
308 \func{wxPoint
}{GetPosition
}{\void}
310 Position in pixels at which the event occurred.
312 \membersection{wxGridSizeEvent::GetRowOrCol
}\label{wxgridsizeeventgetroworcol
}
314 \func{int
}{GetRowOrCol
}{\void}
316 Row or column at that was resized.
318 \membersection{wxGridSizeEvent::MetaDown
}\label{wxgridsizeeventmetadown
}
320 \func{bool
}{MetaDown
}{\void}
322 Returns true if the Meta key was down at the time of the event.
324 \membersection{wxGridSizeEvent::ShiftDown
}\label{wxgridsizeeventshiftdown
}
326 \func{bool
}{ShiftDown
}{\void}
328 Returns true if the Shift key was down at the time of the event.