1 \section{\class{wxGridEvent
}}\label{wxgridevent
}
3 This event class contains information about various grid events.
5 \wxheading{Derived from
}
7 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
8 \helpref{wxCommandEvent
}{wxcommandevent
}\\
9 \helpref{wxEvent
}{wxevent
}\\
10 \helpref{wxObject
}{wxobject
}
12 \wxheading{Include files
}
16 \wxheading{Event handling
}
20 \latexignore{\rtfignore{\wxheading{Members
}}}
22 \membersection{wxGridEvent::wxGridEvent
}\label{wxgrideventconstr
}
24 \func{}{wxGridEvent
}{\void}
28 \func{}{wxGridEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
\param{wxObject*
}{obj
},
29 \param{int
}{row = -
1},
\param{int
}{col = -
1},
\param{int
}{x = -
1},
\param{int
}{y = -
1},
30 \param{bool
}{sel = TRUE
},
\param{bool
}{control = FALSE
},
\param{bool
}{shift = FALSE
},
31 \param{bool
}{alt = FALSE
},
\param{bool
}{meta = FALSE
}}
33 \wxheading{Parameters
}
35 \membersection{wxGridEvent::AltDown
}\label{wxgrideventaltdown
}
37 \func{bool
}{AltDown
}{\void}
39 Returns TRUE if the Alt key was down at the time of the event.
41 \membersection{wxGridEvent::ControlDown
}\label{wxgrideventcontroldown
}
43 \func{bool
}{ControlDown
}{\void}
45 Returns TRUE if the Control key was down at the time of the event.
47 \membersection{wxGridEvent::GetCol
}\label{wxgrideventgetcol
}
49 \func{int
}{GetCol
}{\void}
51 Column at which the event occurred.
53 \membersection{wxGridEvent::GetPosition
}\label{wxgrideventgetposition
}
55 \func{wxPoint
}{GetPosition
}{\void}
57 Position in pixels at which the event occurred.
59 \membersection{wxGridEvent::GetRow
}\label{wxgrideventgetrow
}
61 \func{int
}{GetRow
}{\void}
63 Row at which the evnet occurred.
65 \membersection{wxGridEvent::MetaDown
}\label{wxgrideventmetadown
}
67 \func{bool
}{MetaDown
}{\void}
69 Returns TRUE if the Meta key was down at the time of the event.
71 \membersection{wxGridEvent::Selecting
}\label{wxgrideventselecting
}
73 \func{bool
}{Selecting
}{\void}
75 Returns TRUE if the user deselected a cell, FALSE if the user
78 \membersection{wxGridEvent::ShiftDown
}\label{wxgrideventshiftdown
}
80 \func{bool
}{ShiftDown
}{\void}
82 Returns TRUE if the Shift key was down at the time of the event.
84 \section{\class{wxGridSizeEvent
}}\label{wxgridsizeevent
}
86 This event class contains information about a row/column resize event.
88 \wxheading{Derived from
}
90 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
91 \helpref{wxCommandEvent
}{wxcommandevent
}\\
92 \helpref{wxEvent
}{wxevent
}\\
93 \helpref{wxObject
}{wxobject
}
95 \wxheading{Include files
}
99 \wxheading{Event handling
}
101 The event handler for the following functions takes a
102 \helpref{wxGridSizeEvent
}{wxgridsizeevent
} parameter.
105 \begin{twocollist
}\itemsep=
0pt
106 \twocolitem{{\bf EVT
\_GRID\_COL\_SIZE(func)
}}{The user resized a column by dragging it. Processes a wxEVT
\_GRID\_COL\_SIZE.
}
107 \twocolitem{{\bf EVT
\_GRID\_ROW\_SIZE(func)
}}{The user resized a row by dragging it. Processes a wxEVT
\_GRID\_ROW\_SIZE.
}
110 \latexignore{\rtfignore{\wxheading{Members
}}}
112 \membersection{wxGridSizeEvent::wxGridSizeEvent
}\label{wxgridsizeeventconstr
}
114 \func{}{wxGridSizeEvent
}{\void}
118 \func{}{wxGridSizeEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
119 \param{wxObject*
}{obj
},
\param{int
}{rowOrCol = -
1},
\param{int
}{x = -
1},
120 \param{int
}{y = -
1},
\param{bool
}{control = FALSE
},
\param{bool
}{shift = FALSE
},
121 \param{bool
}{alt = FALSE
},
\param{bool
}{meta = FALSE
}}
123 \membersection{wxGridSizeEvent::AltDown
}\label{wxgridsizeeventaltdown
}
125 \func{bool
}{AltDown
}{\void}
127 Returns TRUE if the Alt key was down at the time of the event.
129 \membersection{wxGridSizeEvent::ControlDown
}\label{wxgridsizeeventcontroldown
}
131 \func{bool
}{ControlDown
}{\void}
133 Returns TRUE if the Control key was down at the time of the event.
135 \membersection{wxGridSizeEvent::GetPosition
}\label{wxgridsizeeventgetposition
}
137 \func{wxPoint
}{GetPosition
}{\void}
139 Position in pixels at which the event occurred.
141 \membersection{wxGridSizeEvent::GetRowOrCol
}\label{wxgridsizeeventgetroworcol
}
143 \func{int
}{GetRowOrCol
}{\void}
145 Row or column at that was resized.
147 \membersection{wxGridSizeEvent::MetaDown
}\label{wxgridsizeeventmetadown
}
149 \func{bool
}{MetaDown
}{\void}
151 Returns TRUE if the Meta key was down at the time of the event.
153 \membersection{wxGridSizeEvent::ShiftDown
}\label{wxgridsizeeventshiftdown
}
155 \func{bool
}{ShiftDown
}{\void}
157 Returns TRUE if the Shift key was down at the time of the event.
159 \section{\class{wxGridRangeSelectEvent
}}\label{wxgridrangeselectevent
}
161 \wxheading{Derived from
}
163 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
164 \helpref{wxCommandEvent
}{wxcommandevent
}\\
165 \helpref{wxEvent
}{wxevent
}\\
166 \helpref{wxObject
}{wxobject
}
168 \wxheading{Event handling
}
170 The event handler for the following functions takes a
171 \helpref{wxGridRangeSelectEvent
}{wxgridrangeselectevent
} parameter.
174 \begin{twocollist
}\itemsep=
0pt
175 \twocolitem{{\bf EVT
\_GRID\_RANGE\_SELECT(func)
}}{The user selected a group of contiguous cells. Processes a wxEVT
\_GRID\_RANGE\_SELECT.
}
178 \latexignore{\rtfignore{\wxheading{Members
}}}
180 \membersection{wxGridRangeSelectEvent::wxGridRangeSelectEvent
}\label{wxgridrangeselecteventconstr
}
182 \func{}{wxGridRangeSelectEvent
}{\void}
186 \func{}{wxGridRangeSelectEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
187 \param{wxObject*
}{obj
},
\param{const wxGridCellCoords\&
}{topLeft
},
188 \param{const wxGridCellCoords\&
}{bottomRight
},
\param{bool
}{sel = TRUE
},
189 \param{bool
}{control = FALSE
},
\param{bool
}{shift = FALSE
},
\param{bool
}{alt = FALSE
},
190 \param{bool
}{meta = FALSE
}}
192 \membersection{wxGridRangeSelectEvent::AltDown
}\label{wxgridrangeselecteventaltdown
}
194 \func{bool
}{AltDown
}{\void}
196 Returns TRUE if the Alt key was down at the time of the event.
198 \membersection{wxGridRangeSelectEvent::ControlDown
}\label{wxgridrangeselecteventcontroldown
}
200 \func{bool
}{ControlDown
}{\void}
202 Returns TRUE if the Control key was down at the time of the event.
204 \membersection{wxGridRangeSelectEvent::GetBottomRightCoords
}\label{wxgridrangeselecteventgetbottomrightcoords
}
206 \func{wxGridCellCoords
}{GetBottomRightCoords
}{\void}
208 Top left corner of the rectangular area that was (de)selected.
210 \membersection{wxGridRangeSelectEvent::GetBottomRow
}\label{wxgridrangeselecteventgetbottomrow
}
212 \func{int
}{GetBottomRow
}{\void}
214 Bottom row of the rectangular area that was (de)selected.
216 \membersection{wxGridRangeSelectEvent::GetLeftCol
}\label{wxgridrangeselecteventgetleftcol
}
218 \func{int
}{GetLeftCol
}{\void}
220 Left column of the rectangualr area that was (de)selected.
222 \membersection{wxGridRangeSelectEvent::GetRightCol
}\label{wxgridrangeselecteventgetrightcol
}
224 \func{int
}{GetRightCol
}{\void}
226 Right column of the rectangular area that was (de)selected.
228 \membersection{wxGridRangeSelectEvent::GetTopLeftCoords
}\label{wxgridrangeselecteventgettopleftcoords
}
230 \func{wxGridCellCoords
}{GetTopLeftCoords
}{\void}
232 Top left corner of the rectangular area that was (de)delected.
234 \membersection{wxGridRangeSelectEvent::GetTopRow
}\label{wxgridrangeselecteventgettoprow
}
236 \func{int
}{GetTopRow
}{\void}
238 Top row of the rectangular area that was (de)selected.
240 \membersection{wxGridRangeSelectEvent::MetaDown
}\label{wxgridrangeselecteventmetadown
}
242 \func{bool
}{MetaDown
}{\void}
244 Returns TRUE if the Meta key was down at the time of the event.
246 \membersection{wxGridRangeSelectEvent::Selecting
}\label{wxgridrangeselecteventselecting
}
248 \func{bool
}{Selecting
}{\void}
250 Returns TRUE if the area was selected, FALSE otherwise.
252 \membersection{wxGridRangeSelectEvent::ShiftDown
}\label{wxgridrangeselecteventshiftdown
}
254 \func{bool
}{ShiftDown
}{\void}
256 Returns TRUE if the Shift key was down at the time of the event.
258 \section{\class{wxGridEditorCreatedEvent
}}\label{wxgrideditorcreatedevent
}
260 \wxheading{Derived from
}
262 \helpref{wxCommandEvent
}{wxcommandevent
}\\
263 \helpref{wxEvent
}{wxevent
}\\
264 \helpref{wxObject
}{wxobject
}
266 \wxheading{Event handling
}
268 The event handler for the following functions takes a
269 \helpref{wxGridEditorCreatedEvent
}{wxgrideditorcreatedevent
} parameter.
272 \begin{twocollist
}\itemsep=
0pt
273 \twocolitem{{\bf EVT
\_GRID\_EDITOR\_CREATED(func)
}}{The editor for a cell was created. Processes a wxEVT
\_GRID\_EDITOR\_CREATED.
}
276 \latexignore{\rtfignore{\wxheading{Members
}}}
278 \membersection{wxGridEditorCreatedEvent::wxGridEditorCreatedEvent
}\label{wxgrideditorcreatedeventconstr
}
280 \func{}{wxGridEditorCreatedEvent
}{\void}
284 \func{}{wxGridEditorCreatedEvent
}{\param{int
}{id
},
\param{wxEventType
}{type
},
285 \param{wxObject*
}{obj
},
\param{int
}{row
},
\param{int
}{col
},
\param{wxControl*
}{ctrl
}}
287 \membersection{wxGridEditorCreatedEvent::GetCol
}\label{wxgrideditorcreatedeventgetcol
}
289 \func{int
}{GetCol
}{\void}
291 Returns the column at which the event occurred.
293 \membersection{wxGridEditorCreatedEvent::GetControl
}\label{wxgrideditorcreatedeventgetcontrol
}
295 \func{wxControl*
}{GetControl
}{\void}
297 Returns the edit control.
299 \membersection{wxGridEditorCreatedEvent::GetRow
}\label{wxgrideditorcreatedeventgetrow
}
301 \func{int
}{GetRow
}{\void}
303 Returns the row at which the event occurred.
305 \membersection{wxGridEditorCreatedEvent::SetCol
}\label{wxgrideditorcreatedeventsetcol
}
307 \func{void
}{SetCol
}{\param{int
}{col
}}
309 Sets the column at which the event occurred.
311 \membersection{wxGridEditorCreatedEvent::SetControl
}\label{wxgrideditorcreatedeventsetcontrol
}
313 \func{void
}{SetControl
}{\param{wxControl*
}{ctrl
}}
315 Sets the edit control.
317 \membersection{wxGridEditorCreatedEvent::SetRow
}\label{wxgrideditorcreatedeventsetrow
}
319 \func{void
}{SetRow
}{\param{int
}{row
}}
321 Sets the row at which the event occurred.