Function zng::menu::shortcut_txt

source ยท
pub fn shortcut_txt(child: impl UiNode, shortcut: impl UiNode) -> impl UiNode
Expand description

P Menu item shortcut text.

Set 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.