[][src]Struct fltk::misc::Spinner

pub struct Spinner { /* fields omitted */ }

Creates a spinner widget

Implementations

impl Spinner[src]

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

Returns the minimum value of the spinner widget

pub fn set_minimum(&mut self, a: f64)[src]

Sets the minimu value of the spinner widget

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

Returns the maximum value of the spinner widget

pub fn set_maximum(&mut self, a: f64)[src]

Sets the minimum value of the spinner widget

pub fn set_range(&mut self, a: f64, b: f64)[src]

Sets the range of the spinner widget

pub fn set_step(&mut self, a: f64)[src]

Sets the step of the spinner widget

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

Gets the range of the spinner widget

pub fn maximum_size(&self) -> u32[src]

Returns the maximum size supported by the spinner widget

pub fn set_maximum_size(&mut self, s: u32)[src]

Sets the maximum size supported by the spinner widget

pub fn text_font(&self) -> Font[src]

Gets the text font

pub fn set_text_font(&mut self, f: Font)[src]

Sets the text font

pub fn text_size(&self) -> u32[src]

Gets the text size

pub fn set_text_size(&mut self, s: u32)[src]

Sets the text size

pub fn text_color(&self) -> Color[src]

Gets the text's color

pub fn set_text_color(&mut self, color: Color)[src]

Sets the text's color

Trait Implementations

impl Clone for Spinner[src]

impl Debug for Spinner[src]

impl Send for Spinner[src]

impl Sync for Spinner[src]

impl WidgetExt for Spinner[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.