Context Sensitive Buttons



Hotboxes have the ability to dynamically change their contents (buttons) depending on the context they are launched from.


To define a Button as being only visible in certain contexts you first need to change its Visible If Property in the Button Settings from Always to Matches Context.



The interface updates to reveal the Context Setter Button. Clicking it opens the dialog shown below.


You can switch between contexts using the Context dropdown:


The Tools Context allows you to show or hide a hotbox element based on the currently active (or not active) Mari Tool.




The Nodegraph Context allows you to show or hide a hotbox element based on the current selection of nodes in the Nodegraph.

An example could be to have a Connect to Transmitter Hotbox Button that only is visible if the Nodegraph Selection contains a Radio Node








PREVIOUS PAGE: Setting Button Functionality