RibbonPageGroup (hwx.gui)¶
Logical grouping of SpriteActionGroups in a RibbonPage.
Properties¶
Public Methods¶
Property Details¶
- property visible¶
 
The visibility of the RibbonPageGroup.
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, index=None)¶
 
Adds the SpriteAction/SpriteActionGroup.
- param action
 The action to be added
- type action
 str | SpriteAction | SpriteActionGroup
- param after
 Determines whether to insert the specified item after the group or not.
- type after
 str | SpriteAction | SpriteActionGroup
- param index
 Index at which action needs to be inserted.
- type index
 int
- hide(self)¶
 
Hides the RibbonPageGroup.
- isShown(self)¶
 
Returns True if it shown, False otherwise.
- remove(self, action)¶
 
“Removes the sprite action group from RibbonPageGroup.
- param action
 The action to be removed.
- type action
 SpriteActionGroup
- show(self)¶
 
Shows the RibbonPageGroup.