Skip to main content

dispatch_toolbar_value

Function dispatch_toolbar_value 

Source
pub fn dispatch_toolbar_value(action: u64, value: &ToolbarValue)
Expand description

Run the value callback registered for action (no-op if none). Called by the event pump on Event::ToolbarChanged, inside a reactive batch so multiple signal writes coalesce. action is the slot id the toolkit holds (the toolbar slot model); a raw closure id works too.