$szTitle = "wxgbposition"; include "./_header.inc"; ?>
this 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::getcol
wxgbposition::getrow
wxgbposition::setcol
wxgbposition::setrow
wxgbposition::operator!
wxgbposition::operator==
wxgbposition()
wxgbposition(int row, int col)
construct a new wxgbposition, optionally setting the row and column. the default is (0,0).
int getcol() const
get the current column value.
int getrow() const
get the current row value.
void setcol(int col)
set a new column value.
void setrow(int row)
set a new row value.
bool operator!(const wxgbposition& p) const
is the wxgbposition valid? (an invalid wxgbposition is (-1,-1). )
bool operator operator==(const wxgbposition& p) const
compare equality of two wxgbpositions.
include "./_footer.inc"; ?>