Trait components::ScrollBarExt[][src]

pub trait ScrollBarExt: 'static {
    fn get_adjustment(&self) -> Option<Adjustment>;
fn get_orientation(&self) -> Orientation;
fn set_adjustment<P: Is<Adjustment>>(&self, adjustment: &P);
fn set_orientation(&self, orientation: Orientation);
fn connect_scroll_start<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_scroll_stop<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_adjustment_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_orientation_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn get_adjustment(&self) -> Option<Adjustment>[src]

get_adjustment: @bar: a #ScrollBar

Gets the adjustment object that stores the current position of the scrollbar.

fn get_orientation(&self) -> Orientation[src]

fn set_adjustment<P: Is<Adjustment>>(&self, adjustment: &P)[src]

fn set_orientation(&self, orientation: Orientation)[src]

fn connect_scroll_start<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId[src]

fn connect_scroll_stop<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId[src]

fn connect_property_adjustment_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_orientation_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: Is<ScrollBar>> ScrollBarExt for O[src]

fn get_adjustment(&self) -> Option<Adjustment>[src]

get_adjustment: @bar: a #ScrollBar

Gets the adjustment object that stores the current position of the scrollbar.

Loading content...