arena-py API v1.0.1
arena .objects .arenaui_button_panel
ArenauiButtonPanel object class to manage its properties in the ARENA: ARENAUI element which displays a vertical or horizontal panel of buttons.
Parameters
- list[dict] buttons: Buttons Defaults to '[{'name': 'Option 1'}, {'name': 'Option 2'}]' (optional)
- str font: Font to use for button text. Allows [Roboto, Roboto-Mono] Defaults to 'Roboto' (optional)
- str materialSides: Which sides display the rendered UI material Allows [both, front] Defaults to 'both' (optional)
- str theme: Color Theme Allows [light, dark] Defaults to 'light' (optional)
- str title: Title to display above buttons (optional). Defaults to '' (optional)
- bool vertical: Vertical button layout Defaults to 'False' (optional)
Inherited Members
Alternate name for ArenauiButtonPanel.
Inherited Members
class
Button:
Buttons of a ButtonPanel in the ARENA UI.
Parameters
- str name: Button Name
- str img: Image URl for image buttons (optional)
- float size: Size of image button (optional)
- float height: Height of image button, overrides size (optional)
- float: Width of image button, overrides size (optional)
- float borderRadius: Border radius of image button (optional)