shortcut_txt

Function shortcut_txt 

Source
pub fn shortcut_txt(child: impl IntoUiNode, shortcut: impl IntoUiNode) -> UiNode
Expand description

P Menu item shortcut text.

Set this on a Button! inside a sub-menu to define the shortcut text.

Note that this does not define the click shortcut, just the display of it. The ShortcutText! widget is recommended.