RibbonPageGroup (hwx.gui)¶
Logical grouping of SpriteActionGroups in a RibbonPage.
Public Methods¶
Method Details¶
-
classmethod
get(cls, name)
Gets the RibbonPageGroup with the specified name.
| param name: | The RibbonPageGroup name to get. |
|---|---|
| type name: | str |
| returns: | The page group. |
| rtype: | RibbonPageGroup |
-
add(self, action, after=None)
Adds the SpriteAction/SpriteActionGroup.
| param action: | The action to be added |
|---|---|
| type action: | Union[str, SpriteAction, SpriteActionGroup] |
| param after: | Determines whether to insert the specified item after the group or not. |
| type after: | Union[str, SpriteAction, SpriteActionGroup] |
-
hide(self)
Hides the RibbonPageGroup.
-
isShown(self)¶
Returns True if it shown, False otherwise.
-
show(self)
Shows the RibbonPageGroup.