[−][src]Macro native_windows_gui::nwg_listbox
Sane defaults for the ListBox control. Requires a parent.
Data
parameter can be ommited if a default collection is passed.
Defaults:
• collection: []
• position: (0, 0)
• size: (100, 30)
• visible: true
• disabled: false
• readonly: false
• multi_select: false
• font: None
Usage:
nwg_listbox!(parent="MyParent";)
nwg_listbox!(parent="MyParent"; visible=false; size=(10, 10))
nwg_listbox!(parent="MyParent"; \* Any combinations of the template properties*\)