Classes
Widget | The base class of visible widgets in Enaml. |
Bases: enaml.widgets.toolkit_object.ToolkitObject, enaml.styling.Stylable
The base class of visible widgets in Enaml.
Whether or not the widget is enabled.
Whether or not the widget is visible.
The background color of the widget.
The foreground color of the widget.
The font used for the widget.
The minimum size for the widget. The default means that the client should determine an intelligent minimum size.
The maximum size for the widget. The default means that the client should determine an intelligent maximum size.
The tool tip to show when the user hovers over the widget.
The status tip to show when the user hovers over the widget.
A flag indicating whether or not to show the focus rectangle for the given widget. This is not necessarily support by all widgets on all clients. A value of None indicates to use the default as supplied by the client.
A reference to the ProxyWidget object.
Restyle the toolkit widget.
This method is invoked by the Stylable class when the style dependencies have changed for the widget. This will trigger a proxy restyle if necessary. This method should not typically be called directly by user code.