#include <wx/gbsizer.h>
This class is used to hold the row and column spanning attributes of items in a wxGridBagSizer.
Public Member Functions | |
wxGBSpan () | |
Default constructor, setting the rowspan and colspan to (1,1) meaning that the item occupies one cell in each direction. More... | |
wxGBSpan (int rowspan, int colspan) | |
Construct a new wxGBSpan, setting the rowspan and colspan. More... | |
int | GetColspan () const |
Get the current colspan value. More... | |
int | GetRowspan () const |
Get the current rowspan value. More... | |
void | SetColspan (int colspan) |
Set a new colspan value. More... | |
void | SetRowspan (int rowspan) |
Set a new rowspan value. More... | |
bool | operator!= (const wxGBSpan &o) const |
Compare inequality of two wxGBSpans. More... | |
bool | operator== (const wxGBSpan &o) const |
Compare equality of two wxGBSpans. More... | |
wxGBSpan::wxGBSpan | ( | ) |
Default constructor, setting the rowspan and colspan to (1,1) meaning that the item occupies one cell in each direction.
wxGBSpan::wxGBSpan | ( | int | rowspan, |
int | colspan | ||
) |
Construct a new wxGBSpan, setting the rowspan and colspan.
int wxGBSpan::GetColspan | ( | ) | const |
Get the current colspan value.
int wxGBSpan::GetRowspan | ( | ) | const |
Get the current rowspan value.
bool wxGBSpan::operator!= | ( | const wxGBSpan & | o | ) | const |
Compare inequality of two wxGBSpans.
bool wxGBSpan::operator== | ( | const wxGBSpan & | o | ) | const |
Compare equality of two wxGBSpans.
void wxGBSpan::SetColspan | ( | int | colspan | ) |
Set a new colspan value.
void wxGBSpan::SetRowspan | ( | int | rowspan | ) |
Set a new rowspan value.