[][src]Struct fltk::group::Scroll

pub struct Scroll { /* fields omitted */ }

Creates a scroll group

Implementations

impl Scroll[src]

pub fn scrollbar(&self) -> Scrollbar[src]

Returns the vertical scrollbar

pub fn hscrollbar(&self) -> Scrollbar[src]

Returns the horizontal scrollbar

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

Returns the x position

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

Returns the y position

pub fn scroll_to(&mut self, from: u32, to: u32)[src]

Scrolls from from to to

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

Gets the scrollbar size

pub fn set_scrollbar_size(&mut self, new_size: u32)[src]

Sets the scrollbar size

Trait Implementations

impl Clone for Scroll[src]

impl Debug for Scroll[src]

impl GroupExt for Scroll[src]

impl Send for Scroll[src]

impl Sync for Scroll[src]

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