gui.layout.create_macro_tile
gui.layout.create_macro_tile(macros)Create a tile containing buttons for each macro.
This function generates a Dash HTML Div that includes a button for each macro defined in the provided dictionary. Each button is labeled with the macro’s name and is part of a tile layout.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| macros | dict | A dictionary containing macro definitions. Each key-value pair in the dictionary represents a macro, where the key is the macro name and the value is a dictionary containing macro-specific configurations. | required |
Returns
| Name | Type | Description |
|---|---|---|
| html.Div | A Dash HTML Div containing a tile with buttons for each macro. |