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…).
Class Hierarchy¶
Inheritance diagram for class FoldWindowItem:
Methods Summary¶Default class constructor |
|
Returns the left indent of |
|
Returns the separator line colour. |
|
Returns the separator line length. |
|
Returns the y position of the separator. |
|
Returns the right indent of |
|
Returns the spacing of |
|
Returns the |
|
Returns space needed by the window if type is |
|
Resizes the element, whatever it is. |
Class API¶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…).
Default class constructor
parent – the FoldWindowItem parent;
window – the window contained in this item.
Type – can be “WINDOW” or “SEPARATOR”;
lineColour – the separator colour (meaningful for separators only);
y – the separator y position (meaningful for separators only);
flags – the alignment flags;
spacing – reserves a number of pixels before the window/separator element;
leftSpacing – an indent, in pixels;
rightSpacing – a right spacing, only relevant when the style
FPB_ALIGN_WIDTH is chosen.
See also
FoldPanelBar.AddFoldPanelWindow() for a list of valid alignment flags.
Returns the left indent of FoldWindowItem.
Returns the separator line colour.
Returns the separator line length.
Returns the y position of the separator.
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.
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.
size – the maximum size available for the FoldWindowItem;
vertical – True if the parent FoldPanelBar is in vertical
mode.