Butz has a named list of actions, which it shows on a GUI as buttons. This is useful for opening multiple guis only when needed, such as several instruments and their GUIs, opening utilities like meters, custom scopes, mixers, guis for tests for setup parts (speakers), etc etc.
It shows the actions as buttons with given style, and updates dynamically when items are added.
Butz is a class-only singleton by design choice.
First code examples:
add a named action
name |
a Symbol |
action |
a function |
remove an action by name
name |
a Symbol |
the NamedList
of actions
name |
run the action at that name |
show the Butz window, making it if necessary
make the window
set and get number of buttons to show
lookup and set style options for the butz window
the butz window
the list of buttons
index |
set the button at index to show the name stored at that index |
update the buttons