edifice.TabView

edifice.TabView#

class edifice.TabView(labels=None, **kwargs)[source]#

Bases: _LinearView

Widget with multiple tabs.

../_images/tab_view.png

A TabView with 2 children.#

Parameters:

labels – The labels for the tabs. The number of labels must match the number of children.

Methods

__init__([labels])

register_ref(reference)

Registers provided Reference to this Element.

set_key(key)

Sets the key of the Element.

Attributes

children

The children of this Element.

props

The props of this Element.

underlying

The underlying QWidget, which may not exist if this Element has not rendered.