SimpleToolButton#
- class omni.kit.manipulator.transform.SimpleToolButton(
- menu_delegate: MenuDelegate = None,
- *args,
- **kwargs,
- Bases: - ToolbarTool- A toolbar button with optional context menu for transform manipulators. - This class provides a button for the toolbar that can interact with transform manipulators and optionally display a context menu. - Parameters:
- menu_delegate (ui.MenuDelegate, optional) – Delegate for styling the context menu associated with the button. 
- \*args – Variable length argument list for parent class initialization. 
- **kwargs – Arbitrary keyword arguments for parent class initialization. 
 
 - Methods - __init__([menu_delegate])- Initializes a new instance of a simple tool button with an optional context menu. - destroy()- Cleans up resources and references held by the simple tool button. - __init__(
- menu_delegate: MenuDelegate = None,
- *args,
- **kwargs,
- Initializes a new instance of a simple tool button with an optional context menu. 
 - destroy()#
- Cleans up resources and references held by the simple tool button.