pub trait ScrolledWindowExt: 'static {
Show 57 methods
// Required methods
fn is_capture_button_press(&self) -> bool;
fn hadjustment(&self) -> Adjustment;
fn hscrollbar(&self) -> Option<Widget>;
fn is_kinetic_scrolling(&self) -> bool;
fn max_content_height(&self) -> i32;
fn max_content_width(&self) -> i32;
fn min_content_height(&self) -> i32;
fn min_content_width(&self) -> i32;
fn is_overlay_scrolling(&self) -> bool;
fn placement(&self) -> CornerType;
fn policy(&self) -> (PolicyType, PolicyType);
fn propagates_natural_height(&self) -> bool;
fn propagates_natural_width(&self) -> bool;
fn shadow_type(&self) -> ShadowType;
fn vadjustment(&self) -> Adjustment;
fn vscrollbar(&self) -> Option<Widget>;
fn set_capture_button_press(&self, capture_button_press: bool);
fn set_hadjustment(&self, hadjustment: Option<&impl IsA<Adjustment>>);
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(&self, vadjustment: Option<&impl IsA<Adjustment>>);
fn unset_placement(&self);
fn hscrollbar_policy(&self) -> PolicyType;
fn set_hscrollbar_policy(&self, hscrollbar_policy: PolicyType);
fn vscrollbar_policy(&self) -> PolicyType;
fn set_vscrollbar_policy(&self, vscrollbar_policy: PolicyType);
fn window_placement(&self) -> CornerType;
fn set_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_hadjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_hscrollbar_policy_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_kinetic_scrolling_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_max_content_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_max_content_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_min_content_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_min_content_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_overlay_scrolling_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_propagate_natural_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_propagate_natural_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_shadow_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_vadjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_vscrollbar_policy_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_window_placement_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}