wxgbpositionthis class represents the position of an item in a virtual grid of rows and columns managed by a wxgridbagsizer. derived from no base class include files <wx/gbsizer.h> members
wxgbposition::wxgbposition
wxgbposition::wxgbpositionwxgbposition() wxgbposition(int row, int col) construct a new wxgbposition, optionally setting the row and column. the default is (0,0).
wxgbposition::getcolint getcol() const get the current column value.
wxgbposition::getrowint getrow() const get the current row value.
wxgbposition::setcolvoid setcol(int col) set a new column value.
wxgbposition::setrowvoid setrow(int row) set a new row value.
wxgbposition::operator!bool operator!(const wxgbposition& p) const is the wxgbposition valid? (an invalid wxgbposition is (-1,-1). )
wxgbposition::operator==bool operator operator==(const wxgbposition& p) const compare equality of two wxgbpositions.
|