[−][src]Trait gtk::ScrollableExt
Trait containing all Scrollable
methods.
Implementors
IconView
, Layout
, Scrollable
, TextView
, ToolPalette
, TreeView
, Viewport
Required methods
fn get_border(&self) -> Option<Border>
Returns the size of a non-scrolling border around the outside of the scrollable. An example for this would be treeview headers. GTK+ can use this information to display overlayed graphics, like the overshoot indication, at the right position.
Feature: v3_16
border
return location for the results
Returns
true
if border
has been set
fn get_hadjustment(&self) -> Option<Adjustment>
fn get_hscroll_policy(&self) -> ScrollablePolicy
fn get_vadjustment(&self) -> Option<Adjustment>
fn get_vscroll_policy(&self) -> ScrollablePolicy
fn set_hadjustment<P: IsA<Adjustment>>(&self, hadjustment: Option<&P>)
fn set_hscroll_policy(&self, policy: ScrollablePolicy)
Sets the ScrollablePolicy
to determine whether
horizontal scrolling should start below the minimum width or
below the natural width.
policy
the horizontal ScrollablePolicy
fn set_vadjustment<P: IsA<Adjustment>>(&self, vadjustment: Option<&P>)
fn set_vscroll_policy(&self, policy: ScrollablePolicy)
Sets the ScrollablePolicy
to determine whether
vertical scrolling should start below the minimum height or
below the natural height.
policy
the vertical ScrollablePolicy
fn connect_property_hadjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_hscroll_policy_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_vadjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_vscroll_policy_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<Scrollable>> ScrollableExt for O
[src]
fn get_border(&self) -> Option<Border>
[src]
fn get_hadjustment(&self) -> Option<Adjustment>
[src]
fn get_hscroll_policy(&self) -> ScrollablePolicy
[src]
fn get_vadjustment(&self) -> Option<Adjustment>
[src]
fn get_vscroll_policy(&self) -> ScrollablePolicy
[src]
fn set_hadjustment<P: IsA<Adjustment>>(&self, hadjustment: Option<&P>)
[src]
fn set_hscroll_policy(&self, policy: ScrollablePolicy)
[src]
fn set_vadjustment<P: IsA<Adjustment>>(&self, vadjustment: Option<&P>)
[src]
fn set_vscroll_policy(&self, policy: ScrollablePolicy)
[src]
fn connect_property_hadjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_hscroll_policy_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_vadjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_vscroll_policy_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId