enaml.stdlib.fields

Classes

FloatField

A Field that only accept floating point values.

IntField

A field that only accept integer inputs.

RegexField

A Field that accepts text validated by a regular expression.

class enaml.stdlib.fields.FloatField(parent=None, **kwargs)

Bases: enaml.widgets.field.Field

A Field that only accept floating point values.

__reduce_ex__(proto)

An implementation of the reduce protocol.

This method creates a reduction tuple for enamldef instances. It is not part of the public Enaml api.

class enaml.stdlib.fields.IntField(parent=None, **kwargs)

Bases: enaml.widgets.field.Field

A field that only accept integer inputs.

__reduce_ex__(proto)

An implementation of the reduce protocol.

This method creates a reduction tuple for enamldef instances. It is not part of the public Enaml api.

class enaml.stdlib.fields.RegexField(parent=None, **kwargs)

Bases: enaml.widgets.field.Field

A Field that accepts text validated by a regular expression.

__reduce_ex__(proto)

An implementation of the reduce protocol.

This method creates a reduction tuple for enamldef instances. It is not part of the public Enaml api.