[−][src]Struct fltk::input::FloatInput
An input widget which takes only floats
Trait Implementations
impl Clone for FloatInput
[src]
fn clone(&self) -> FloatInput
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FloatInput
[src]
impl Debug for FloatInput
[src]
impl InputTrait for FloatInput
[src]
fn value(&self) -> String
[src]
fn set_value(&self, val: &str)
[src]
fn maximum_size(&self) -> usize
[src]
fn set_maximum_size(&mut self, val: usize)
[src]
fn position(&self) -> i32
[src]
fn set_position(&mut self, val: i32)
[src]
fn mark(&self) -> i32
[src]
fn set_mark(&mut self, val: i32)
[src]
fn replace(&mut self, beg: usize, end: usize, val: &str)
[src]
fn insert(&mut self, txt: &str)
[src]
fn append(&mut self, txt: &str)
[src]
fn copy(&mut self)
[src]
fn undo(&mut self)
[src]
fn cut(&mut self)
[src]
fn text_font(&self) -> Font
[src]
fn set_text_font(&mut self, font: Font)
[src]
fn text_color(&self) -> Color
[src]
fn set_text_color(&mut self, color: Color)
[src]
fn text_size(&self) -> usize
[src]
fn set_text_size(&mut self, sz: usize)
[src]
fn readonly(&self) -> bool
[src]
fn set_readonly(&mut self, val: bool)
[src]
fn wrap(&self) -> bool
[src]
fn set_wrap(&mut self, val: bool)
[src]
impl Send for FloatInput
[src]
impl WidgetTrait for FloatInput
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> FloatInput
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> String
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> usize
[src]
fn set_label_size(&mut self, sz: usize)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageTrait>(&mut self, image: Image)
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_custom_handler<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
Auto Trait Implementations
impl RefUnwindSafe for FloatInput
impl !Sync for FloatInput
impl Unpin for FloatInput
impl UnwindSafe for FloatInput
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,