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(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.
int GetColspan() const
Get the current colspan value.
int GetRowspan() const
Get the current rowspan value.
void SetColspan(int colspan)
Set a new colspan value.
void SetRowspan(int rowspan)
Set a new rowspan value.
bool operator!(const wxGBSpan& o) const
Is the wxGBSpan valid? (An invalid wxGBPosition is (-1,-1). )
bool operator operator==(const wxGBSpan& o) const
Compare equality of two wxGBSpans.