A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wxpython.org/Phoenix/docs/html/wx.CollapsibleHeaderCtrl.html below:

wx.CollapsibleHeaderCtrl — wxPython Phoenix 4.2.4a1 documentation

wx.CollapsibleHeaderCtrl¶

Header control above a collapsible pane.

The collapsible header usually consists of a small indicator of the collapsed state and the label text beside it. This class is used by the generic implementation of wx.CollapsiblePane but maybe used in more complex layouts for other uses.

Events Emitted by this Class¶

Handlers bound for the following event types will receive a wx.CommandEvent parameter.

Added in version 4.1/wxWidgets-3.1.0.

Class Hierarchy¶

Inheritance diagram for class

CollapsibleHeaderCtrl

:

Methods Summary¶ Class API¶
class wx.CollapsibleHeaderCtrl(Control)¶

Possible constructors:

CollapsibleHeaderCtrl() -> None

CollapsibleHeaderCtrl(parent, id=ID_ANY, label="", pos=DefaultPosition,
                      size=DefaultSize, style=BORDER_NONE, validator=DefaultValidator,
                      name=CollapsibleHeaderCtrlNameStr) -> None

Header control above a collapsible pane.


Methods¶
__init__(self, *args, **kw)¶

Overloaded Implementations:

__init__ (self)

Return type:

None

__init__ (self, parent, id=ID_ANY, label=””, pos=DefaultPosition, size=DefaultSize, style=BORDER_NONE, validator=DefaultValidator, name=CollapsibleHeaderCtrlNameStr)

Constructor fully creating the control.

The arguments have the usual meanings and only parent is typically required.

Parameters:
Return type:

None



Create(self, parent, id=ID_ANY, label='', pos=DefaultPosition, size=DefaultSize, style=BORDER_NONE, validator=DefaultValidator, name=CollapsibleHeaderCtrlNameStr)¶

Create the control initialized using the default constructor.

This method can be used to finish the control creation if it hadn’t been done already by using the non-default constructor.

Parameters:
Return type:

bool


static GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)¶
Parameters:

variant (WindowVariant)

Return type:

wx.VisualAttributes


IsCollapsed(self)¶

Returns true if the control is collapsed.

Return type:

bool


SetCollapsed(self, collapsed=True)¶

Set collapsed state of the header.

Parameters:

collapsed (bool)

Return type:

None


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4