Trait gtk::prelude::ScrolledWindowExt
source · [−]pub trait ScrolledWindowExt: 'static {
Show 57 methods
fn get_capture_button_press(&self) -> bool;
fn get_hadjustment(&self) -> Option<Adjustment>;
fn get_hscrollbar(&self) -> Option<Widget>;
fn get_kinetic_scrolling(&self) -> bool;
fn get_max_content_height(&self) -> i32;
fn get_max_content_width(&self) -> i32;
fn get_min_content_height(&self) -> i32;
fn get_min_content_width(&self) -> i32;
fn get_overlay_scrolling(&self) -> bool;
fn get_placement(&self) -> CornerType;
fn get_policy(&self) -> (PolicyType, PolicyType);
fn get_propagate_natural_height(&self) -> bool;
fn get_propagate_natural_width(&self) -> bool;
fn get_shadow_type(&self) -> ShadowType;
fn get_vadjustment(&self) -> Option<Adjustment>;
fn get_vscrollbar(&self) -> Option<Widget>;
fn set_capture_button_press(&self, capture_button_press: bool);
fn set_hadjustment<P: IsA<Adjustment>>(&self, hadjustment: &P);
fn set_kinetic_scrolling(&self, kinetic_scrolling: bool);
fn set_max_content_height(&self, height: i32);
fn set_max_content_width(&self, width: i32);
fn set_min_content_height(&self, height: i32);
fn set_min_content_width(&self, width: i32);
fn set_overlay_scrolling(&self, overlay_scrolling: bool);
fn set_placement(&self, window_placement: CornerType);
fn set_policy(
&self,
hscrollbar_policy: PolicyType,
vscrollbar_policy: PolicyType
);
fn set_propagate_natural_height(&self, propagate: bool);
fn set_propagate_natural_width(&self, propagate: bool);
fn set_shadow_type(&self, type_: ShadowType);
fn set_vadjustment<P: IsA<Adjustment>>(&self, vadjustment: &P);
fn unset_placement(&self);
fn get_property_hscrollbar_policy(&self) -> PolicyType;
fn set_property_hscrollbar_policy(&self, hscrollbar_policy: PolicyType);
fn get_property_vscrollbar_policy(&self) -> PolicyType;
fn set_property_vscrollbar_policy(&self, vscrollbar_policy: PolicyType);
fn get_property_window_placement(&self) -> CornerType;
fn set_property_window_placement(&self, window_placement: CornerType);
fn connect_edge_overshot<F: Fn(&Self, PositionType) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_edge_reached<F: Fn(&Self, PositionType) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_move_focus_out<F: Fn(&Self, DirectionType) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn emit_move_focus_out(&self, direction_type: DirectionType);
fn connect_scroll_child<F: Fn(&Self, ScrollType, bool) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn emit_scroll_child(&self, scroll: ScrollType, horizontal: bool) -> bool;
fn connect_property_hadjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_hscrollbar_policy_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_kinetic_scrolling_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_max_content_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_max_content_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_min_content_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_min_content_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_overlay_scrolling_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_propagate_natural_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_propagate_natural_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_shadow_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_vadjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_vscrollbar_policy_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_window_placement_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required Methods
source
fn get_hadjustment(&self) -> Option<Adjustment>
source
fn get_hscrollbar(&self) -> Option<Widget>
source
fn get_kinetic_scrolling(&self) -> bool
source
fn get_max_content_height(&self) -> i32
source
fn get_max_content_width(&self) -> i32
source
fn get_min_content_height(&self) -> i32
source
fn get_min_content_width(&self) -> i32
source
fn get_overlay_scrolling(&self) -> bool
source
fn get_placement(&self) -> CornerType
source
fn get_policy(&self) -> (PolicyType, PolicyType)
source
fn get_propagate_natural_height(&self) -> bool
source
fn get_propagate_natural_width(&self) -> bool
source
fn get_shadow_type(&self) -> ShadowType
source
fn get_vadjustment(&self) -> Option<Adjustment>
source
fn get_vscrollbar(&self) -> Option<Widget>
source
fn set_hadjustment<P: IsA<Adjustment>>(&self, hadjustment: &P)
source
fn set_kinetic_scrolling(&self, kinetic_scrolling: bool)
source
fn set_max_content_height(&self, height: i32)
source
fn set_max_content_width(&self, width: i32)
source
fn set_min_content_height(&self, height: i32)
source
fn set_min_content_width(&self, width: i32)
source
fn set_overlay_scrolling(&self, overlay_scrolling: bool)
source
fn set_placement(&self, window_placement: CornerType)
source
fn set_policy(&self, hscrollbar_policy: PolicyType, vscrollbar_policy: PolicyType)
source
fn set_propagate_natural_height(&self, propagate: bool)
source
fn set_propagate_natural_width(&self, propagate: bool)
source
fn set_shadow_type(&self, type_: ShadowType)
source
fn set_vadjustment<P: IsA<Adjustment>>(&self, vadjustment: &P)
source
fn unset_placement(&self)
source
fn get_property_hscrollbar_policy(&self) -> PolicyType
source
fn set_property_hscrollbar_policy(&self, hscrollbar_policy: PolicyType)
source
fn get_property_vscrollbar_policy(&self) -> PolicyType
source
fn set_property_vscrollbar_policy(&self, vscrollbar_policy: PolicyType)
source
fn get_property_window_placement(&self) -> CornerType
source
fn set_property_window_placement(&self, window_placement: CornerType)
sourcefn connect_edge_overshot<F: Fn(&Self, PositionType) + 'static>(
fn connect_edge_overshot<F: Fn(&Self, PositionType) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_edge_reached<F: Fn(&Self, PositionType) + 'static>(
fn connect_edge_reached<F: Fn(&Self, PositionType) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_move_focus_out<F: Fn(&Self, DirectionType) + 'static>(
fn connect_move_focus_out<F: Fn(&Self, DirectionType) + 'static>(
&self,
f: F
) -> SignalHandlerId
source
fn emit_move_focus_out(&self, direction_type: DirectionType)
sourcefn connect_scroll_child<F: Fn(&Self, ScrollType, bool) -> bool + 'static>(
fn connect_scroll_child<F: Fn(&Self, ScrollType, bool) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
source
fn emit_scroll_child(&self, scroll: ScrollType, horizontal: bool) -> bool
sourcefn connect_property_hadjustment_notify<F: Fn(&Self) + 'static>(
fn connect_property_hadjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_hscrollbar_policy_notify<F: Fn(&Self) + 'static>(
fn connect_property_hscrollbar_policy_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_kinetic_scrolling_notify<F: Fn(&Self) + 'static>(
fn connect_property_kinetic_scrolling_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_max_content_height_notify<F: Fn(&Self) + 'static>(
fn connect_property_max_content_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_max_content_width_notify<F: Fn(&Self) + 'static>(
fn connect_property_max_content_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_min_content_height_notify<F: Fn(&Self) + 'static>(
fn connect_property_min_content_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_min_content_width_notify<F: Fn(&Self) + 'static>(
fn connect_property_min_content_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_overlay_scrolling_notify<F: Fn(&Self) + 'static>(
fn connect_property_overlay_scrolling_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_propagate_natural_height_notify<F: Fn(&Self) + 'static>(
fn connect_property_propagate_natural_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_propagate_natural_width_notify<F: Fn(&Self) + 'static>(
fn connect_property_propagate_natural_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_shadow_type_notify<F: Fn(&Self) + 'static>(
fn connect_property_shadow_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_vadjustment_notify<F: Fn(&Self) + 'static>(
fn connect_property_vadjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_vscrollbar_policy_notify<F: Fn(&Self) + 'static>(
fn connect_property_vscrollbar_policy_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_window_placement_notify<F: Fn(&Self) + 'static>(