Contents Up Previous Next

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>

Members

wxGBSpan::wxGBSpan
wxGBSpan::GetColspan
wxGBSpan::GetRowspan
wxGBSpan::SetColspan
wxGBSpan::SetRowspan
wxGBSpan::operator!
wxGBSpan::operator==


wxGBSpan::wxGBSpan

wxGBSpan()

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() const

Get the current colspan value.


wxGBSpan::GetRowspan

int GetRowspan() 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.