Home | Trees | Index | Help |
|
---|
Package wx :: Class GBSizerItem |
|
object
--+ |Object
--+ |SizerItem
--+ | GBSizerItem
The wx.GBSizerItem class is used to track the additional data about
items in a wx.GridBagSizer
such as the item's position in the grid
and how many rows or columns it spans.
Method Summary | |
---|---|
GBSizerItem |
Constructs an empty wx.GBSizerItem. |
__del__(self)
| |
GBPosition |
Get the row and column of the endpoint of this item. |
GridBagSizer |
Get the sizer this item is a member of. |
GBPosition |
Get the grid position of the item |
GetPosTuple(self)
| |
GBSpan |
Get the row and column spanning of the item |
GetSpanTuple(self)
| |
bool |
Returns True if this item and the other item instersect. |
bool |
Returns True if the given pos/span would intersect with this item. |
Set the sizer this item is a member of. | |
bool |
If the item is already a member of a sizer then first ensure that there is no other item that would intersect with this one at the new position, then set the new position. |
bool |
If the item is already a member of a sizer then first ensure that there is no other item that would intersect with this one with its new spanning size, then set the new spanning. |
Property Summary | |
---|---|
EndPos : See GetEndPos | |
GBSizer : See GetGBSizer and SetGBSizer | |
Pos : See GetPos and SetPos | |
Span : See GetSpan and SetSpan | |
thisown : The membership flag |
Method Details |
---|
__init__(self)
|
GetEndPos(self)Get the row and column of the endpoint of this item.
|
GetGBSizer(self)Get the sizer this item is a member of.
|
GetPos(self)Get the grid position of the item
|
GetSpan(self)Get the row and column spanning of the item
|
Intersects(self, other)Returns True if this item and the other item instersect.
|
IntersectsPos(self, pos, span)Returns True if the given pos/span would intersect with this item.
|
SetGBSizer(self, sizer)Set the sizer this item is a member of.
|
SetPos(self, pos)If the item is already a member of a sizer then first ensure that there is no other item that would intersect with this one at the new position, then set the new position. Returns True if the change is successful and after the next Layout() the item will be moved.
|
SetSpan(self, span)If the item is already a member of a sizer then first ensure that there is no other item that would intersect with this one with its new spanning size, then set the new spanning. Returns True if the change is successful and after the next Layout() the item will be resized.
|
Property Details |
---|
EndPosSee
|
GBSizerSee
|
Pos |
Span |
thisownThe membership flag |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:12:05 2007 | http://epydoc.sf.net |