[−][src]Macro native_windows_gui::nwg_button
Sane defaults for the Button control. Requires a parent.
Defaults:
• text: ""
• position: (0, 0)
• size: (100, 30)
• visible: true
• disabled: false
• font: None
Usage:
nwg_button!(parent="MyParent";)
nwg_button!(parent="MyParent"; visible=false; size=(10, 10))
nwg_button!(parent="MyParent"; \* Any combinations of the template properties*\)