pub trait TheVLayoutTrait {
// Required methods
fn clear(&mut self);
fn add_widget(&mut self, widget: Box<dyn TheWidget>);
fn set_mode(&mut self, mode: TheVLayoutMode);
fn set_reverse_index(&mut self, reverse_index: Option<i32>);
fn set_alignment(&mut self, align: TheHorizontalAlign);
}Expand description
TheVLayout specific functions.
Required Methods§
Sourcefn add_widget(&mut self, widget: Box<dyn TheWidget>)
fn add_widget(&mut self, widget: Box<dyn TheWidget>)
Add a widget to the layout.
Sourcefn set_mode(&mut self, mode: TheVLayoutMode)
fn set_mode(&mut self, mode: TheVLayoutMode)
Set the layout mode.
Sourcefn set_reverse_index(&mut self, reverse_index: Option<i32>)
fn set_reverse_index(&mut self, reverse_index: Option<i32>)
Set the top / bottom alingnment split index
Sourcefn set_alignment(&mut self, align: TheHorizontalAlign)
fn set_alignment(&mut self, align: TheHorizontalAlign)
Set the horizontal alignment.