contents up previous next

wxgridsizeevent

this event class contains information about a row/column resize event.

derived from

wxnotifyevent
wxcommandevent
wxevent
wxobject

include files

<wx/grid.h>

event handling

the event handler for the following functions takes a wxgridsizeevent parameter. the ..._cmd_... variants also take a window identifier.

evt_grid_col_size(func) the user resized a column by dragging it. processes a wxevt_grid_col_size.
evt_grid_row_size(func) the user resized a row by dragging it. processes a wxevt_grid_row_size.
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.
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.
members

wxgridsizeevent::wxgridsizeevent
wxgridsizeevent::altdown
wxgridsizeevent::controldown
wxgridsizeevent::getposition
wxgridsizeevent::getroworcol
wxgridsizeevent::metadown
wxgridsizeevent::shiftdown


wxgridsizeevent::wxgridsizeevent

wxgridsizeevent()

default constructor.

wxgridsizeevent(int id, wxeventtype type, wxobject* obj, int roworcol = -1, int x = -1, int y = -1, bool control = false, bool shift = false, bool alt = false, bool meta = false)


wxgridsizeevent::altdown

bool altdown()

returns true if the alt key was down at the time of the event.


wxgridsizeevent::controldown

bool controldown()

returns true if the control key was down at the time of the event.


wxgridsizeevent::getposition

wxpoint getposition()

position in pixels at which the event occurred.


wxgridsizeevent::getroworcol

int getroworcol()

row or column at that was resized.


wxgridsizeevent::metadown

bool metadown()

returns true if the meta key was down at the time of the event.


wxgridsizeevent::shiftdown

bool shiftdown()

returns true if the shift key was down at the time of the event.