pyface.fields.i_field module

The field interface.

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

Bases: pyface.i_layout_widget.ILayoutWidget

The field interface.

A field is a widget that displays a value and (potentially) allows a user to interact with it.

value = Any()

The value held by the field.

class pyface.fields.i_field.MField[source]

Bases: traits.has_traits.HasTraits

The field mix-in.

value = Any()

The value held by the field.