Struct iui::controls::Control [−][src]
pub struct Control { /* fields omitted */ }
A generic UI control. Any UI control can be turned into this type.
Note that Control
and all specific control types are references
whose memory is owned by the UI library.
Methods
impl Control
[src]
impl Control
pub unsafe fn from_ui_control(ui_control: *mut uiControl) -> Control
[src]
pub unsafe fn from_ui_control(ui_control: *mut uiControl) -> Control
Creates a new Control
object from an existing *mut uiControl
.
pub fn as_ui_control(&self) -> *mut uiControl
[src]
pub fn as_ui_control(&self) -> *mut uiControl
Returns the underlying *mut uiControl
.
pub unsafe fn destroy(&self)
[src]
pub unsafe fn destroy(&self)
Destroys a control. Any use of the control after this is use-after-free; therefore, this is marked unsafe.
Trait Implementations
impl Into<Control> for Label
[src]
impl Into<Control> for Label
impl Into<Control> for Button
[src]
impl Into<Control> for Button
impl Into<Control> for Window
[src]
impl Into<Control> for Window
impl Into<Control> for VerticalBox
[src]
impl Into<Control> for VerticalBox
impl Into<Control> for HorizontalBox
[src]
impl Into<Control> for HorizontalBox
impl Into<Control> for TabGroup
[src]
impl Into<Control> for TabGroup
impl Into<Control> for Group
[src]
impl Into<Control> for Group
impl Into<Control> for HorizontalSeparator
[src]
impl Into<Control> for HorizontalSeparator
impl Into<Control> for Spacer
[src]
impl Into<Control> for Spacer
impl Into<Control> for LayoutGrid
[src]
impl Into<Control> for LayoutGrid
impl Into<Control> for Spinbox
[src]
impl Into<Control> for Spinbox
impl Into<Control> for Slider
[src]
impl Into<Control> for Slider
impl Into<Control> for Entry
[src]
impl Into<Control> for Entry
impl Into<Control> for MultilineEntry
[src]
impl Into<Control> for MultilineEntry
impl Into<Control> for Combobox
[src]
impl Into<Control> for Combobox
impl Into<Control> for Checkbox
[src]
impl Into<Control> for Checkbox
impl Drop for Control
[src]
impl Drop for Control
impl Clone for Control
[src]
impl Clone for Control