Struct fltk::valuator::Scrollbar[][src]

pub struct Scrollbar { /* fields omitted */ }

Creates a scrollbar widget

Implementations

impl Scrollbar[src]

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

Get the slider size as a fraction of the long axis

pub fn set_slider_size(&mut self, v: f32)[src]

Set the slider size as a fraction of the long axis

pub fn slider_frame(&self) -> FrameType[src]

Get the frame type of the slider box

pub fn set_slider_frame(&mut self, c: FrameType)[src]

Set the frame type of the slider box

Trait Implementations

impl Clone for Scrollbar[src]

impl Debug for Scrollbar[src]

impl Default for Scrollbar[src]

impl Send for Scrollbar[src]

impl Sync for Scrollbar[src]

impl ValuatorExt for Scrollbar[src]

impl WidgetBase for Scrollbar[src]

impl WidgetExt for Scrollbar[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.