enaml.widgets.group_box

Classes

GroupBox

The GroupBox container, which introduces a group of widgets with a title and usually has a border.

class enaml.widgets.group_box.GroupBox(parent=None, **kwargs)[source]

Bases: Container

The GroupBox container, which introduces a group of widgets with a title and usually has a border.

title

The title displayed at the top of the box.

flat

The flat parameter determines if the GroupBox is displayed with just the title and a header line (True) or with a full border (False, the default).

title_align

The alignment of the title text.

proxy

A reference to the ProxyGroupBox object.

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.