[][src]Trait orbtk::traits::Place

pub trait Place: Sized + Widget {
    fn position(&self, x: i32, y: i32) -> &Self { ... }
fn size(&self, width: u32, height: u32) -> &Self { ... }
fn placement(
        &self,
        vertical_placement: VerticalPlacement,
        horizontal_placement: HorizontalPlacement
    ) -> &Self { ... } }

Provided methods

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

fn size(&self, width: u32, height: u32) -> &Self

fn placement(
    &self,
    vertical_placement: VerticalPlacement,
    horizontal_placement: HorizontalPlacement
) -> &Self

Loading content...

Implementors

impl Place for Grid[src]

impl Place for StackLayout[src]

impl Place for Image[src]

impl Place for Rectangle[src]

impl Place for TextWidget[src]

impl Place for Button[src]

impl Place for ComboBox[src]

impl Place for Label[src]

impl Place for List[src]

impl Place for Menu[src]

impl Place for ProgressBar[src]

impl Place for TextBox[src]

Loading content...