.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. _wx.StatusBarPane:
==========================================================================================================================================
|phoenix_title| **wx.StatusBarPane**
==========================================================================================================================================
A status bar pane data container used by :ref:`wx.StatusBar`.
.. seealso:: :ref:`wx.StatusBar`
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
StatusBarPane:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.StatusBarPane.__init__` Constructs the pane with the given `style` and `width`.
:meth:`~wx.StatusBarPane.GetStyle` Returns the pane style.
:meth:`~wx.StatusBarPane.GetText` Returns the text currently shown in this pane.
:meth:`~wx.StatusBarPane.GetWidth` Returns the pane width; it maybe negative, indicating a variable-width field.
================================================================================ ================================================================================
|
|property_summary| Properties Summary
=====================================
================================================================================ ================================================================================
:attr:`~wx.StatusBarPane.Style` See :meth:`~wx.StatusBarPane.GetStyle`
:attr:`~wx.StatusBarPane.Text` See :meth:`~wx.StatusBarPane.GetText`
:attr:`~wx.StatusBarPane.Width` See :meth:`~wx.StatusBarPane.GetWidth`
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.StatusBarPane(object)
**Possible constructors**::
StatusBarPane(style: int=SB_NORMAL, width: int=0) -> None
A status bar pane data container used by StatusBar.
.. method:: __init__(self, style: int=SB_NORMAL, width: int=0)
Constructs the pane with the given `style` and `width`.
:param `style`:
:type `style`: int
:param `width`:
:type `width`: int
:rtype: `None`
.. method:: GetStyle(self)
Returns the pane style.
:rtype: `int`
.. method:: GetText(self)
Returns the text currently shown in this pane.
:rtype: `str`
.. method:: GetWidth(self)
Returns the pane width; it maybe negative, indicating a variable-width field.
:rtype: `int`
.. attribute:: Style
See :meth:`~wx.StatusBarPane.GetStyle`
.. attribute:: Text
See :meth:`~wx.StatusBarPane.GetText`
.. attribute:: Width
See :meth:`~wx.StatusBarPane.GetWidth`