wxGBSpan

This class is used to hold the row and column spanning attributes of items in a wxGridBagSizer.

Derived from

No base class

Include files

<wx/gbsizer.h>



wxGBSpan::wxGBSpan



wxGBSpan(void)



wxGBSpan(int rowspan, int colspan)

Construct a new wxGBSpan, optionally setting the rowspan and colspan. The default is (1,1). (Meaning that the item occupies one cell in each direction.



wxGBSpan::GetColspan

int GetColspan(void) const

Get the current colspan value.



wxGBSpan::GetRowspan

int GetRowspan(void) const

Get the current rowspan value.



wxGBSpan::SetColspan



void SetColspan(int colspan)

Set a new colspan value.



wxGBSpan::SetRowspan



void SetRowspan(int rowspan)

Set a new rowspan value.



wxGBSpan::operator!

bool operator!(const wxGBSpan& o) const

Is the wxGBSpan valid? (An invalid wxGBSpan is (-1,-1). )



wxGBSpan::operator$==$

bool operator operator$==$(const wxGBSpan& o) const

Compare equality of two wxGBSpans.

ymasuda 平成17年11月19日