Struct gtk4::builders::AdjustmentBuilder
source · pub struct AdjustmentBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct Adjustment
objects.
Implementations§
source§impl AdjustmentBuilder
impl AdjustmentBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new AdjustmentBuilder
.
sourcepub fn build(self) -> Adjustment
pub fn build(self) -> Adjustment
Build the Adjustment
.
pub fn lower(self, lower: f64) -> Self
pub fn page_increment(self, page_increment: f64) -> Self
pub fn page_size(self, page_size: f64) -> Self
pub fn step_increment(self, step_increment: f64) -> Self
pub fn upper(self, upper: f64) -> Self
pub fn value(self, value: f64) -> Self
Trait Implementations§
source§impl Clone for AdjustmentBuilder
impl Clone for AdjustmentBuilder
source§fn clone(&self) -> AdjustmentBuilder
fn clone(&self) -> AdjustmentBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AdjustmentBuilder
impl Default for AdjustmentBuilder
source§fn default() -> AdjustmentBuilder
fn default() -> AdjustmentBuilder
Returns the “default value” for a type. Read more