enaml.widgets.button_group

Classes

ButtonGroup

A way to declare a group of buttons.

class enaml.widgets.button_group.ButtonGroup(parent=None, **kwargs)[source]

Bases: enaml.widgets.toolkit_object.ToolkitObject

A way to declare a group of buttons.

This allows to group buttons even though they belong to different container. Note that if a button belongs to a ButtonGroup the rules about buttons sharing a container being in the same group do not apply.d2

group_members

Set of members belonging to the group. This value should be considered read-only for users.

exclusive

Can only a single button in the group be checked at a time.

proxy

A reference to the ProxyButtonGroup object.