Skip to main content

TheVLayoutTrait

Trait TheVLayoutTrait 

Source
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§

Source

fn clear(&mut self)

Clear the layout.

Source

fn add_widget(&mut self, widget: Box<dyn TheWidget>)

Add a widget to the layout.

Source

fn set_mode(&mut self, mode: TheVLayoutMode)

Set the layout mode.

Source

fn set_reverse_index(&mut self, reverse_index: Option<i32>)

Set the top / bottom alingnment split index

Source

fn set_alignment(&mut self, align: TheHorizontalAlign)

Set the horizontal alignment.

Implementors§