#include <wx/statusbr.h>
A status bar pane data container used by wxStatusBar.
<>< =''>:</>&;&;< =''>\ </></>
Public Member Functions | |
wxStatusBarPane (int style=wxSB_NORMAL, int width=0) | |
Constructs the pane with the given style and width. | |
int | GetWidth () const |
Returns the pane width; it maybe negative, indicating a variable-width field. | |
int | GetStyle () const |
Returns the pane style. | |
wxString | GetText () const |
Returns the text currently shown in this pane. | |
bool | IsEllipsized () const |
void | SetIsEllipsized (bool isEllipsized) |
void | SetWidth (int width) |
void | SetStyle (int style) |
bool | SetText (const wxString &text) |
Set text. | |
bool | PushText (const wxString &text) |
Save the existing text on top of a stack and make the new text current. | |
bool | 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. | |
wxStatusBarPane::wxStatusBarPane | ( | int | style = wxSB_NORMAL, |
int | width = 0 ) |
Constructs the pane with the given style and width.
int wxStatusBarPane::GetStyle | ( | ) | const |
Returns the pane style.
wxString wxStatusBarPane::GetText | ( | ) | const |
Returns the text currently shown in this pane.
int wxStatusBarPane::GetWidth | ( | ) | const |
Returns the pane width; it maybe negative, indicating a variable-width field.
bool wxStatusBarPane::IsEllipsized | ( | ) | const |
bool wxStatusBarPane::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.
Save the existing text on top of a stack and make the new text current.
Returns true if the text really changed.
Set text.
Returns true if it changed or false if it was already set to this value.