vi.pane
¶
Module Contents¶
Classes¶
Base class for Panes. |
|
This pane groups subpanes; it cannot have direct childrens |
- class vi.pane.Pane(descr=None, iconURL=None, iconClasses=None, closeable=False, collapseable=True, focusable=True, path=None)¶
Bases:
flare.html5.Div
Base class for Panes.
A pane represents a entry in the module list as well as a list of widgets associated with this pane.
It is possible to stack panes on-top of each other. If a pane is active, _all_ its child widgets are visible (through they might overlap).
- __setattr__(key, value)¶
- setImage(loading=False)¶
- lock()¶
- unlock()¶
- setText(descr=None, iconURL=None, loading=False)¶
- onBtnCloseReleased(*args, **kwargs)¶
- addChildPane(pane)¶
Stack a pane under this one. It gets displayed as a subpane. :param pane: Another pane :type pane: pane
- removeChildPane(pane)¶
Removes a subpane. :param pane: The pane to remove. Must be a direct child of this pane :type pane: Pane
- onDetach()¶
- addWidget(widget, disableOtherWidgets=True)¶
Adds a widget to this pane. Note: all widgets of a pane are visible at the same time! :param widget: The widget to add :type widget: Widget
- rebuildChildrenClassInfo()¶
- removeWidget(widget)¶
Removes a widget. :param widget: The widget to remove. Must be a direct child of this pane. :type widget: Widget
- containsWidget(widget)¶
Tests wherever widget is a direct child of this pane. :returns: bool
- onClick(event=None, *args, **kwargs)¶
- expand()¶
- collapse()¶
- focus()¶