enaml.widgets.label

Classes

Label

A simple control for displaying read-only text.

class enaml.widgets.label.Label(parent=None, **kwargs)[source]

Bases: enaml.widgets.control.Control

A simple control for displaying read-only text.

text

The unicode text for the label.

align

The horizontal alignment of the text in the widget area.

vertical_align

The vertical alignment of the text in the widget area.

An event emitted when the user clicks a link in the label. The payload will be the link that was clicked.

hug_width

Labels hug their width weakly by default.

proxy

A reference to the ProxyLabel object.