Struct iui::controls::Group [−][src]
pub struct Group { /* fields omitted */ }Collects controls together, with (optionally) a margin and/or title.
Methods
impl Group[src]
impl Grouppub fn show(&mut self, _ctx: &UI)[src]
pub fn show(&mut self, _ctx: &UI)pub fn hide(&mut self, _ctx: &UI)[src]
pub fn hide(&mut self, _ctx: &UI)pub unsafe fn from_raw(uiGroup: *mut uiGroup) -> Group[src]
pub unsafe fn from_raw(uiGroup: *mut uiGroup) -> GroupCreate an iui struct for this control from the raw pointer for it.
Unsafety
The given pointer must point to a valid control or memory unsafety may result.
pub fn ptr(&self) -> *mut uiGroup[src]
pub fn ptr(&self) -> *mut uiGroupReturn the underlying pointer for this control.
impl Group[src]
impl Grouppub fn new(_ctx: &UI, title: &str) -> Group[src]
pub fn new(_ctx: &UI, title: &str) -> GroupCreate a new group with the given title.
pub fn title(&self, _ctx: &UI) -> String[src]
pub fn title(&self, _ctx: &UI) -> StringGet a copy of the current group title.
pub fn title_ref(&self, _ctx: &UI) -> &CStr[src]
pub fn title_ref(&self, _ctx: &UI) -> &CStrGet a reference to the existing group title.
pub fn set_title(&mut self, _ctx: &UI, title: &str)[src]
pub fn set_title(&mut self, _ctx: &UI, title: &str)pub fn set_child<T: Into<Control>>(&mut self, _ctx: &UI, child: T)[src]
pub fn set_child<T: Into<Control>>(&mut self, _ctx: &UI, child: T)pub fn margined(&self, _ctx: &UI) -> bool[src]
pub fn margined(&self, _ctx: &UI) -> boolpub fn set_margined(&mut self, _ctx: &UI, margined: bool)[src]
pub fn set_margined(&mut self, _ctx: &UI, margined: bool)Trait Implementations
impl Drop for Group[src]
impl Drop for Groupimpl Clone for Group[src]
impl Clone for Groupfn clone(&self) -> Group[src]
fn clone(&self) -> GroupReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Into<Control> for Group[src]
impl Into<Control> for Group