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
}
27 \helpref{wxAdv
}{librarieslist
}
29 \latexignore{\rtfignore{\wxheading{Members
}}}
31 \membersection{wxGridEditorCreatedEvent::wxGridEditorCreatedEvent
}\label{wxgrideditorcreatedeventconstr
}
33 \func{}{wxGridEditorCreatedEvent
}{\void}
37 \func{}{wxGridEditorCreatedEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
38 \param{wxObject*
}{obj
},
\param{int
}{row
},
\param{int
}{col
},
\param{wxControl*
}{ctrl
}}
40 \membersection{wxGridEditorCreatedEvent::GetCol
}\label{wxgrideditorcreatedeventgetcol
}
42 \func{int
}{GetCol
}{\void}
44 Returns the column at which the event occurred.
46 \membersection{wxGridEditorCreatedEvent::GetControl
}\label{wxgrideditorcreatedeventgetcontrol
}
48 \func{wxControl*
}{GetControl
}{\void}
50 Returns the edit control.
52 \membersection{wxGridEditorCreatedEvent::GetRow
}\label{wxgrideditorcreatedeventgetrow
}
54 \func{int
}{GetRow
}{\void}
56 Returns the row at which the event occurred.
58 \membersection{wxGridEditorCreatedEvent::SetCol
}\label{wxgrideditorcreatedeventsetcol
}
60 \func{void
}{SetCol
}{\param{int
}{col
}}
62 Sets the column at which the event occurred.
64 \membersection{wxGridEditorCreatedEvent::SetControl
}\label{wxgrideditorcreatedeventsetcontrol
}
66 \func{void
}{SetControl
}{\param{wxControl*
}{ctrl
}}
68 Sets the edit control.
70 \membersection{wxGridEditorCreatedEvent::SetRow
}\label{wxgrideditorcreatedeventsetrow
}
72 \func{void
}{SetRow
}{\param{int
}{row
}}
74 Sets the row at which the event occurred.
76 \section{\class{wxGridEvent
}}\label{wxgridevent
}
78 This event class contains information about various grid events.
80 \wxheading{Derived from
}
82 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
83 \helpref{wxCommandEvent
}{wxcommandevent
}\\
84 \helpref{wxEvent
}{wxevent
}\\
85 \helpref{wxObject
}{wxobject
}
87 \wxheading{Include files
}
93 \helpref{wxAdv
}{librarieslist
}
95 \wxheading{Event handling
}
99 \latexignore{\rtfignore{\wxheading{Members
}}}
101 \membersection{wxGridEvent::wxGridEvent
}\label{wxgrideventconstr
}
103 \func{}{wxGridEvent
}{\void}
107 \func{}{wxGridEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
\param{wxObject*
}{obj
},
108 \param{int
}{row = -
1},
\param{int
}{col = -
1},
\param{int
}{x = -
1},
\param{int
}{y = -
1},
109 \param{bool
}{sel = true
},
\param{bool
}{control = false
},
\param{bool
}{shift = false
},
110 \param{bool
}{alt = false
},
\param{bool
}{meta = false
}}
112 \wxheading{Parameters
}
114 \membersection{wxGridEvent::AltDown
}\label{wxgrideventaltdown
}
116 \func{bool
}{AltDown
}{\void}
118 Returns true if the Alt key was down at the time of the event.
120 \membersection{wxGridEvent::ControlDown
}\label{wxgrideventcontroldown
}
122 \func{bool
}{ControlDown
}{\void}
124 Returns true if the Control key was down at the time of the event.
126 \membersection{wxGridEvent::GetCol
}\label{wxgrideventgetcol
}
128 \func{int
}{GetCol
}{\void}
130 Column at which the event occurred.
132 \membersection{wxGridEvent::GetPosition
}\label{wxgrideventgetposition
}
134 \func{wxPoint
}{GetPosition
}{\void}
136 Position in pixels at which the event occurred.
138 \membersection{wxGridEvent::GetRow
}\label{wxgrideventgetrow
}
140 \func{int
}{GetRow
}{\void}
142 Row at which the event occurred.
144 \membersection{wxGridEvent::MetaDown
}\label{wxgrideventmetadown
}
146 \func{bool
}{MetaDown
}{\void}
148 Returns true if the Meta key was down at the time of the event.
150 \membersection{wxGridEvent::Selecting
}\label{wxgrideventselecting
}
152 \func{bool
}{Selecting
}{\void}
154 Returns true if the user is selecting grid cells, false -- if
157 \membersection{wxGridEvent::ShiftDown
}\label{wxgrideventshiftdown
}
159 \func{bool
}{ShiftDown
}{\void}
161 Returns true if the Shift key was down at the time of the event.
163 \section{\class{wxGridRangeSelectEvent
}}\label{wxgridrangeselectevent
}
165 \wxheading{Derived from
}
167 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
168 \helpref{wxCommandEvent
}{wxcommandevent
}\\
169 \helpref{wxEvent
}{wxevent
}\\
170 \helpref{wxObject
}{wxobject
}
172 \wxheading{Event handling
}
174 The event handler for the following functions takes a
175 \helpref{wxGridRangeSelectEvent
}{wxgridrangeselectevent
} parameter.
176 The ...
\_CMD\_... variants also take a window identifier.
179 \begin{twocollist
}\itemsep=
0pt
180 \twocolitem{{\bf EVT
\_GRID\_RANGE\_SELECT(func)
}}{The user selected a group of contiguous cells. Processes a wxEVT
\_GRID\_RANGE\_SELECT.
}
181 \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.
}
184 \wxheading{Include files
}
190 \helpref{wxAdv
}{librarieslist
}
192 \latexignore{\rtfignore{\wxheading{Members
}}}
194 \membersection{wxGridRangeSelectEvent::wxGridRangeSelectEvent
}\label{wxgridrangeselecteventconstr
}
196 \func{}{wxGridRangeSelectEvent
}{\void}
200 \func{}{wxGridRangeSelectEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
201 \param{wxObject*
}{obj
},
\param{const wxGridCellCoords\&
}{topLeft
},
202 \param{const wxGridCellCoords\&
}{bottomRight
},
\param{bool
}{sel = true
},
203 \param{bool
}{control = false
},
\param{bool
}{shift = false
},
\param{bool
}{alt = false
},
204 \param{bool
}{meta = false
}}
206 \membersection{wxGridRangeSelectEvent::AltDown
}\label{wxgridrangeselecteventaltdown
}
208 \func{bool
}{AltDown
}{\void}
210 Returns true if the Alt key was down at the time of the event.
212 \membersection{wxGridRangeSelectEvent::ControlDown
}\label{wxgridrangeselecteventcontroldown
}
214 \func{bool
}{ControlDown
}{\void}
216 Returns true if the Control key was down at the time of the event.
218 \membersection{wxGridRangeSelectEvent::GetBottomRightCoords
}\label{wxgridrangeselecteventgetbottomrightcoords
}
220 \func{wxGridCellCoords
}{GetBottomRightCoords
}{\void}
222 Top left corner of the rectangular area that was (de)selected.
224 \membersection{wxGridRangeSelectEvent::GetBottomRow
}\label{wxgridrangeselecteventgetbottomrow
}
226 \func{int
}{GetBottomRow
}{\void}
228 Bottom row of the rectangular area that was (de)selected.
230 \membersection{wxGridRangeSelectEvent::GetLeftCol
}\label{wxgridrangeselecteventgetleftcol
}
232 \func{int
}{GetLeftCol
}{\void}
234 Left column of the rectangular area that was (de)selected.
236 \membersection{wxGridRangeSelectEvent::GetRightCol
}\label{wxgridrangeselecteventgetrightcol
}
238 \func{int
}{GetRightCol
}{\void}
240 Right column of the rectangular area that was (de)selected.
242 \membersection{wxGridRangeSelectEvent::GetTopLeftCoords
}\label{wxgridrangeselecteventgettopleftcoords
}
244 \func{wxGridCellCoords
}{GetTopLeftCoords
}{\void}
246 Top left corner of the rectangular area that was (de)selected.
248 \membersection{wxGridRangeSelectEvent::GetTopRow
}\label{wxgridrangeselecteventgettoprow
}
250 \func{int
}{GetTopRow
}{\void}
252 Top row of the rectangular area that was (de)selected.
254 \membersection{wxGridRangeSelectEvent::MetaDown
}\label{wxgridrangeselecteventmetadown
}
256 \func{bool
}{MetaDown
}{\void}
258 Returns true if the Meta key was down at the time of the event.
260 \membersection{wxGridRangeSelectEvent::Selecting
}\label{wxgridrangeselecteventselecting
}
262 \func{bool
}{Selecting
}{\void}
264 Returns true if the area was selected, false otherwise.
266 \membersection{wxGridRangeSelectEvent::ShiftDown
}\label{wxgridrangeselecteventshiftdown
}
268 \func{bool
}{ShiftDown
}{\void}
270 Returns true if the Shift key was down at the time of the event.
272 \section{\class{wxGridSizeEvent
}}\label{wxgridsizeevent
}
274 This event class contains information about a row/column resize event.
276 \wxheading{Derived from
}
278 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
279 \helpref{wxCommandEvent
}{wxcommandevent
}\\
280 \helpref{wxEvent
}{wxevent
}\\
281 \helpref{wxObject
}{wxobject
}
283 \wxheading{Include files
}
289 \helpref{wxAdv
}{librarieslist
}
291 \wxheading{Event handling
}
293 The event handler for the following functions takes a
294 \helpref{wxGridSizeEvent
}{wxgridsizeevent
} parameter.
295 The ...
\_CMD\_... variants also take a window identifier.
298 \begin{twocollist
}\itemsep=
0pt
299 \twocolitem{{\bf EVT
\_GRID\_COL\_SIZE(func)
}}{The user resized a column by dragging it. Processes a wxEVT
\_GRID\_COL\_SIZE.
}
300 \twocolitem{{\bf EVT
\_GRID\_ROW\_SIZE(func)
}}{The user resized a row by dragging it. Processes a wxEVT
\_GRID\_ROW\_SIZE.
}
301 \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.
}
302 \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.
}
305 \latexignore{\rtfignore{\wxheading{Members
}}}
307 \membersection{wxGridSizeEvent::wxGridSizeEvent
}\label{wxgridsizeeventconstr
}
309 \func{}{wxGridSizeEvent
}{\void}
313 \func{}{wxGridSizeEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
314 \param{wxObject*
}{obj
},
\param{int
}{rowOrCol = -
1},
\param{int
}{x = -
1},
315 \param{int
}{y = -
1},
\param{bool
}{control = false
},
\param{bool
}{shift = false
},
316 \param{bool
}{alt = false
},
\param{bool
}{meta = false
}}
318 \membersection{wxGridSizeEvent::AltDown
}\label{wxgridsizeeventaltdown
}
320 \func{bool
}{AltDown
}{\void}
322 Returns true if the Alt key was down at the time of the event.
324 \membersection{wxGridSizeEvent::ControlDown
}\label{wxgridsizeeventcontroldown
}
326 \func{bool
}{ControlDown
}{\void}
328 Returns true if the Control key was down at the time of the event.
330 \membersection{wxGridSizeEvent::GetPosition
}\label{wxgridsizeeventgetposition
}
332 \func{wxPoint
}{GetPosition
}{\void}
334 Position in pixels at which the event occurred.
336 \membersection{wxGridSizeEvent::GetRowOrCol
}\label{wxgridsizeeventgetroworcol
}
338 \func{int
}{GetRowOrCol
}{\void}
340 Row or column at that was resized.
342 \membersection{wxGridSizeEvent::MetaDown
}\label{wxgridsizeeventmetadown
}
344 \func{bool
}{MetaDown
}{\void}
346 Returns true if the Meta key was down at the time of the event.
348 \membersection{wxGridSizeEvent::ShiftDown
}\label{wxgridsizeeventshiftdown
}
350 \func{bool
}{ShiftDown
}{\void}
352 Returns true if the Shift key was down at the time of the event.