Inheritance diagram for wx.GBSizerItem:
The wx.GBSizerItem class is used by the wx.GridBagSizer for tracking the items in the sizer.
It adds grid position and spanning information to the normal wx.SizerItem by adding wx.GBPosition and wx.GBSpan attributes. Most of the time you will not need to use a wx.GBSizerItem directly in your code, but there are a couple of cases where it is handy.
Constructs an empty wx.GBSizerItem. Either a window, sizer or spacer size will need to be set, as well as a position and span before this item can be used in a sizer.
You will probably never need to create a wx.GBSizerItem directly as they are created automatically when the sizer’s Add method is called.
Returns:
Get the row and column of the endpoint of this item
Returns:
Get the sizer this item is a member of.
Returns:
Get the grid position of the item.
Returns:
Get the grid position of the item.
Returns:
(I, J)
Get the row and column spanning of the item.
Returns:
(row, col)
Returns True if the given pos/span would intersect with this item.
Parameters:
Returns:
bool
Returns True if the given pos/span would intersect with this item.
Parameters:
Returns:
bool
Set the sizer this item is a member of.
Parameters:
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.
Parameters:
Returns:
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.
Returns True if the change is successful and after the next Layout() the item will be resized.
Parameters:
Returns:
bool