wxStatusBarPane Class Reference
[Data Structures]

#include <wx/statusbr.h>


Detailed Description

A status bar pane data container used by wxStatusBar.

Library:  wxCore

Category:  Data Structures

See also:
wxStatusBar

Public Member Functions

 wxStatusBarPane (int style=wxSB_NORMAL, size_t 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.
const wxArrayStringGetStack () const
 Returns the stack of strings pushed on this pane.

List of all members.


Constructor & Destructor Documentation

wxStatusBarPane::wxStatusBarPane ( int  style = wxSB_NORMAL,
size_t  width = 0 
)

Constructs the pane with the given style and width.


Member Function Documentation

const wxArrayString& wxStatusBarPane::GetStack (  )  const

Returns the stack of strings pushed on this pane.

Note that this stack does include also the string currently displayed in this pane as the version stored in the native status bar control is possibly ellipsized.

Also note that GetStack().Last() is the top of the stack (i.e. the string shown in the status bar).

int wxStatusBarPane::GetStyle (  )  const

Returns the pane style.

int wxStatusBarPane::GetWidth (  )  const

Returns the pane width; it maybe negative, indicating a variable-width field.



wxWidgets logo

[ top ]