[][src]Struct orbtk::widgets::ComboBox

pub struct ComboBox {
    pub rect: Cell<Rect>,
    pub selector: CloneCell<Selector>,
    pub offset: Cell<Point>,
    // some fields omitted
}

Fields

rect: Cell<Rect>selector: CloneCell<Selector>offset: Cell<Point>

Methods

impl ComboBox[src]

pub fn new() -> Arc<ComboBox>[src]

pub fn selected(&self) -> i32[src]

pub fn push(&self, text: &str)[src]

pub fn pop(&self) -> String[src]

pub fn change_selection(&self, i: u32)[src]

pub fn text_offset(&self, x: i32, y: i32) -> &Self[src]

Trait Implementations

impl Place for ComboBox[src]

impl Style for ComboBox[src]

impl Widget for ComboBox[src]

Auto Trait Implementations

impl !RefUnwindSafe for ComboBox

impl !Send for ComboBox

impl !Sync for ComboBox

impl Unpin for ComboBox

impl !UnwindSafe for ComboBox

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.