Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Module foldpanelbar :: Class CaptionBarStyle |
|
This class encapsulates the styles you wish to set for the
CaptionBar
(this is the part of the FoldPanel where the caption
is displayed). It can either be applied at creation time be
reapplied when styles need to be changed.
At construction time, all styles are set to their default
transparency. This means none of the styles will be applied to
the CaptionBar
in question, meaning it will be created using the
default internals. When setting i.e the color, font or panel
style, these styles become active to be used.
Method Summary | |
---|---|
Default constructor for this class. | |
Checks if the caption colour of the caption bar is set. | |
Checks if the caption bar font is set. | |
Checks if the caption style of the caption bar is set. | |
Checks if the first colour of the caption bar is set. | |
Returns the caption colour for the caption bar. | |
Returns the font for the caption bar. | |
Returns the caption style for the caption bar. | |
Returns the first colour for the caption bar. | |
Returns the second colour for the caption bar. | |
Resets default CaptionBarStyle. | |
Checks if the second colour of the caption bar is set. | |
Sets caption colour for the caption bar. | |
Sets font for the caption bar. | |
Sets caption style for the caption bar. | |
Sets first colour for the caption bar. | |
Sets second colour for the caption bar. |
Method Details |
---|
__init__(self)
|
CaptionColourUsed(self)Checks if the caption colour of the caption bar is set. |
CaptionFontUsed(self)Checks if the caption bar font is set. |
CaptionStyleUsed(self)Checks if the caption style of the caption bar is set. |
FirstColourUsed(self)Checks if the first colour of the caption bar is set. |
GetCaptionColour(self)Returns the caption colour for the caption bar. Please be warned this will result in an assertion failure when this property is not previously set. See also SetCaptionColour(), CaptionColourUsed() |
GetCaptionFont(self)Returns the font for the caption bar. Please be warned this will result in an assertion failure when this property is not previously set.
|
GetCaptionStyle(self)Returns the caption style for the caption bar. Please be warned this will result in an assertion failure when this property is not previously set.
|
GetFirstColour(self)Returns the first colour for the caption bar. Please be warned this will result in an assertion failure when this property is not previously set.
|
GetSecondColour(self)Returns the second colour for the caption bar. Please be warned this will result in an assertion failure when this property is not previously set.
|
ResetDefaults(self)Resets default CaptionBarStyle. |
SecondColourUsed(self)Checks if the second colour of the caption bar is set. |
SetCaptionColour(self, colour)Sets caption colour for the caption bar. If this is not set, the colour property is undefined and will
not be used. Use |
SetCaptionFont(self, font)Sets font for the caption bar. If this is not set, the font property is undefined and will
not be used. Use |
SetCaptionStyle(self, style)Sets caption style for the caption bar. If this is not set, the property is undefined and will not be used. Use CaptionStyleUsed() to check if this style is used. The following styles can be applied:
|
SetFirstColour(self, colour)Sets first colour for the caption bar. If this is not set, the colour property is undefined and will
not be used. Use |
SetSecondColour(self, colour)Sets second colour for the caption bar. If this is not set, the colour property is undefined and will
not be used. Use |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:09:46 2007 | http://epydoc.sf.net |