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.
15 \begin{twocollist
}\itemsep=
0pt
16 \twocolitem{{\bf EVT
\_GRID\_EDITOR\_CREATED(func)
}}{The editor for a cell was created. Processes a wxEVT
\_GRID\_EDITOR\_CREATED.
}
19 \latexignore{\rtfignore{\wxheading{Members
}}}
21 \membersection{wxGridEditorCreatedEvent::wxGridEditorCreatedEvent
}\label{wxgrideditorcreatedeventconstr
}
23 \func{}{wxGridEditorCreatedEvent
}{\void}
27 \func{}{wxGridEditorCreatedEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
28 \param{wxObject*
}{obj
},
\param{int
}{row
},
\param{int
}{col
},
\param{wxControl*
}{ctrl
}}
30 \membersection{wxGridEditorCreatedEvent::GetCol
}\label{wxgrideditorcreatedeventgetcol
}
32 \func{int
}{GetCol
}{\void}
34 Returns the column at which the event occurred.
36 \membersection{wxGridEditorCreatedEvent::GetControl
}\label{wxgrideditorcreatedeventgetcontrol
}
38 \func{wxControl*
}{GetControl
}{\void}
40 Returns the edit control.
42 \membersection{wxGridEditorCreatedEvent::GetRow
}\label{wxgrideditorcreatedeventgetrow
}
44 \func{int
}{GetRow
}{\void}
46 Returns the row at which the event occurred.
48 \membersection{wxGridEditorCreatedEvent::SetCol
}\label{wxgrideditorcreatedeventsetcol
}
50 \func{void
}{SetCol
}{\param{int
}{col
}}
52 Sets the column at which the event occurred.
54 \membersection{wxGridEditorCreatedEvent::SetControl
}\label{wxgrideditorcreatedeventsetcontrol
}
56 \func{void
}{SetControl
}{\param{wxControl*
}{ctrl
}}
58 Sets the edit control.
60 \membersection{wxGridEditorCreatedEvent::SetRow
}\label{wxgrideditorcreatedeventsetrow
}
62 \func{void
}{SetRow
}{\param{int
}{row
}}
64 Sets the row at which the event occurred.
66 \section{\class{wxGridEvent
}}\label{wxgridevent
}
68 This event class contains information about various grid events.
70 \wxheading{Derived from
}
72 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
73 \helpref{wxCommandEvent
}{wxcommandevent
}\\
74 \helpref{wxEvent
}{wxevent
}\\
75 \helpref{wxObject
}{wxobject
}
77 \wxheading{Include files
}
81 \wxheading{Event handling
}
85 \latexignore{\rtfignore{\wxheading{Members
}}}
87 \membersection{wxGridEvent::wxGridEvent
}\label{wxgrideventconstr
}
89 \func{}{wxGridEvent
}{\void}
93 \func{}{wxGridEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
\param{wxObject*
}{obj
},
94 \param{int
}{row = -
1},
\param{int
}{col = -
1},
\param{int
}{x = -
1},
\param{int
}{y = -
1},
95 \param{bool
}{sel = TRUE
},
\param{bool
}{control = FALSE
},
\param{bool
}{shift = FALSE
},
96 \param{bool
}{alt = FALSE
},
\param{bool
}{meta = FALSE
}}
98 \wxheading{Parameters
}
100 \membersection{wxGridEvent::AltDown
}\label{wxgrideventaltdown
}
102 \func{bool
}{AltDown
}{\void}
104 Returns TRUE if the Alt key was down at the time of the event.
106 \membersection{wxGridEvent::ControlDown
}\label{wxgrideventcontroldown
}
108 \func{bool
}{ControlDown
}{\void}
110 Returns TRUE if the Control key was down at the time of the event.
112 \membersection{wxGridEvent::GetCol
}\label{wxgrideventgetcol
}
114 \func{int
}{GetCol
}{\void}
116 Column at which the event occurred.
118 \membersection{wxGridEvent::GetPosition
}\label{wxgrideventgetposition
}
120 \func{wxPoint
}{GetPosition
}{\void}
122 Position in pixels at which the event occurred.
124 \membersection{wxGridEvent::GetRow
}\label{wxgrideventgetrow
}
126 \func{int
}{GetRow
}{\void}
128 Row at which the evnet occurred.
130 \membersection{wxGridEvent::MetaDown
}\label{wxgrideventmetadown
}
132 \func{bool
}{MetaDown
}{\void}
134 Returns TRUE if the Meta key was down at the time of the event.
136 \membersection{wxGridEvent::Selecting
}\label{wxgrideventselecting
}
138 \func{bool
}{Selecting
}{\void}
140 Returns TRUE if the user deselected a cell, FALSE if the user
143 \membersection{wxGridEvent::ShiftDown
}\label{wxgrideventshiftdown
}
145 \func{bool
}{ShiftDown
}{\void}
147 Returns TRUE if the Shift key was down at the time of the event.
149 \section{\class{wxGridRangeSelectEvent
}}\label{wxgridrangeselectevent
}
151 \wxheading{Derived from
}
153 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
154 \helpref{wxCommandEvent
}{wxcommandevent
}\\
155 \helpref{wxEvent
}{wxevent
}\\
156 \helpref{wxObject
}{wxobject
}
158 \wxheading{Event handling
}
160 The event handler for the following functions takes a
161 \helpref{wxGridRangeSelectEvent
}{wxgridrangeselectevent
} parameter.
164 \begin{twocollist
}\itemsep=
0pt
165 \twocolitem{{\bf EVT
\_GRID\_RANGE\_SELECT(func)
}}{The user selected a group of contiguous cells. Processes a wxEVT
\_GRID\_RANGE\_SELECT.
}
168 \latexignore{\rtfignore{\wxheading{Members
}}}
170 \membersection{wxGridRangeSelectEvent::wxGridRangeSelectEvent
}\label{wxgridrangeselecteventconstr
}
172 \func{}{wxGridRangeSelectEvent
}{\void}
176 \func{}{wxGridRangeSelectEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
177 \param{wxObject*
}{obj
},
\param{const wxGridCellCoords\&
}{topLeft
},
178 \param{const wxGridCellCoords\&
}{bottomRight
},
\param{bool
}{sel = TRUE
},
179 \param{bool
}{control = FALSE
},
\param{bool
}{shift = FALSE
},
\param{bool
}{alt = FALSE
},
180 \param{bool
}{meta = FALSE
}}
182 \membersection{wxGridRangeSelectEvent::AltDown
}\label{wxgridrangeselecteventaltdown
}
184 \func{bool
}{AltDown
}{\void}
186 Returns TRUE if the Alt key was down at the time of the event.
188 \membersection{wxGridRangeSelectEvent::ControlDown
}\label{wxgridrangeselecteventcontroldown
}
190 \func{bool
}{ControlDown
}{\void}
192 Returns TRUE if the Control key was down at the time of the event.
194 \membersection{wxGridRangeSelectEvent::GetBottomRightCoords
}\label{wxgridrangeselecteventgetbottomrightcoords
}
196 \func{wxGridCellCoords
}{GetBottomRightCoords
}{\void}
198 Top left corner of the rectangular area that was (de)selected.
200 \membersection{wxGridRangeSelectEvent::GetBottomRow
}\label{wxgridrangeselecteventgetbottomrow
}
202 \func{int
}{GetBottomRow
}{\void}
204 Bottom row of the rectangular area that was (de)selected.
206 \membersection{wxGridRangeSelectEvent::GetLeftCol
}\label{wxgridrangeselecteventgetleftcol
}
208 \func{int
}{GetLeftCol
}{\void}
210 Left column of the rectangualr area that was (de)selected.
212 \membersection{wxGridRangeSelectEvent::GetRightCol
}\label{wxgridrangeselecteventgetrightcol
}
214 \func{int
}{GetRightCol
}{\void}
216 Right column of the rectangular area that was (de)selected.
218 \membersection{wxGridRangeSelectEvent::GetTopLeftCoords
}\label{wxgridrangeselecteventgettopleftcoords
}
220 \func{wxGridCellCoords
}{GetTopLeftCoords
}{\void}
222 Top left corner of the rectangular area that was (de)delected.
224 \membersection{wxGridRangeSelectEvent::GetTopRow
}\label{wxgridrangeselecteventgettoprow
}
226 \func{int
}{GetTopRow
}{\void}
228 Top row of the rectangular area that was (de)selected.
230 \membersection{wxGridRangeSelectEvent::MetaDown
}\label{wxgridrangeselecteventmetadown
}
232 \func{bool
}{MetaDown
}{\void}
234 Returns TRUE if the Meta key was down at the time of the event.
236 \membersection{wxGridRangeSelectEvent::Selecting
}\label{wxgridrangeselecteventselecting
}
238 \func{bool
}{Selecting
}{\void}
240 Returns TRUE if the area was selected, FALSE otherwise.
242 \membersection{wxGridRangeSelectEvent::ShiftDown
}\label{wxgridrangeselecteventshiftdown
}
244 \func{bool
}{ShiftDown
}{\void}
246 Returns TRUE if the Shift key was down at the time of the event.
248 \section{\class{wxGridSizeEvent
}}\label{wxgridsizeevent
}
250 This event class contains information about a row/column resize event.
252 \wxheading{Derived from
}
254 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
255 \helpref{wxCommandEvent
}{wxcommandevent
}\\
256 \helpref{wxEvent
}{wxevent
}\\
257 \helpref{wxObject
}{wxobject
}
259 \wxheading{Include files
}
263 \wxheading{Event handling
}
265 The event handler for the following functions takes a
266 \helpref{wxGridSizeEvent
}{wxgridsizeevent
} parameter.
269 \begin{twocollist
}\itemsep=
0pt
270 \twocolitem{{\bf EVT
\_GRID\_COL\_SIZE(func)
}}{The user resized a column by dragging it. Processes a wxEVT
\_GRID\_COL\_SIZE.
}
271 \twocolitem{{\bf EVT
\_GRID\_ROW\_SIZE(func)
}}{The user resized a row by dragging it. Processes a wxEVT
\_GRID\_ROW\_SIZE.
}
274 \latexignore{\rtfignore{\wxheading{Members
}}}
276 \membersection{wxGridSizeEvent::wxGridSizeEvent
}\label{wxgridsizeeventconstr
}
278 \func{}{wxGridSizeEvent
}{\void}
282 \func{}{wxGridSizeEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
283 \param{wxObject*
}{obj
},
\param{int
}{rowOrCol = -
1},
\param{int
}{x = -
1},
284 \param{int
}{y = -
1},
\param{bool
}{control = FALSE
},
\param{bool
}{shift = FALSE
},
285 \param{bool
}{alt = FALSE
},
\param{bool
}{meta = FALSE
}}
287 \membersection{wxGridSizeEvent::AltDown
}\label{wxgridsizeeventaltdown
}
289 \func{bool
}{AltDown
}{\void}
291 Returns TRUE if the Alt key was down at the time of the event.
293 \membersection{wxGridSizeEvent::ControlDown
}\label{wxgridsizeeventcontroldown
}
295 \func{bool
}{ControlDown
}{\void}
297 Returns TRUE if the Control key was down at the time of the event.
299 \membersection{wxGridSizeEvent::GetPosition
}\label{wxgridsizeeventgetposition
}
301 \func{wxPoint
}{GetPosition
}{\void}
303 Position in pixels at which the event occurred.
305 \membersection{wxGridSizeEvent::GetRowOrCol
}\label{wxgridsizeeventgetroworcol
}
307 \func{int
}{GetRowOrCol
}{\void}
309 Row or column at that was resized.
311 \membersection{wxGridSizeEvent::MetaDown
}\label{wxgridsizeeventmetadown
}
313 \func{bool
}{MetaDown
}{\void}
315 Returns TRUE if the Meta key was down at the time of the event.
317 \membersection{wxGridSizeEvent::ShiftDown
}\label{wxgridsizeeventshiftdown
}
319 \func{bool
}{ShiftDown
}{\void}
321 Returns TRUE if the Shift key was down at the time of the event.