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 \wxheading{Include files
}
25 \latexignore{\rtfignore{\wxheading{Members
}}}
27 \membersection{wxGridEditorCreatedEvent::wxGridEditorCreatedEvent
}\label{wxgrideditorcreatedeventconstr
}
29 \func{}{wxGridEditorCreatedEvent
}{\void}
33 \func{}{wxGridEditorCreatedEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
34 \param{wxObject*
}{obj
},
\param{int
}{row
},
\param{int
}{col
},
\param{wxControl*
}{ctrl
}}
36 \membersection{wxGridEditorCreatedEvent::GetCol
}\label{wxgrideditorcreatedeventgetcol
}
38 \func{int
}{GetCol
}{\void}
40 Returns the column at which the event occurred.
42 \membersection{wxGridEditorCreatedEvent::GetControl
}\label{wxgrideditorcreatedeventgetcontrol
}
44 \func{wxControl*
}{GetControl
}{\void}
46 Returns the edit control.
48 \membersection{wxGridEditorCreatedEvent::GetRow
}\label{wxgrideditorcreatedeventgetrow
}
50 \func{int
}{GetRow
}{\void}
52 Returns the row at which the event occurred.
54 \membersection{wxGridEditorCreatedEvent::SetCol
}\label{wxgrideditorcreatedeventsetcol
}
56 \func{void
}{SetCol
}{\param{int
}{col
}}
58 Sets the column at which the event occurred.
60 \membersection{wxGridEditorCreatedEvent::SetControl
}\label{wxgrideditorcreatedeventsetcontrol
}
62 \func{void
}{SetControl
}{\param{wxControl*
}{ctrl
}}
64 Sets the edit control.
66 \membersection{wxGridEditorCreatedEvent::SetRow
}\label{wxgrideditorcreatedeventsetrow
}
68 \func{void
}{SetRow
}{\param{int
}{row
}}
70 Sets the row at which the event occurred.
72 \section{\class{wxGridEvent
}}\label{wxgridevent
}
74 This event class contains information about various grid events.
76 \wxheading{Derived from
}
78 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
79 \helpref{wxCommandEvent
}{wxcommandevent
}\\
80 \helpref{wxEvent
}{wxevent
}\\
81 \helpref{wxObject
}{wxobject
}
83 \wxheading{Include files
}
87 \wxheading{Event handling
}
91 \latexignore{\rtfignore{\wxheading{Members
}}}
93 \membersection{wxGridEvent::wxGridEvent
}\label{wxgrideventconstr
}
95 \func{}{wxGridEvent
}{\void}
99 \func{}{wxGridEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
\param{wxObject*
}{obj
},
100 \param{int
}{row = -
1},
\param{int
}{col = -
1},
\param{int
}{x = -
1},
\param{int
}{y = -
1},
101 \param{bool
}{sel = true
},
\param{bool
}{control = false
},
\param{bool
}{shift = false
},
102 \param{bool
}{alt = false
},
\param{bool
}{meta = false
}}
104 \wxheading{Parameters
}
106 \membersection{wxGridEvent::AltDown
}\label{wxgrideventaltdown
}
108 \func{bool
}{AltDown
}{\void}
110 Returns true if the Alt key was down at the time of the event.
112 \membersection{wxGridEvent::ControlDown
}\label{wxgrideventcontroldown
}
114 \func{bool
}{ControlDown
}{\void}
116 Returns true if the Control key was down at the time of the event.
118 \membersection{wxGridEvent::GetCol
}\label{wxgrideventgetcol
}
120 \func{int
}{GetCol
}{\void}
122 Column at which the event occurred.
124 \membersection{wxGridEvent::GetPosition
}\label{wxgrideventgetposition
}
126 \func{wxPoint
}{GetPosition
}{\void}
128 Position in pixels at which the event occurred.
130 \membersection{wxGridEvent::GetRow
}\label{wxgrideventgetrow
}
132 \func{int
}{GetRow
}{\void}
134 Row at which the event occurred.
136 \membersection{wxGridEvent::MetaDown
}\label{wxgrideventmetadown
}
138 \func{bool
}{MetaDown
}{\void}
140 Returns true if the Meta key was down at the time of the event.
142 \membersection{wxGridEvent::Selecting
}\label{wxgrideventselecting
}
144 \func{bool
}{Selecting
}{\void}
146 Returns true if the user deselected a cell, false if the user
149 \membersection{wxGridEvent::ShiftDown
}\label{wxgrideventshiftdown
}
151 \func{bool
}{ShiftDown
}{\void}
153 Returns true if the Shift key was down at the time of the event.
155 \section{\class{wxGridRangeSelectEvent
}}\label{wxgridrangeselectevent
}
157 \wxheading{Derived from
}
159 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
160 \helpref{wxCommandEvent
}{wxcommandevent
}\\
161 \helpref{wxEvent
}{wxevent
}\\
162 \helpref{wxObject
}{wxobject
}
164 \wxheading{Event handling
}
166 The event handler for the following functions takes a
167 \helpref{wxGridRangeSelectEvent
}{wxgridrangeselectevent
} parameter.
168 The ...
\_CMD\_... variants also take a window identifier.
171 \begin{twocollist
}\itemsep=
0pt
172 \twocolitem{{\bf EVT
\_GRID\_RANGE\_SELECT(func)
}}{The user selected a group of contiguous cells. Processes a wxEVT
\_GRID\_RANGE\_SELECT.
}
173 \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.
}
176 \wxheading{Include files
}
180 \latexignore{\rtfignore{\wxheading{Members
}}}
182 \membersection{wxGridRangeSelectEvent::wxGridRangeSelectEvent
}\label{wxgridrangeselecteventconstr
}
184 \func{}{wxGridRangeSelectEvent
}{\void}
188 \func{}{wxGridRangeSelectEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
189 \param{wxObject*
}{obj
},
\param{const wxGridCellCoords\&
}{topLeft
},
190 \param{const wxGridCellCoords\&
}{bottomRight
},
\param{bool
}{sel = true
},
191 \param{bool
}{control = false
},
\param{bool
}{shift = false
},
\param{bool
}{alt = false
},
192 \param{bool
}{meta = false
}}
194 \membersection{wxGridRangeSelectEvent::AltDown
}\label{wxgridrangeselecteventaltdown
}
196 \func{bool
}{AltDown
}{\void}
198 Returns true if the Alt key was down at the time of the event.
200 \membersection{wxGridRangeSelectEvent::ControlDown
}\label{wxgridrangeselecteventcontroldown
}
202 \func{bool
}{ControlDown
}{\void}
204 Returns true if the Control key was down at the time of the event.
206 \membersection{wxGridRangeSelectEvent::GetBottomRightCoords
}\label{wxgridrangeselecteventgetbottomrightcoords
}
208 \func{wxGridCellCoords
}{GetBottomRightCoords
}{\void}
210 Top left corner of the rectangular area that was (de)selected.
212 \membersection{wxGridRangeSelectEvent::GetBottomRow
}\label{wxgridrangeselecteventgetbottomrow
}
214 \func{int
}{GetBottomRow
}{\void}
216 Bottom row of the rectangular area that was (de)selected.
218 \membersection{wxGridRangeSelectEvent::GetLeftCol
}\label{wxgridrangeselecteventgetleftcol
}
220 \func{int
}{GetLeftCol
}{\void}
222 Left column of the rectangular area that was (de)selected.
224 \membersection{wxGridRangeSelectEvent::GetRightCol
}\label{wxgridrangeselecteventgetrightcol
}
226 \func{int
}{GetRightCol
}{\void}
228 Right column of the rectangular area that was (de)selected.
230 \membersection{wxGridRangeSelectEvent::GetTopLeftCoords
}\label{wxgridrangeselecteventgettopleftcoords
}
232 \func{wxGridCellCoords
}{GetTopLeftCoords
}{\void}
234 Top left corner of the rectangular area that was (de)selected.
236 \membersection{wxGridRangeSelectEvent::GetTopRow
}\label{wxgridrangeselecteventgettoprow
}
238 \func{int
}{GetTopRow
}{\void}
240 Top row of the rectangular area that was (de)selected.
242 \membersection{wxGridRangeSelectEvent::MetaDown
}\label{wxgridrangeselecteventmetadown
}
244 \func{bool
}{MetaDown
}{\void}
246 Returns true if the Meta key was down at the time of the event.
248 \membersection{wxGridRangeSelectEvent::Selecting
}\label{wxgridrangeselecteventselecting
}
250 \func{bool
}{Selecting
}{\void}
252 Returns true if the area was selected, false otherwise.
254 \membersection{wxGridRangeSelectEvent::ShiftDown
}\label{wxgridrangeselecteventshiftdown
}
256 \func{bool
}{ShiftDown
}{\void}
258 Returns true if the Shift key was down at the time of the event.
260 \section{\class{wxGridSizeEvent
}}\label{wxgridsizeevent
}
262 This event class contains information about a row/column resize event.
264 \wxheading{Derived from
}
266 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
267 \helpref{wxCommandEvent
}{wxcommandevent
}\\
268 \helpref{wxEvent
}{wxevent
}\\
269 \helpref{wxObject
}{wxobject
}
271 \wxheading{Include files
}
275 \wxheading{Event handling
}
277 The event handler for the following functions takes a
278 \helpref{wxGridSizeEvent
}{wxgridsizeevent
} parameter.
279 The ...
\_CMD\_... variants also take a window identifier.
282 \begin{twocollist
}\itemsep=
0pt
283 \twocolitem{{\bf EVT
\_GRID\_COL\_SIZE(func)
}}{The user resized a column by dragging it. Processes a wxEVT
\_GRID\_COL\_SIZE.
}
284 \twocolitem{{\bf EVT
\_GRID\_ROW\_SIZE(func)
}}{The user resized a row by dragging it. Processes a wxEVT
\_GRID\_ROW\_SIZE.
}
285 \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.
}
286 \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.
}
289 \latexignore{\rtfignore{\wxheading{Members
}}}
291 \membersection{wxGridSizeEvent::wxGridSizeEvent
}\label{wxgridsizeeventconstr
}
293 \func{}{wxGridSizeEvent
}{\void}
297 \func{}{wxGridSizeEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
298 \param{wxObject*
}{obj
},
\param{int
}{rowOrCol = -
1},
\param{int
}{x = -
1},
299 \param{int
}{y = -
1},
\param{bool
}{control = false
},
\param{bool
}{shift = false
},
300 \param{bool
}{alt = false
},
\param{bool
}{meta = false
}}
302 \membersection{wxGridSizeEvent::AltDown
}\label{wxgridsizeeventaltdown
}
304 \func{bool
}{AltDown
}{\void}
306 Returns true if the Alt key was down at the time of the event.
308 \membersection{wxGridSizeEvent::ControlDown
}\label{wxgridsizeeventcontroldown
}
310 \func{bool
}{ControlDown
}{\void}
312 Returns true if the Control key was down at the time of the event.
314 \membersection{wxGridSizeEvent::GetPosition
}\label{wxgridsizeeventgetposition
}
316 \func{wxPoint
}{GetPosition
}{\void}
318 Position in pixels at which the event occurred.
320 \membersection{wxGridSizeEvent::GetRowOrCol
}\label{wxgridsizeeventgetroworcol
}
322 \func{int
}{GetRowOrCol
}{\void}
324 Row or column at that was resized.
326 \membersection{wxGridSizeEvent::MetaDown
}\label{wxgridsizeeventmetadown
}
328 \func{bool
}{MetaDown
}{\void}
330 Returns true if the Meta key was down at the time of the event.
332 \membersection{wxGridSizeEvent::ShiftDown
}\label{wxgridsizeeventshiftdown
}
334 \func{bool
}{ShiftDown
}{\void}
336 Returns true if the Shift key was down at the time of the event.