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
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 id(self, id: impl Into<GString>) -> Self
Available on crate feature
v4_10 only.pub fn resizable(self, resizable: bool) -> Self
pub fn sorter(self, sorter: &impl IsA<Sorter>) -> Self
pub fn title(self, title: impl Into<GString>) -> Self
pub fn visible(self, visible: bool) -> Self
sourcepub fn build(self) -> ColumnViewColumn
pub fn build(self) -> ColumnViewColumn
Build the ColumnViewColumn.
Auto Trait Implementations§
impl Freeze for ColumnViewColumnBuilder
impl RefUnwindSafe for ColumnViewColumnBuilder
impl !Send for ColumnViewColumnBuilder
impl !Sync for ColumnViewColumnBuilder
impl Unpin for ColumnViewColumnBuilder
impl UnwindSafe for ColumnViewColumnBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more