[][src]Struct orbtk_widgets::ComboBoxCtx

pub struct ComboBoxCtx<'a> { /* fields omitted */ }

Represents a widget context that provides methods to access the properties of a widget.

Implementations

impl<'a> ComboBoxCtx<'a>[src]

pub fn bounds(&self) -> &Rectangle[src]

Gets a reference of the property value.

pub fn bounds_mut(&mut self) -> &mut Rectangle[src]

Gets a mutable reference of the property value.

pub fn set_bounds(&mut self, value: impl Into<Rectangle>)[src]

Sets the property value.

pub fn clone_bounds(&mut self) -> Rectangle[src]

Clones the property value.

pub fn position(&self) -> &Point[src]

Gets a reference of the property value.

pub fn position_mut(&mut self) -> &mut Point[src]

Gets a mutable reference of the property value.

pub fn set_position(&mut self, value: impl Into<Point>)[src]

Sets the property value.

pub fn clone_position(&mut self) -> Point[src]

Clones the property value.

pub fn constraint(&self) -> &Constraint[src]

Gets a reference of the property value.

pub fn constraint_mut(&mut self) -> &mut Constraint[src]

Gets a mutable reference of the property value.

pub fn set_constraint(&mut self, value: impl Into<Constraint>)[src]

Sets the property value.

pub fn clone_constraint(&mut self) -> Constraint[src]

Clones the property value.

pub fn h_align(&self) -> &Alignment[src]

Gets a reference of the property value.

pub fn h_align_mut(&mut self) -> &mut Alignment[src]

Gets a mutable reference of the property value.

pub fn set_h_align(&mut self, value: impl Into<Alignment>)[src]

Sets the property value.

pub fn clone_h_align(&mut self) -> Alignment[src]

Clones the property value.

pub fn v_align(&self) -> &Alignment[src]

Gets a reference of the property value.

pub fn v_align_mut(&mut self) -> &mut Alignment[src]

Gets a mutable reference of the property value.

pub fn set_v_align(&mut self, value: impl Into<Alignment>)[src]

Sets the property value.

pub fn clone_v_align(&mut self) -> Alignment[src]

Clones the property value.

pub fn margin(&self) -> &Thickness[src]

Gets a reference of the property value.

pub fn margin_mut(&mut self) -> &mut Thickness[src]

Gets a mutable reference of the property value.

pub fn set_margin(&mut self, value: impl Into<Thickness>)[src]

Sets the property value.

pub fn clone_margin(&mut self) -> Thickness[src]

Clones the property value.

pub fn enabled(&self) -> &bool[src]

Gets a reference of the property value.

pub fn enabled_mut(&mut self) -> &mut bool[src]

Gets a mutable reference of the property value.

pub fn set_enabled(&mut self, value: impl Into<bool>)[src]

Sets the property value.

pub fn clone_enabled(&mut self) -> bool[src]

Clones the property value.

pub fn clip(&self) -> &bool[src]

Gets a reference of the property value.

pub fn clip_mut(&mut self) -> &mut bool[src]

Gets a mutable reference of the property value.

pub fn set_clip(&mut self, value: impl Into<bool>)[src]

Sets the property value.

pub fn clone_clip(&mut self) -> bool[src]

Clones the property value.

pub fn opacity(&self) -> &f32[src]

Gets a reference of the property value.

pub fn opacity_mut(&mut self) -> &mut f32[src]

Gets a mutable reference of the property value.

pub fn set_opacity(&mut self, value: impl Into<f32>)[src]

Sets the property value.

pub fn clone_opacity(&mut self) -> f32[src]

Clones the property value.

pub fn visibility(&self) -> &Visibility[src]

Gets a reference of the property value.

pub fn visibility_mut(&mut self) -> &mut Visibility[src]

Gets a mutable reference of the property value.

pub fn set_visibility(&mut self, value: impl Into<Visibility>)[src]

Sets the property value.

pub fn clone_visibility(&mut self) -> Visibility[src]

Clones the property value.

pub fn selector(&self) -> &Selector[src]

Gets a reference of the property value.

pub fn selector_mut(&mut self) -> &mut Selector[src]

Gets a mutable reference of the property value.

pub fn set_selector(&mut self, value: impl Into<Selector>)[src]

Sets the property value.

pub fn clone_selector(&mut self) -> Selector[src]

Clones the property value.

pub fn on_changed_filter(&self) -> &Filter[src]

Gets a reference of the property value.

pub fn on_changed_filter_mut(&mut self) -> &mut Filter[src]

Gets a mutable reference of the property value.

pub fn set_on_changed_filter(&mut self, value: impl Into<Filter>)[src]

Sets the property value.

pub fn clone_on_changed_filter(&mut self) -> Filter[src]

Clones the property value.

pub fn background(&self) -> &Brush[src]

Gets a reference of the property value.

pub fn background_mut(&mut self) -> &mut Brush[src]

Gets a mutable reference of the property value.

pub fn set_background(&mut self, value: impl Into<Brush>)[src]

Sets the property value.

pub fn clone_background(&mut self) -> Brush[src]

Clones the property value.

pub fn border_radius(&self) -> &f64[src]

Gets a reference of the property value.

pub fn border_radius_mut(&mut self) -> &mut f64[src]

Gets a mutable reference of the property value.

pub fn set_border_radius(&mut self, value: impl Into<f64>)[src]

