wx.lib.agw.buttonpanel.ButtonPanelText¶This class is used to hold data about the main caption in ButtonPanel.
Methods Summary¶__init__ |
Default class constructor. |
CreateDC |
Convenience function to create a wx.DC. |
Draw |
Draws the main caption. Actually the drawing is done in BPArt. |
GetBestSize |
Returns the best size for the main caption in ButtonPanel. |
GetText |
Returns the caption text. |
SetText |
Sets the caption text. |
Class API¶This class is used to hold data about the main caption in ButtonPanel.
Default class constructor.
| Parameters: |
|
|---|
Convenience function to create a wx.DC.
Draws the main caption. Actually the drawing is done in BPArt.
| Parameters: |
|---|
Returns the best size for the main caption in ButtonPanel.
| Returns: | An instance of wx.Size. |
|---|
Returns the caption text.
| Returns: | A string representing the caption text. |
|---|
Sets the caption text.
| Parameters: | text (string) – the main caption string. |
|---|