enaml.applib.live_editor_view

Classes

EditorPanel

""" A base enamldef for creating live editor panels.

ModelEditorPanel

""" An editor panel which is setup for editing a live model.

TracebackPanel

""" A panel for viewing the traceback of a 'LiveEditorModel'.

ViewEditorPanel

""" An editor panel which is setup for editing a live view.

ViewPanel

""" A panel for viewing the compiled view of a 'LiveEditorModel'.

class enaml.applib.live_editor_view.EditorPanel(parent=None, **kwargs)

Bases: Container

“”” A base enamldef for creating live editor panels.

Users will typically use one the derived classes ‘ModelEditorPanel’ or ‘ViewEditorPanel’.

“””

__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.

activated

An event fired when an object’s proxy is activated. It is triggered once during the object lifetime, at the end of the activate_proxy method.

background

The background color of the widget.

destroyed

An event fired when an object has been destroyed. It is triggered once during the object lifetime, just before the object is removed from the tree structure.

enabled

Whether or not the widget is enabled.

features

Set the extra features to enable for this widget. This value must be provided when the widget is instantiated. Runtime changes to this value are ignored.

font

The font used for the widget.

foreground

The foreground color of the widget.

initialized

An event fired when an object is initialized. It is triggered once during the object lifetime, at the end of the initialize method.

maximum_size

The maximum size for the widget. The default means that the client should determine an intelligent maximum size.

minimum_size

The minimum size for the widget. The default means that the client should determine an intelligent minimum size.

name

Export the ‘name’ attribute as a declarative member.

status_tip

The status tip to show when the user hovers over the widget.

style_class

The style class to which this item belongs. Multiple classes can be separated with whitespace. An empty string indicates the widget does not belong to any style class.

tool_tip

The tool tip to show when the user hovers over the widget.

class enaml.applib.live_editor_view.ModelEditorPanel(parent=None, **kwargs)

Bases: EditorPanel

“”” An editor panel which is setup for editing a live model.

The user must assign a ‘LiveEditorModel’ instance to the ‘model’ attribute.

“””

activated

An event fired when an object’s proxy is activated. It is triggered once during the object lifetime, at the end of the activate_proxy method.

background

The background color of the widget.

destroyed

An event fired when an object has been destroyed. It is triggered once during the object lifetime, just before the object is removed from the tree structure.

enabled

Whether or not the widget is enabled.

features

Set the extra features to enable for this widget. This value must be provided when the widget is instantiated. Runtime changes to this value are ignored.

font

The font used for the widget.

foreground

The foreground color of the widget.

initialized

An event fired when an object is initialized. It is triggered once during the object lifetime, at the end of the initialize method.

maximum_size

The maximum size for the widget. The default means that the client should determine an intelligent maximum size.

minimum_size

The minimum size for the widget. The default means that the client should determine an intelligent minimum size.

name

Export the ‘name’ attribute as a declarative member.

status_tip

The status tip to show when the user hovers over the widget.

style_class

The style class to which this item belongs. Multiple classes can be separated with whitespace. An empty string indicates the widget does not belong to any style class.

tool_tip

The tool tip to show when the user hovers over the widget.

class enaml.applib.live_editor_view.TracebackPanel(parent=None, **kwargs)

Bases: Container

“”” A panel for viewing the traceback of a ‘LiveEditorModel’.

“””

__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.

activated

An event fired when an object’s proxy is activated. It is triggered once during the object lifetime, at the end of the activate_proxy method.

background

The background color of the widget.

destroyed

An event fired when an object has been destroyed. It is triggered once during the object lifetime, just before the object is removed from the tree structure.

enabled

Whether or not the widget is enabled.

features

Set the extra features to enable for this widget. This value must be provided when the widget is instantiated. Runtime changes to this value are ignored.

font

The font used for the widget.

foreground

The foreground color of the widget.

initialized

An event fired when an object is initialized. It is triggered once during the object lifetime, at the end of the initialize method.

maximum_size

The maximum size for the widget. The default means that the client should determine an intelligent maximum size.

minimum_size

The minimum size for the widget. The default means that the client should determine an intelligent minimum size.

name

Export the ‘name’ attribute as a declarative member.

status_tip

The status tip to show when the user hovers over the widget.

style_class

The style class to which this item belongs. Multiple classes can be separated with whitespace. An empty string indicates the widget does not belong to any style class.

tool_tip

The tool tip to show when the user hovers over the widget.

class enaml.applib.live_editor_view.ViewEditorPanel(parent=None, **kwargs)

Bases: EditorPanel

“”” An editor panel which is setup for editing a live view.

The user must assign a ‘LiveEditorModel’ instance to the ‘model’ attribute.

“””

activated

An event fired when an object’s proxy is activated. It is triggered once during the object lifetime, at the end of the activate_proxy method.

background

The background color of the widget.

destroyed

An event fired when an object has been destroyed. It is triggered once during the object lifetime, just before the object is removed from the tree structure.

enabled

Whether or not the widget is enabled.

features

Set the extra features to enable for this widget. This value must be provided when the widget is instantiated. Runtime changes to this value are ignored.

font

The font used for the widget.

foreground

The foreground color of the widget.

initialized

An event fired when an object is initialized. It is triggered once during the object lifetime, at the end of the initialize method.

maximum_size

The maximum size for the widget. The default means that the client should determine an intelligent maximum size.

minimum_size

The minimum size for the widget. The default means that the client should determine an intelligent minimum size.

name

Export the ‘name’ attribute as a declarative member.

status_tip

The status tip to show when the user hovers over the widget.

style_class

The style class to which this item belongs. Multiple classes can be separated with whitespace. An empty string indicates the widget does not belong to any style class.

tool_tip

The tool tip to show when the user hovers over the widget.

class enaml.applib.live_editor_view.ViewPanel(parent=None, **kwargs)

Bases: Container

“”” A panel for viewing the compiled view of a ‘LiveEditorModel’.

“””

__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.

activated

An event fired when an object’s proxy is activated. It is triggered once during the object lifetime, at the end of the activate_proxy method.

background

The background color of the widget.

destroyed

An event fired when an object has been destroyed. It is triggered once during the object lifetime, just before the object is removed from the tree structure.

enabled

Whether or not the widget is enabled.

features

Set the extra features to enable for this widget. This value must be provided when the widget is instantiated. Runtime changes to this value are ignored.

font

The font used for the widget.

foreground

The foreground color of the widget.

initialized

An event fired when an object is initialized. It is triggered once during the object lifetime, at the end of the initialize method.

maximum_size

The maximum size for the widget. The default means that the client should determine an intelligent maximum size.

minimum_size

The minimum size for the widget. The default means that the client should determine an intelligent minimum size.

name

Export the ‘name’ attribute as a declarative member.

status_tip

The status tip to show when the user hovers over the widget.

style_class

The style class to which this item belongs. Multiple classes can be separated with whitespace. An empty string indicates the widget does not belong to any style class.

tool_tip

The tool tip to show when the user hovers over the widget.