ActionGroup (hwx.gui)

A grouping of Actions to create a cascading menu.

ActionGroups are modeled after Qts ActionGroup class, refer to the Qt documentation for more information.


Public Methods

destroy (self)

Property Details

property children

Returns the list of Actions inside the Group.

property exclusive

Only one child SpriteAction toggle is on at a time.

Toggling any child of this group turns the other children off.

property name

Unique identifier across profiles.

This is only settable in the constructor.

property visible

The visibility of the ActionGroup.

Setting to False will visually remove this from the menu/toolbar.

Method Details


Deletes this and all its children.

Warning, make sure to remove the action from the ui before destroying or this will crash!