Struct gtk4::builders::BoxLayoutBuilder
source · pub struct BoxLayoutBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct BoxLayout
objects.
Implementations§
source§impl BoxLayoutBuilder
impl BoxLayoutBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new BoxLayoutBuilder
.
pub fn baseline_position(self, baseline_position: BaselinePosition) -> Self
pub fn homogeneous(self, homogeneous: bool) -> Self
pub fn spacing(self, spacing: i32) -> Self
pub fn orientation(self, orientation: Orientation) -> Self
Trait Implementations§
source§impl Clone for BoxLayoutBuilder
impl Clone for BoxLayoutBuilder
source§fn clone(&self) -> BoxLayoutBuilder
fn clone(&self) -> BoxLayoutBuilder
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 BoxLayoutBuilder
impl Default for BoxLayoutBuilder
source§fn default() -> BoxLayoutBuilder
fn default() -> BoxLayoutBuilder
Returns the “default value” for a type. Read more