2002-01-14 11:40:44 -05:00
\section { \class { wxGridEditorCreatedEvent} } \label { wxgrideditorcreatedevent}
2001-12-23 16:26:11 -05:00
\wxheading { Derived from}
\helpref { wxCommandEvent} { wxcommandevent} \\
\helpref { wxEvent} { wxevent} \\
\helpref { wxObject} { wxobject}
\wxheading { Event handling}
2002-01-14 11:40:44 -05:00
The event handler for the following functions takes a
\helpref { wxGridEditorCreatedEvent} { wxgrideditorcreatedevent} parameter.
2004-06-13 19:17:00 -04:00
The ...\_ CMD\_ ... variants also take a window identifier.
2002-01-14 11:40:44 -05:00
\twocolwidtha { 7cm}
\begin { twocollist} \itemsep =0pt
\twocolitem { { \bf EVT\_ GRID\_ EDITOR\_ CREATED(func)} } { The editor for a cell was created. Processes a wxEVT\_ GRID\_ EDITOR\_ CREATED.}
2004-06-13 19:17:00 -04:00
\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.}
2002-01-14 11:40:44 -05:00
\end { twocollist} %
2001-12-23 16:26:11 -05:00
2005-02-20 12:06:25 -05:00
\wxheading { Include files}
<wx/grid.h>
2001-12-23 16:26:11 -05:00
\latexignore { \rtfignore { \wxheading { Members} } }
2002-01-14 11:40:44 -05:00
\membersection { wxGridEditorCreatedEvent::wxGridEditorCreatedEvent} \label { wxgrideditorcreatedeventconstr}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { } { wxGridEditorCreatedEvent} { \void }
2001-12-23 16:26:11 -05:00
Default constructor.
2002-01-14 11:40:44 -05:00
\func { } { wxGridEditorCreatedEvent} { \param { int } { id} , \param { wxEventType } { type} ,
\param { wxObject* } { obj} , \param { int } { row} , \param { int } { col} , \param { wxControl* } { ctrl} }
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridEditorCreatedEvent::GetCol} \label { wxgrideditorcreatedeventgetcol}
2001-12-23 16:26:11 -05:00
\func { int} { GetCol} { \void }
2002-01-14 11:40:44 -05:00
Returns the column at which the event occurred.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridEditorCreatedEvent::GetControl} \label { wxgrideditorcreatedeventgetcontrol}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { wxControl*} { GetControl} { \void }
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
Returns the edit control.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridEditorCreatedEvent::GetRow} \label { wxgrideditorcreatedeventgetrow}
2001-12-23 16:26:11 -05:00
\func { int} { GetRow} { \void }
2002-01-14 11:40:44 -05:00
Returns the row at which the event occurred.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridEditorCreatedEvent::SetCol} \label { wxgrideditorcreatedeventsetcol}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { void} { SetCol} { \param { int } { col} }
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
Sets the column at which the event occurred.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridEditorCreatedEvent::SetControl} \label { wxgrideditorcreatedeventsetcontrol}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { void} { SetControl} { \param { wxControl* } { ctrl} }
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
Sets the edit control.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridEditorCreatedEvent::SetRow} \label { wxgrideditorcreatedeventsetrow}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { void} { SetRow} { \param { int } { row} }
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
Sets the row at which the event occurred.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\section { \class { wxGridEvent} } \label { wxgridevent}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
This event class contains information about various grid events.
2001-12-23 16:26:11 -05:00
\wxheading { Derived from}
\helpref { wxNotifyEvent} { wxnotifyevent} \\
\helpref { wxCommandEvent} { wxcommandevent} \\
\helpref { wxEvent} { wxevent} \\
\helpref { wxObject} { wxobject}
\wxheading { Include files}
<wx/grid.h>
\wxheading { Event handling}
2002-01-14 11:40:44 -05:00
\input gridevt.inc
2001-12-23 16:26:11 -05:00
\latexignore { \rtfignore { \wxheading { Members} } }
2002-01-14 11:40:44 -05:00
\membersection { wxGridEvent::wxGridEvent} \label { wxgrideventconstr}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { } { wxGridEvent} { \void }
2001-12-23 16:26:11 -05:00
Default constructor.
2002-01-14 11:40:44 -05:00
\func { } { wxGridEvent} { \param { int } { id} , \param { wxEventType } { type} , \param { wxObject* } { obj} ,
\param { int } { row = -1} , \param { int } { col = -1} , \param { int } { x = -1} , \param { int } { y = -1} ,
2003-01-17 19:16:34 -05:00
\param { bool } { sel = true} , \param { bool } { control = false} , \param { bool } { shift = false} ,
\param { bool } { alt = false} , \param { bool } { meta = false} }
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\wxheading { Parameters}
\membersection { wxGridEvent::AltDown} \label { wxgrideventaltdown}
2001-12-23 16:26:11 -05:00
\func { bool} { AltDown} { \void }
2003-01-17 19:16:34 -05:00
Returns true if the Alt key was down at the time of the event.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridEvent::ControlDown} \label { wxgrideventcontroldown}
2001-12-23 16:26:11 -05:00
\func { bool} { ControlDown} { \void }
2003-01-17 19:16:34 -05:00
Returns true if the Control key was down at the time of the event.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridEvent::GetCol} \label { wxgrideventgetcol}
\func { int} { GetCol} { \void }
Column at which the event occurred.
\membersection { wxGridEvent::GetPosition} \label { wxgrideventgetposition}
2001-12-23 16:26:11 -05:00
\func { wxPoint} { GetPosition} { \void }
Position in pixels at which the event occurred.
2002-01-14 11:40:44 -05:00
\membersection { wxGridEvent::GetRow} \label { wxgrideventgetrow}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { int} { GetRow} { \void }
2001-12-23 16:26:11 -05:00
2002-06-07 16:15:28 -04:00
Row at which the event occurred.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridEvent::MetaDown} \label { wxgrideventmetadown}
2001-12-23 16:26:11 -05:00
\func { bool} { MetaDown} { \void }
2003-01-17 19:16:34 -05:00
Returns true if the Meta key was down at the time of the event.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridEvent::Selecting} \label { wxgrideventselecting}
\func { bool} { Selecting} { \void }
2003-01-17 19:16:34 -05:00
Returns true if the user deselected a cell, false if the user
2002-01-14 11:40:44 -05:00
deselected a cell.
\membersection { wxGridEvent::ShiftDown} \label { wxgrideventshiftdown}
2001-12-23 16:26:11 -05:00
\func { bool} { ShiftDown} { \void }
2003-01-17 19:16:34 -05:00
Returns true if the Shift key was down at the time of the event.
2001-12-23 16:26:11 -05:00
\section { \class { wxGridRangeSelectEvent} } \label { wxgridrangeselectevent}
\wxheading { Derived from}
\helpref { wxNotifyEvent} { wxnotifyevent} \\
\helpref { wxCommandEvent} { wxcommandevent} \\
\helpref { wxEvent} { wxevent} \\
\helpref { wxObject} { wxobject}
\wxheading { Event handling}
The event handler for the following functions takes a
\helpref { wxGridRangeSelectEvent} { wxgridrangeselectevent} parameter.
2004-06-13 19:17:00 -04:00
The ...\_ CMD\_ ... variants also take a window identifier.
2001-12-23 16:26:11 -05:00
\twocolwidtha { 7cm}
\begin { twocollist} \itemsep =0pt
\twocolitem { { \bf EVT\_ GRID\_ RANGE\_ SELECT(func)} } { The user selected a group of contiguous cells. Processes a wxEVT\_ GRID\_ RANGE\_ SELECT.}
2004-06-13 19:17:00 -04:00
\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.}
2001-12-23 16:26:11 -05:00
\end { twocollist} %
2005-02-20 12:06:25 -05:00
\wxheading { Include files}
<wx/grid.h>
2001-12-23 16:26:11 -05:00
\latexignore { \rtfignore { \wxheading { Members} } }
\membersection { wxGridRangeSelectEvent::wxGridRangeSelectEvent} \label { wxgridrangeselecteventconstr}
\func { } { wxGridRangeSelectEvent} { \void }
Default constructor.
\func { } { wxGridRangeSelectEvent} { \param { int } { id} , \param { wxEventType } { type} ,
\param { wxObject* } { obj} , \param { const wxGridCellCoords\& } { topLeft} ,
2003-01-17 19:16:34 -05:00
\param { const wxGridCellCoords\& } { bottomRight} , \param { bool } { sel = true} ,
\param { bool } { control = false} , \param { bool } { shift = false} , \param { bool } { alt = false} ,
\param { bool } { meta = false} }
2001-12-23 16:26:11 -05:00
\membersection { wxGridRangeSelectEvent::AltDown} \label { wxgridrangeselecteventaltdown}
\func { bool} { AltDown} { \void }
2003-01-17 19:16:34 -05:00
Returns true if the Alt key was down at the time of the event.
2001-12-23 16:26:11 -05:00
\membersection { wxGridRangeSelectEvent::ControlDown} \label { wxgridrangeselecteventcontroldown}
\func { bool} { ControlDown} { \void }
2003-01-17 19:16:34 -05:00
Returns true if the Control key was down at the time of the event.
2001-12-23 16:26:11 -05:00
\membersection { wxGridRangeSelectEvent::GetBottomRightCoords} \label { wxgridrangeselecteventgetbottomrightcoords}
\func { wxGridCellCoords} { GetBottomRightCoords} { \void }
Top left corner of the rectangular area that was (de)selected.
\membersection { wxGridRangeSelectEvent::GetBottomRow} \label { wxgridrangeselecteventgetbottomrow}
\func { int} { GetBottomRow} { \void }
Bottom row of the rectangular area that was (de)selected.
\membersection { wxGridRangeSelectEvent::GetLeftCol} \label { wxgridrangeselecteventgetleftcol}
\func { int} { GetLeftCol} { \void }
2002-06-07 16:15:28 -04:00
Left column of the rectangular area that was (de)selected.
2001-12-23 16:26:11 -05:00
\membersection { wxGridRangeSelectEvent::GetRightCol} \label { wxgridrangeselecteventgetrightcol}
\func { int} { GetRightCol} { \void }
Right column of the rectangular area that was (de)selected.
\membersection { wxGridRangeSelectEvent::GetTopLeftCoords} \label { wxgridrangeselecteventgettopleftcoords}
\func { wxGridCellCoords} { GetTopLeftCoords} { \void }
2002-06-07 16:15:28 -04:00
Top left corner of the rectangular area that was (de)selected.
2001-12-23 16:26:11 -05:00
\membersection { wxGridRangeSelectEvent::GetTopRow} \label { wxgridrangeselecteventgettoprow}
\func { int} { GetTopRow} { \void }
Top row of the rectangular area that was (de)selected.
\membersection { wxGridRangeSelectEvent::MetaDown} \label { wxgridrangeselecteventmetadown}
\func { bool} { MetaDown} { \void }
2003-01-17 19:16:34 -05:00
Returns true if the Meta key was down at the time of the event.
2001-12-23 16:26:11 -05:00
\membersection { wxGridRangeSelectEvent::Selecting} \label { wxgridrangeselecteventselecting}
\func { bool} { Selecting} { \void }
2003-01-17 19:16:34 -05:00
Returns true if the area was selected, false otherwise.
2001-12-23 16:26:11 -05:00
\membersection { wxGridRangeSelectEvent::ShiftDown} \label { wxgridrangeselecteventshiftdown}
\func { bool} { ShiftDown} { \void }
2003-01-17 19:16:34 -05:00
Returns true if the Shift key was down at the time of the event.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\section { \class { wxGridSizeEvent} } \label { wxgridsizeevent}
This event class contains information about a row/column resize event.
2001-12-23 16:26:11 -05:00
\wxheading { Derived from}
2002-01-14 11:40:44 -05:00
\helpref { wxNotifyEvent} { wxnotifyevent} \\
2001-12-23 16:26:11 -05:00
\helpref { wxCommandEvent} { wxcommandevent} \\
\helpref { wxEvent} { wxevent} \\
\helpref { wxObject} { wxobject}
2002-01-14 11:40:44 -05:00
\wxheading { Include files}
<wx/grid.h>
2001-12-23 16:26:11 -05:00
\wxheading { Event handling}
The event handler for the following functions takes a
2002-01-14 11:40:44 -05:00
\helpref { wxGridSizeEvent} { wxgridsizeevent} parameter.
2004-06-13 19:17:00 -04:00
The ...\_ CMD\_ ... variants also take a window identifier.
2001-12-23 16:26:11 -05:00
\twocolwidtha { 7cm}
\begin { twocollist} \itemsep =0pt
2002-01-14 11:40:44 -05:00
\twocolitem { { \bf EVT\_ GRID\_ COL\_ SIZE(func)} } { The user resized a column by dragging it. Processes a wxEVT\_ GRID\_ COL\_ SIZE.}
\twocolitem { { \bf EVT\_ GRID\_ ROW\_ SIZE(func)} } { The user resized a row by dragging it. Processes a wxEVT\_ GRID\_ ROW\_ SIZE.}
2004-06-13 19:17:00 -04:00
\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.}
\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.}
2001-12-23 16:26:11 -05:00
\end { twocollist} %
\latexignore { \rtfignore { \wxheading { Members} } }
2002-01-14 11:40:44 -05:00
\membersection { wxGridSizeEvent::wxGridSizeEvent} \label { wxgridsizeeventconstr}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { } { wxGridSizeEvent} { \void }
2001-12-23 16:26:11 -05:00
Default constructor.
2002-01-14 11:40:44 -05:00
\func { } { wxGridSizeEvent} { \param { int } { id} , \param { wxEventType } { type} ,
\param { wxObject* } { obj} , \param { int } { rowOrCol = -1} , \param { int } { x = -1} ,
2003-01-17 19:16:34 -05:00
\param { int } { y = -1} , \param { bool } { control = false} , \param { bool } { shift = false} ,
\param { bool } { alt = false} , \param { bool } { meta = false} }
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridSizeEvent::AltDown} \label { wxgridsizeeventaltdown}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { bool} { AltDown} { \void }
2001-12-23 16:26:11 -05:00
2003-01-17 19:16:34 -05:00
Returns true if the Alt key was down at the time of the event.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridSizeEvent::ControlDown} \label { wxgridsizeeventcontroldown}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { bool} { ControlDown} { \void }
2001-12-23 16:26:11 -05:00
2003-01-17 19:16:34 -05:00
Returns true if the Control key was down at the time of the event.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridSizeEvent::GetPosition} \label { wxgridsizeeventgetposition}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { wxPoint} { GetPosition} { \void }
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
Position in pixels at which the event occurred.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridSizeEvent::GetRowOrCol} \label { wxgridsizeeventgetroworcol}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { int} { GetRowOrCol} { \void }
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
Row or column at that was resized.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridSizeEvent::MetaDown} \label { wxgridsizeeventmetadown}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { bool} { MetaDown} { \void }
2001-12-23 16:26:11 -05:00
2003-01-17 19:16:34 -05:00
Returns true if the Meta key was down at the time of the event.
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\membersection { wxGridSizeEvent::ShiftDown} \label { wxgridsizeeventshiftdown}
2001-12-23 16:26:11 -05:00
2002-01-14 11:40:44 -05:00
\func { bool} { ShiftDown} { \void }
2001-12-23 16:26:11 -05:00
2003-01-17 19:16:34 -05:00
Returns true if the Shift key was down at the time of the event.
2001-12-23 16:26:11 -05:00