wx.GBSpan¶This class is used to hold the row and column spanning attributes of items in a wx.GridBagSizer.
 Class Hierarchy¶
Inheritance diagram for class GBSpan:
 Methods Summary¶Default constructor, setting the rowspan and colspan to (1,1) meaning that the item occupies one cell in each direction.  | 
|
Return the rowspan and colspan properties as a tuple.  | 
|
Get the current colspan value.  | 
|
Returns an immutable representation of the   | 
|
Get the current rowspan value.  | 
|
Set both the rowspan and colspan properties.  | 
|
Set a new colspan value.  | 
|
Set a new rowspan value.  | 
|
Compare inequality of two GBSpans.  | 
|
Compare equality of two GBSpans.  | 
 Properties Summary¶See   | 
|
See   | 
|
See   | 
|
See   | 
 Class API¶Possible constructors:
GBSpan() -> None
GBSpan(rowspan, colspan) -> None
This class is used to hold the row and column spanning attributes of items in a GridBagSizer.
__init__ (self)
Default constructor, setting the rowspan and colspan to (1,1) meaning that the item occupies one cell in each direction.
None
__init__ (self, rowspan, colspan)
Construct a new   wx.GBSpan, setting the rowspan  and colspan.
rowspan (int)
colspan (int)
None
Return the rowspan and colspan properties as a tuple.
Any
Get the current colspan value.
int
Returns an immutable representation of the wx.GBSpan object, based on namedtuple.
This new object is hashable and can be used as a dictionary key,
be added to sets, etc.  It can be converted back into a real wx.GBSpan
with a simple statement like this: obj = wx.GBSpan(imObj).
Get the current rowspan value.
int
Set both the rowspan and colspan properties.
None
Set a new colspan value.
colspan (int)
None
Set a new rowspan value.
rowspan (int)
None
See GetColspan and SetColspan
See GetRowspan and SetRowspan
See GetColspan and SetColspan
See GetRowspan and SetRowspan