Struct gtk4::builders::GridLayoutBuilder
source · [−]pub struct GridLayoutBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct GridLayout
objects.
Implementations
sourceimpl GridLayoutBuilder
impl GridLayoutBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new GridLayoutBuilder
.
sourcepub fn build(self) -> GridLayout
pub fn build(self) -> GridLayout
Build the GridLayout
.
pub fn baseline_row(self, baseline_row: i32) -> Self
pub fn column_homogeneous(self, column_homogeneous: bool) -> Self
pub fn column_spacing(self, column_spacing: i32) -> Self
pub fn row_homogeneous(self, row_homogeneous: bool) -> Self
pub fn row_spacing(self, row_spacing: i32) -> Self
Trait Implementations
sourceimpl Clone for GridLayoutBuilder
impl Clone for GridLayoutBuilder
sourcefn clone(&self) -> GridLayoutBuilder
fn clone(&self) -> GridLayoutBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for GridLayoutBuilder
impl Default for GridLayoutBuilder
sourcefn default() -> GridLayoutBuilder
fn default() -> GridLayoutBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for GridLayoutBuilder
impl Send for GridLayoutBuilder
impl Sync for GridLayoutBuilder
impl Unpin for GridLayoutBuilder
impl UnwindSafe for GridLayoutBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more