pyface.i_heading_text module

Heading text.

class pyface.i_heading_text.IHeadingText(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]

Bases: Interface

A widget which shows heading text in a panel.

level = Int(1)

Heading level. This is currently unused.

text = Str("Default")

The heading text.

class pyface.i_heading_text.MHeadingText(parent=None, **traits)[source]

Bases: HasTraits

The mixin class that contains common code for toolkit specific implementations of the IHeadingText interface.

level = Int(1)

Heading level. This is currently unused.

text = Str("Default")

The heading text.