Trait ux::ScrollViewExt [−][src]
pub trait ScrollViewExt: 'static { pub fn ensure_visible(&self, geometry: &Geometry); pub fn get_enable_mouse_scrolling(&self) -> bool; pub fn get_scroll_policy(&self) -> ScrollPolicy; pub fn get_scroll_visibility(&self) -> ScrollPolicy; pub fn set_enable_mouse_scrolling(&self, enabled: bool); pub fn set_scroll_policy(&self, policy: ScrollPolicy); pub fn set_scroll_visibility(&self, visibility: ScrollPolicy); pub fn connect_property_enable_mouse_scrolling_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_scroll_policy_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_scroll_visibility_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self); }
Required methods
pub 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.
pub fn get_enable_mouse_scrolling(&self) -> bool
[src]
pub fn get_scroll_policy(&self) -> ScrollPolicy
[src]
pub fn get_scroll_visibility(&self) -> ScrollPolicy
[src]
pub fn set_enable_mouse_scrolling(&self, enabled: bool)
[src]
pub fn set_scroll_policy(&self, policy: ScrollPolicy)
[src]
pub fn set_scroll_visibility(&self, visibility: ScrollPolicy)
[src]
pub fn connect_property_enable_mouse_scrolling_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&Self),
pub fn connect_property_scroll_policy_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_scroll_visibility_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&Self),
Implementors
impl<O> ScrollViewExt for O where
O: Is<ScrollView>,
[src]
impl<O> ScrollViewExt for O where
O: Is<ScrollView>,
[src]pub 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.
pub fn get_enable_mouse_scrolling(&self) -> bool
[src]
pub fn get_scroll_policy(&self) -> ScrollPolicy
[src]
pub fn get_scroll_visibility(&self) -> ScrollPolicy
[src]
pub fn set_enable_mouse_scrolling(&self, enabled: bool)
[src]
pub fn set_scroll_policy(&self, policy: ScrollPolicy)
[src]
pub fn set_scroll_visibility(&self, visibility: ScrollPolicy)
[src]
pub fn connect_property_enable_mouse_scrolling_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_scroll_policy_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_scroll_visibility_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),