wx.StatusBarPane¶A status bar pane data container used by wx.StatusBar.
See also
Methods Summary¶Constructs the pane with the given style and width. |
|
Returns the pane style. |
|
Returns the text currently shown in this pane. |
|
Returns the pane width; it maybe negative, indicating a variable-width field. |
|
Restore the message saved by the last call to Push() (unless it was changed by an intervening call to |
|
Save the existing text on top of a stack and make the new text current. |
|
Set text. |
|
Class API¶wx.StatusBarPane(object)¶Possible constructors:
StatusBarPane(style=SB_NORMAL, width=0)
A status bar pane data container used by StatusBar.
__init__(self, style=SB_NORMAL, width=0)¶Constructs the pane with the given style and width.
style (int) –
width (int) –
GetStyle(self)¶Returns the pane style.
int
GetText(self)¶Returns the text currently shown in this pane.
string
GetWidth(self)¶Returns the pane width; it maybe negative, indicating a variable-width field.
int
IsEllipsized(self)¶bool
PopText(self)¶Restore the message saved by the last call to Push() (unless it was changed by an intervening call to SetText ) and return True if we really restored anything.
bool
PushText(self, text)¶Save the existing text on top of a stack and make the new text current.
Returns True if the text really changed.
text (string) –
bool
SetIsEllipsized(self, isEllipsized)¶isEllipsized (bool) –
SetStyle(self, style)¶style (int) –
SetText(self, text)¶Set text.
Returns True if it changed or False if it was already set to this value.
text (string) –
bool
SetWidth(self, width)¶width (int) –