pyface.i_heading_text module

Heading text.

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

Bases: traits.has_traits.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.

image = Image()

The background image.

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

Bases: traits.has_traits.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.