Struct iui::controls::VerticalBox [−][src]
pub struct VerticalBox { /* fields omitted */ }
Lays out its children vertically.
Methods
impl VerticalBox
[src]
impl VerticalBox
pub 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(uiBox: *mut uiBox) -> VerticalBox
[src]
pub unsafe fn from_raw(uiBox: *mut uiBox) -> VerticalBox
Create 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 uiBox
[src]
pub fn ptr(&self) -> *mut uiBox
Return the underlying pointer for this control.
impl VerticalBox
[src]
impl VerticalBox
pub fn new(_ctx: &UI) -> VerticalBox
[src]
pub fn new(_ctx: &UI) -> VerticalBox
Create a new vertical box layout.
impl VerticalBox
[src]
impl VerticalBox
pub fn append<T: Into<Control>>(
&mut self,
_ctx: &UI,
child: T,
strategy: LayoutStrategy
)
[src]
pub fn append<T: Into<Control>>(
&mut self,
_ctx: &UI,
child: T,
strategy: LayoutStrategy
)
Add a control to the end of the box, sized by the given layout strategy.
pub fn padded(&self, _ctx: &UI) -> bool
[src]
pub fn padded(&self, _ctx: &UI) -> bool
Determine whenther the box provides padding around its children.
pub fn set_padded(&mut self, _ctx: &UI, padded: bool)
[src]
pub fn set_padded(&mut self, _ctx: &UI, padded: bool)
Set whether or not the box should provide padding around its children.
Trait Implementations
impl Drop for VerticalBox
[src]
impl Drop for VerticalBox
impl Clone for VerticalBox
[src]
impl Clone for VerticalBox
fn clone(&self) -> VerticalBox
[src]
fn clone(&self) -> VerticalBox
Returns 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 VerticalBox
[src]
impl Into<Control> for VerticalBox
Auto Trait Implementations
impl !Send for VerticalBox
impl !Send for VerticalBox
impl !Sync for VerticalBox
impl !Sync for VerticalBox