Macro native_windows_gui::nwg_menu
[−]
[src]
macro_rules! nwg_menu { (parent=$p:expr; $( $i:ident=$v:expr );* ) => { ... }; }
Sane defaults for the Menu control. Requires a window parent.
Defaults:
• text: "Menu"
• disabled: false
Usage:
nwg_menu!(parent="MyParent";)
nwg_menu!(parent="MyParent"; text="AAA")
nwg_menu!(parent="MyParent"; \* Any combinations of the template properties*\)