wx.StatusBarPane¶A status bar pane data container used by wx.StatusBar.
See also
Methods Summary¶__init__ |
Constructs the pane with the given style and width. |
GetStyle |
Returns the pane style. |
GetText |
Returns the text currently shown in this pane. |
GetWidth |
Returns the pane width; it maybe negative, indicating a variable-width field. |
IsEllipsized |
|
PopText |
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. |
PushText |
Save the existing text on top of a stack and make the new text current. |
SetIsEllipsized |
|
SetStyle |
|
SetText |
Set text. |
SetWidth |
Properties Summary¶Style |
See GetStyle and SetStyle |
Text |
See GetText and SetText |
Width |
See GetWidth and SetWidth |
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.
| Parameters: |
|
|---|
GetStyle(self)¶Returns the pane style.
| Return type: | int |
|---|
GetText(self)¶Returns the text currently shown in this pane.
| Return type: | string |
|---|
GetWidth(self)¶Returns the pane width; it maybe negative, indicating a variable-width field.
| Return type: | int |
|---|
IsEllipsized(self)¶| Return type: | 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.
| Return type: | 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.
| Parameters: | text (string) – |
|---|---|
| Return type: | bool |
SetIsEllipsized(self, isEllipsized)¶| Parameters: | isEllipsized (bool) – |
|---|
SetStyle(self, style)¶| Parameters: | style (int) – |
|---|
SetText(self, text)¶Set text.
Returns True if it changed or False if it was already set to this value.
| Parameters: | text (string) – |
|---|---|
| Return type: | bool |
SetWidth(self, width)¶| Parameters: | width (int) – |
|---|