pub trait Control: ObjcAccess {
fn set_enabled(&self, is_enabled: bool) { ... }
fn set_control_size(&self, size: ControlSize) { ... }
}
Expand description
A trait that view wrappers must conform to. Enables managing the subview tree.
Provided Methods
fn set_enabled(&self, is_enabled: bool)
fn set_enabled(&self, is_enabled: bool)
Whether this control is enabled or not.
fn set_control_size(&self, size: ControlSize)
fn set_control_size(&self, size: ControlSize)
Sets the underlying control size.