Struct kiss_ui::container::Vertical [] [src]

pub struct Vertical(_);

A container widget that lines up its children from top to bottom.

Methods

impl Vertical

fn new<C>(children: C) -> Vertical where C: AsRef<[BaseWidget]>

fn set_halign(self, halign: HAlign) -> Self

fn set_elem_spacing_pixels(self, spacing: u32) -> Self

Trait Implementations

impl Widget for Vertical

fn show(self) -> Self

fn hide(self) -> Self

fn set_visible(self, visible: bool) -> Self

fn set_enabled(self, enabled: bool) -> Self

fn set_position(self, x: i32, y: i32) -> Self

fn get_position(self) -> (i32, i32)

fn set_name(self, name: &str) -> Self

fn get_name(&self) -> Option<WidgetStr>

fn get_sibling(self) -> Option<BaseWidget>

fn get_parent(self) -> Option<BaseWidget>

fn get_dialog(self) -> Option<Dialog>

fn get_size_pixels(self) -> (u32, u32)

fn store<N: Into<String>>(self, name: N) -> Option<BaseWidget>

fn to_base(self) -> BaseWidget

impl Copy for Vertical

impl Clone for Vertical

fn clone(&self) -> Self

fn clone_from(&mut self, source: &Self)

impl Downcast for Vertical

fn can_downcast(base: &BaseWidget) -> bool

fn try_downcast(base: BaseWidget) -> Result<Self, BaseWidget>