[][src]Macro native_windows_gui::nwg_get_mut

macro_rules! nwg_get_mut {
    ( $ui:ident; ($n:expr, $t:ty) ) => { ... };
    ( $ui:ident; [ $( ($n:expr, $t:ty) ),* ] ) => { ... };
}

Return controls from the Ui. Panics if one of the controls could not be retrieved.
To avoid the panic, use ui.get directly. This is the mutable version of nwg_get!

Usage:
let control = nwg_get_mut!(ui; (control ID, control type))
let (control1, control2) = nwg_get_mut!(ui; [(control1_ID, control1 type), (control2_ID, control2_type)])