Struct gtk4::builders::ColumnViewColumnBuilder
source · pub struct ColumnViewColumnBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct ColumnViewColumn
objects.
Implementations§
source§impl ColumnViewColumnBuilder
impl ColumnViewColumnBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new ColumnViewColumnBuilder
.
sourcepub fn build(self) -> ColumnViewColumn
pub fn build(self) -> ColumnViewColumn
Build the ColumnViewColumn
.
pub fn expand(self, expand: bool) -> Self
pub fn factory(self, factory: &impl IsA<ListItemFactory>) -> Self
pub fn fixed_width(self, fixed_width: i32) -> Self
pub fn resizable(self, resizable: bool) -> Self
pub fn sorter(self, sorter: &impl IsA<Sorter>) -> Self
pub fn title(self, title: &str) -> Self
pub fn visible(self, visible: bool) -> Self
Trait Implementations§
source§impl Clone for ColumnViewColumnBuilder
impl Clone for ColumnViewColumnBuilder
source§fn clone(&self) -> ColumnViewColumnBuilder
fn clone(&self) -> ColumnViewColumnBuilder
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 ColumnViewColumnBuilder
impl Default for ColumnViewColumnBuilder
source§fn default() -> ColumnViewColumnBuilder
fn default() -> ColumnViewColumnBuilder
Returns the “default value” for a type. Read more