Skip to main content

declare_use

Function declare_use 

Source
pub fn declare_use(ctx: &Context, widget: &str, gesture: Secondary, does: &str)
Expand description

Lists a widget’s use of a gesture of the secondary button before the widget is drawn (an application declaring its own canvas’s), for the shortcuts editor.