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 wx.Button, a wx.ListCtrl etc...).
__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 FoldWindowItem type. |
GetWindowLength | Returns space needed by the window if type is FoldWindowItem |
ResizeItem | Resizes the element, whatever it is. |
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 wx.Button, a wx.ListCtrl etc...).
Default class constructor
Parameters: |
|
---|
See also
FoldPanelBar.AddFoldPanelWindow() for a list of valid alignment flags.
Returns the left indent of FoldWindowItem.
Returns the right indent of FoldWindowItem.
Returns the spacing of FoldWindowItem.
Returns the FoldWindowItem type.
Returns space needed by the window if type is FoldWindowItem “WINDOW” and returns the total size plus the extra spacing.
Parameters: | vertical – True if the parent FoldPanelBar is in vertical mode. |
---|
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: |
|
---|