Home | Trees | Index | Help |
|
---|
Module FoldPanelBar :: Class FoldPanelItem |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |Panel
--+ | FoldPanelItem
Method Summary | |
---|---|
Default Class Constructor. | |
Adds a separator item to the list of items on this panel. | |
Adds a window item to the list of items on this panel. | |
Applies the style defined in cbstyle to the CaptionBar. | |
Collapse(self)
| |
Expand(self)
| |
Returns height of caption only. | |
Returns the current style of the captionbar in a CaptionBarStyle class. | |
Returns item's position. | |
Returns size of panel. | |
Returns expanded or collapsed status. | |
Returns wether the CaptionBar Has Default Orientation Or Not. | |
Handles the EVT_PAINT event in the FoldPanelItem. | |
Handles the EVT_CAPTIONBAR event in the FoldPanelItem. | |
Repositions this FoldPanelBar and reports the length occupied for the next FoldPanelBar in the list. | |
Resizes the panel. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
CaptionBarStyle |
EmptyCaptionBarStyle = <FoldPanelBar.CaptionBarStyle ins...
|
Instance Method Details |
---|
__init__(self,
parent,
id=-1,
caption='',
foldIcons=<wx._gdi.ImageList; proxy of C++ wxImageList instance at ...,
collapsed=False,
cbstyle=<FoldPanelBar.CaptionBarStyle instance at 0x009717D8>)
Default Class Constructor.
|
AddSeparator(self, colour=wx.Colour(0, 0, 0), Spacing=8, leftSpacing=5, rightSpacing=10)Adds a separator item to the list of items on this panel. |
AddWindow(self, window, flags=1, Spacing=8, leftSpacing=2, rightSpacing=2)Adds a window item to the list of items on this panel. The flags are wxFPB_ALIGN_LEFT for a non sizing window element, and wxFPB_ALIGN_WIDTH for a width alligned item. The Spacing parameter reserves a number of pixels before the window element, and leftSpacing is an indent. rightSpacing is only relevant when the style wxFPB_ALIGN_WIDTH is chosen. |
ApplyCaptionStyle(self, cbstyle)Applies the style defined in cbstyle to the CaptionBar. |
GetCaptionLength(self)Returns height of caption only. This is for folding calculation purposes. |
GetCaptionStyle(self)Returns the current style of the captionbar in a CaptionBarStyle class. This can be used to change and set back the changes. |
GetItemPos(self)Returns item's position. |
GetPanelLength(self)Returns size of panel. |
IsExpanded(self)Returns expanded or collapsed status. If the panel is expanded, True is returned. |
IsVertical(self)Returns wether the CaptionBar Has Default Orientation Or Not. Default is vertical. |
OnPaint(self, event)Handles the EVT_PAINT event in the FoldPanelItem.
|
OnPressCaption(self, event)Handles the EVT_CAPTIONBAR event in the FoldPanelItem. |
Reposition(self, pos)Repositions this FoldPanelBar and reports the length occupied for the next FoldPanelBar in the list. |
ResizePanel(self)Resizes the panel. |
Class Variable Details |
---|
EmptyCaptionBarStyle
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Mar 24 21:26:20 2005 | http://epydoc.sf.net |