Trait components::ScrollViewExt[][src]

pub trait ScrollViewExt: 'static {
    fn ensure_visible(&self, geometry: &Geometry);
fn get_enable_mouse_scrolling(&self) -> bool;
fn get_scroll_policy(&self) -> ScrollPolicy;
fn get_scroll_visibility(&self) -> ScrollPolicy;
fn set_enable_mouse_scrolling(&self, enabled: bool);
fn set_scroll_policy(&self, policy: ScrollPolicy);
fn set_scroll_visibility(&self, visibility: ScrollPolicy);
fn connect_property_enable_mouse_scrolling_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_scroll_policy_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_scroll_visibility_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn ensure_visible(&self, geometry: &Geometry)[src]

scroll_view_ensure_visible: @scroll: A #ScrollView @geometry: The region to make visible

Ensures that a given region is visible in the ScrollView, with the top-left taking precedence.

fn get_enable_mouse_scrolling(&self) -> bool[src]

fn get_scroll_policy(&self) -> ScrollPolicy[src]

fn get_scroll_visibility(&self) -> ScrollPolicy[src]

fn set_enable_mouse_scrolling(&self, enabled: bool)[src]

fn set_scroll_policy(&self, policy: ScrollPolicy)[src]

fn set_scroll_visibility(&self, visibility: ScrollPolicy)[src]

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

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

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

Loading content...

Implementors

impl<O: Is<ScrollView>> ScrollViewExt for O[src]

fn ensure_visible(&self, geometry: &Geometry)[src]

scroll_view_ensure_visible: @scroll: A #ScrollView @geometry: The region to make visible

Ensures that a given region is visible in the ScrollView, with the top-left taking precedence.

Loading content...