[][src]Macro native_windows_gui::nwg_label

macro_rules! nwg_label {
    (parent=$p:expr; $( $i:ident=$v:expr );* ) => { ... };
}

Sane defaults for the Label control. Requires a parent.

Defaults:
• text: ""
• position: (0, 0)
• size: (100, 30)
• visible: true
• disabled: false
• align: HTextAlign::Left
• font: None

Usage:
nwg_label!(parent="MyParent";)
nwg_label!(parent="MyParent"; visible=false; size=(10, 10))
nwg_label!(parent="MyParent"; \* Any combinations of the template properties*\)