pyface.fields.i_label_field module

The label field interface.

class pyface.fields.i_label_field.ILabelField(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]

Bases: IField

The label field interface.

value = Str()

The value held by the field.

icon = Image()

The icon to display with the toggle.

class pyface.fields.i_label_field.MLabelField[source]

Bases: HasTraits

The text field mix-in.

value = Str()

The value held by the field.

icon = Image()

The icon to display with the toggle.