Trait sourceview5::prelude::ScrollableExt
source · pub trait ScrollableExt: IsA<Scrollable> + Sealed + 'static {
Show 13 methods
// Provided methods
fn border(&self) -> Option<Border> { ... }
fn hadjustment(&self) -> Option<Adjustment> { ... }
fn hscroll_policy(&self) -> ScrollablePolicy { ... }
fn vadjustment(&self) -> Option<Adjustment> { ... }
fn vscroll_policy(&self) -> ScrollablePolicy { ... }
fn set_hadjustment(&self, hadjustment: Option<&impl IsA<Adjustment>>) { ... }
fn set_hscroll_policy(&self, policy: ScrollablePolicy) { ... }
fn set_vadjustment(&self, vadjustment: Option<&impl IsA<Adjustment>>) { ... }
fn set_vscroll_policy(&self, policy: ScrollablePolicy) { ... }
fn connect_hadjustment_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_hscroll_policy_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_vadjustment_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_vscroll_policy_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
}
Provided Methods§
fn border(&self) -> Option<Border>
fn hadjustment(&self) -> Option<Adjustment>
fn hscroll_policy(&self) -> ScrollablePolicy
fn vadjustment(&self) -> Option<Adjustment>
fn vscroll_policy(&self) -> ScrollablePolicy
fn set_hadjustment(&self, hadjustment: Option<&impl IsA<Adjustment>>)
fn set_hscroll_policy(&self, policy: ScrollablePolicy)
fn set_vadjustment(&self, vadjustment: Option<&impl IsA<Adjustment>>)
fn set_vscroll_policy(&self, policy: ScrollablePolicy)
fn connect_hadjustment_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_hscroll_policy_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_vadjustment_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_vscroll_policy_notify<F>(&self, f: F) -> SignalHandlerId
Object Safety§
This trait is not object safe.