pub struct InputChoiceElement { /* private fields */ }
Methods from Deref<Target = InputChoice>§
Sourcepub fn set_down_frame(&mut self, f: FrameType)
pub fn set_down_frame(&mut self, f: FrameType)
Set the down_box
of the widget
Sourcepub fn down_frame(&self) -> FrameType
pub fn down_frame(&self) -> FrameType
Get the down frame type of the widget
Sourcepub fn value_index(&self) -> i32
pub fn value_index(&self) -> i32
Get the value index of the current input choice
Sourcepub fn set_value_index(&mut self, idx: i32)
pub fn set_value_index(&mut self, idx: i32)
Set the value of the input choice to the element at idx
Get the associated menu button
Sourcepub fn set_text_font(&mut self, f: Font)
pub fn set_text_font(&mut self, f: Font)
Sets the text font
Sourcepub fn set_text_size(&mut self, s: i32)
pub fn set_text_size(&mut self, s: i32)
Sets the text size
Sourcepub fn text_color(&self) -> Color
pub fn text_color(&self) -> Color
Gets the text’s color
Sourcepub fn set_text_color(&mut self, color: Color)
pub fn set_text_color(&mut self, color: Color)
Sets the text’s color
Trait Implementations§
Source§impl Deref for InputChoiceElement
impl Deref for InputChoiceElement
Source§impl DerefMut for InputChoiceElement
impl DerefMut for InputChoiceElement
Source§impl LayoutElement for InputChoiceElement
impl LayoutElement for InputChoiceElement
Source§impl LayoutWidgetWrapper<InputChoice> for InputChoiceElement
impl LayoutWidgetWrapper<InputChoice> for InputChoiceElement
fn wrap(widget: InputChoice) -> Self
Auto Trait Implementations§
impl Freeze for InputChoiceElement
impl RefUnwindSafe for InputChoiceElement
impl Send for InputChoiceElement
impl Sync for InputChoiceElement
impl Unpin for InputChoiceElement
impl UnwindSafe for InputChoiceElement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more