 
       wx.lib.agw.foldpanelbar.FoldWindowItem¶
  wx.lib.agw.foldpanelbar.FoldWindowItem¶This class is a child sibling of the FoldPanelItem class. It
will contain wx.Window that can be either a separator (a coloured
line simulated by a wx.Window) or a wxPython controls (such as a
Button, a ListCtrl etc...).
 Methods Summary¶
 Methods Summary¶| __init__ | Default class constructor | 
| GetLeftSpacing | Returns the left indent of FoldWindowItem. | 
| GetLineColour | Returns the separator line colour. | 
| GetLineLength | Returns the separator line length. | 
| GetLineY | Returns the y position of the separator. | 
| GetRightSpacing | Returns the right indent of FoldWindowItem. | 
| GetSpacing | Returns the spacing of FoldWindowItem. | 
| GetType | Returns the FoldWindowItemtype. | 
| GetWindowLength | Returns space needed by the window if type is FoldWindowItem | 
| ResizeItem | Resizes the element, whatever it is. | 
 Class API¶
 Class API¶FoldWindowItem(object)¶This class is a child sibling of the FoldPanelItem class. It
will contain wx.Window that can be either a separator (a coloured
line simulated by a wx.Window) or a wxPython controls (such as a
Button, a ListCtrl etc...).
__init__(self, parent, window=None, **kw)¶Default class constructor
| Parameters: | 
 | 
|---|
See also
FoldPanelBar.AddFoldPanelWindow() for a list of valid alignment flags.
GetLeftSpacing(self)¶Returns the left indent of FoldWindowItem.
GetLineColour(self)¶Returns the separator line colour.
GetLineLength(self)¶Returns the separator line length.
GetLineY(self)¶Returns the y position of the separator.
GetRightSpacing(self)¶Returns the right indent of FoldWindowItem.
GetSpacing(self)¶Returns the spacing of FoldWindowItem.
GetType(self)¶Returns the FoldWindowItem type.
GetWindowLength(self, vertical=True)¶Returns space needed by the window if type is FoldWindowItem
“WINDOW” and returns the total size plus the extra spacing.
| Parameters: | vertical – Trueif the parentFoldPanelBaris in vertical
mode. | 
|---|
ResizeItem(self, size, vertical=True)¶Resizes the element, whatever it is.
A separator or line will be always aligned by width or height depending on orientation of the whole panel.
| Parameters: | 
 | 
|---|