Sets the property value.

pub fn clone_border_radius(&mut self) -> f64[src]

Clones the property value.

pub fn border_width(&self) -> &Thickness[src]

Gets a reference of the property value.

pub fn border_width_mut(&mut self) -> &mut Thickness[src]

Gets a mutable reference of the property value.

pub fn set_border_width(&mut self, value: impl Into<Thickness>)[src]

Sets the property value.

pub fn clone_border_width(&mut self) -> Thickness[src]

Clones the property value.

pub fn border_brush(&self) -> &Brush[src]

Gets a reference of the property value.

pub fn border_brush_mut(&mut self) -> &mut Brush[src]

Gets a mutable reference of the property value.

pub fn set_border_brush(&mut self, value: impl Into<Brush>)[src]

Sets the property value.

pub fn clone_border_brush(&mut self) -> Brush[src]

Clones the property value.

pub fn foreground(&self) -> &Brush[src]

Gets a reference of the property value.

pub fn foreground_mut(&mut self) -> &mut Brush[src]

Gets a mutable reference of the property value.

pub fn set_foreground(&mut self, value: impl Into<Brush>)[src]

Sets the property value.

pub fn clone_foreground(&mut self) -> Brush[src]

Clones the property value.

pub fn font_size(&self) -> &f64[src]

Gets a reference of the property value.

pub fn font_size_mut(&mut self) -> &mut f64[src]

Gets a mutable reference of the property value.

pub fn set_font_size(&mut self, value: impl Into<f64>)[src]

Sets the property value.

pub fn clone_font_size(&mut self) -> f64[src]

Clones the property value.

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

Gets a reference of the property value.

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

Gets a mutable reference of the property value.

pub fn set_font(&mut self, value: impl Into<String>)[src]

Sets the property value.

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

Clones the property value.

pub fn count(&self) -> &usize[src]

Gets a reference of the property value.

pub fn count_mut(&mut self) -> &mut usize[src]

Gets a mutable reference of the property value.

pub fn set_count(&mut self, value: impl Into<usize>)[src]

Sets the property value.

pub fn clone_count(&mut self) -> usize[src]

Clones the property value.

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

Gets a reference of the property value.

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

Gets a mutable reference of the property value.

pub fn set_selected_index(&mut self, value: impl Into<i32>)[src]

Sets the property value.

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

Clones the property value.

pub fn selected_item(&self) -> &Option<Entity>[src]

Gets a reference of the property value.

pub fn selected_item_mut(&mut self) -> &mut Option<Entity>[src]

Gets a mutable reference of the property value.

pub fn set_selected_item(&mut self, value: impl Into<Option<Entity>>)[src]

Sets the property value.

pub fn clone_selected_item(&mut self) -> Option<Entity>[src]

Clones the property value.

pub fn padding(&self) -> &Thickness[src]

Gets a reference of the property value.

pub fn padding_mut(&mut self) -> &mut Thickness[src]

Gets a mutable reference of the property value.

pub fn set_padding(&mut self, value: impl Into<Thickness>)[src]

Sets the property value.

pub fn clone_padding(&mut self) -> Thickness[src]

Clones the property value.

pub fn pressed(&self) -> &bool[src]

Gets a reference of the property value.

pub fn pressed_mut(&mut self) -> &mut bool[src]

Gets a mutable reference of the property value.

pub fn set_pressed(&mut self, value: impl Into<bool>)[src]

Sets the property value.

pub fn clone_pressed(&mut self) -> bool[src]

Clones the property value.

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

Gets a reference of the property value.

pub fn selected_mut(&mut self) -> &mut bool[src]

Gets a mutable reference of the property value.

pub fn set_selected(&mut self, value: impl Into<bool>)[src]

Sets the property value.

pub fn clone_selected(&mut self) -> bool[src]

Clones the property value.

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

Gets a reference of the property value.

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

Gets a mutable reference of the property value.

pub fn set_icon(&mut self, value: impl Into<String>)[src]

Sets the property value.

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

Clones the property value.

pub fn icon_brush(&self) -> &Brush[src]

Gets a reference of the property value.

pub fn icon_brush_mut(&mut self) -> &mut Brush[src]

Gets a mutable reference of the property value.

pub fn set_icon_brush(&mut self, value: impl Into<Brush>)[src]

Sets the property value.

pub fn clone_icon_brush(&mut self) -> Brush[src]

Clones the property value.

pub fn icon_size(&self) -> &f64[src]

Gets a reference of the property value.

pub fn icon_size_mut(&mut self) -> &mut f64[src]

Gets a mutable reference of the property value.

pub fn set_icon_size(&mut self, value: impl Into<f64>)[src]

Sets the property value.

pub fn clone_icon_size(&mut self) -> f64[src]

Clones the property value.

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

Gets a reference of the property value.

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

Gets a mutable reference of the property value.

pub fn set_icon_font(&mut self, value: impl Into<String>)[src]

Sets the property value.

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

Clones the property value.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for ComboBoxCtx<'a>

impl<'a> !Send for ComboBoxCtx<'a>

impl<'a> !Sync for ComboBoxCtx<'a>

impl<'a> Unpin for ComboBoxCtx<'a>

impl<'a> !UnwindSafe for ComboBoxCtx<'a>

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<E> Component for E where
    E: Any
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,