Phoenix Logo

phoenix_title wx.StatusBarPane

A status bar pane data container used by wx.StatusBar.

See also

wx.StatusBar


class_hierarchy Class Hierarchy

Inheritance diagram for class StatusBarPane:


method_summary 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  

property_summary Properties Summary

Style See GetStyle and SetStyle
Text See GetText and SetText
Width See GetWidth and SetWidth

api Class API



class wx.StatusBarPane(object)

Possible constructors:

StatusBarPane(style=SB_NORMAL, width=0)

A status bar pane data container used by StatusBar.


Methods



__init__(self, style=SB_NORMAL, width=0)

Constructs the pane with the given style and width.

Parameters:
  • style (int) –
  • width (int) –


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) –

Properties



Style

See GetStyle and SetStyle



Text

See GetText and SetText



Width

See GetWidth and SetWidth