Trait gtk4::prelude::AdjustmentExt
source · [−]pub trait AdjustmentExt: 'static {
Show 23 methods
fn clamp_page(&self, lower: f64, upper: f64);
fn configure(
&self,
value: f64,
lower: f64,
upper: f64,
step_increment: f64,
page_increment: f64,
page_size: f64
);
fn lower(&self) -> f64;
fn minimum_increment(&self) -> f64;
fn page_increment(&self) -> f64;
fn page_size(&self) -> f64;
fn step_increment(&self) -> f64;
fn upper(&self) -> f64;
fn value(&self) -> f64;
fn set_lower(&self, lower: f64);
fn set_page_increment(&self, page_increment: f64);
fn set_page_size(&self, page_size: f64);
fn set_step_increment(&self, step_increment: f64);
fn set_upper(&self, upper: f64);
fn set_value(&self, value: f64);
fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_value_changed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_lower_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_page_increment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_page_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_step_increment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_upper_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_value_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required Methods
source
fn clamp_page(&self, lower: f64, upper: f64)
sourcefn configure(
fn configure(
&self,
value: f64,
lower: f64,
upper: f64,
step_increment: f64,
page_increment: f64,
page_size: f64
)
source
fn minimum_increment(&self) -> f64
source
fn page_increment(&self) -> f64
source
fn step_increment(&self) -> f64
source
fn set_page_increment(&self, page_increment: f64)
source
fn set_page_size(&self, page_size: f64)
source
fn set_step_increment(&self, step_increment: f64)
source
fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source
fn connect_value_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source
fn connect_lower_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_page_increment_notify<F: Fn(&Self) + 'static>(
fn connect_page_increment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_page_size_notify<F: Fn(&Self) + 'static>(
fn connect_page_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_step_increment_notify<F: Fn(&Self) + 'static>(
fn connect_step_increment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
source
fn connect_upper_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source