paramtk.tilewrapper

Module

class paramtk.tilewrapper.Paned(master=None, cnf={}, **kw)[source]

Bases: paramtk.tilewrapper.Widget

WIDGET OPTIONS
Name Database name Database class -orient orient Orient Specifies the orientation of the window. If vertical, subpanes are stacked top-to-bottom; if horizontal, subpanes are stacked left-to-right.
PANE OPTIONS
The following options may be specified for each pane: Name Database name Database class -weight weight Weight An integer specifying the relative stretchability of the pane. When the paned window is resized, the extra space is added or subracted to each pane proportionally to its -weight
add(subwindow, **kw)[source]

Adds a new pane to the window. subwindow must be a direct child of the paned window pathname. See PANE OPTIONS for the list of available options.

forget(pane)[source]

Removes the specified subpane from the widget. pane is either an integer index or the name of a managed subwindow.

insert(pos, subwindow, **kw)[source]

Inserts a pane at the specified position. pos is either the string end, an integer index, or the name of a managed subwindow. If subwindow is already managed by the paned window, moves it to the specified position. See PANE OPTIONS for the list of available options.

pane(pane, **kw)[source]

Query or modify the options of the specified pane, where pane is either an integer index or the name of a managed subwindow. If no -option is specified, returns a dictionary of the pane option values. If one -option is specified, returns the value of that option. Otherwise, sets the -options to the corresponding values.