wxGBPosition

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>



wxGBPosition::wxGBPosition



wxGBPosition(void)



wxGBPosition(int row, int col)

Construct a new wxGBPosition, optionally setting the row and column. The default is (0,0).



wxGBPosition::GetCol

int GetCol(void) const

Get the current column value.



wxGBPosition::GetRow

int GetRow(void) const

Get the current row value.



wxGBPosition::SetCol



void SetCol(int col)

Set a new column value.



wxGBPosition::SetRow



void 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.

ymasuda 平成17年11月19日