pub struct TreeViewColumnBuilder { /* private fields */ }Expand description
A builder-pattern type to construct TreeViewColumn objects.
Implementations§
Source§impl TreeViewColumnBuilder
impl TreeViewColumnBuilder
pub fn alignment(self, alignment: f32) -> Self
pub fn cell_area(self, cell_area: &impl IsA<CellArea>) -> Self
pub fn clickable(self, clickable: bool) -> Self
pub fn expand(self, expand: bool) -> Self
pub fn fixed_width(self, fixed_width: i32) -> Self
pub fn max_width(self, max_width: i32) -> Self
pub fn min_width(self, min_width: i32) -> Self
pub fn reorderable(self, reorderable: bool) -> Self
pub fn resizable(self, resizable: bool) -> Self
pub fn sizing(self, sizing: TreeViewColumnSizing) -> Self
pub fn sort_column_id(self, sort_column_id: i32) -> Self
pub fn sort_indicator(self, sort_indicator: bool) -> Self
pub fn sort_order(self, sort_order: SortType) -> Self
pub fn spacing(self, spacing: i32) -> Self
pub fn title(self, title: impl Into<GString>) -> Self
pub fn visible(self, visible: bool) -> Self
pub fn widget(self, widget: &impl IsA<Widget>) -> Self
Sourcepub fn build(self) -> TreeViewColumn
pub fn build(self) -> TreeViewColumn
Build the TreeViewColumn.
Auto Trait Implementations§
impl Freeze for TreeViewColumnBuilder
impl RefUnwindSafe for TreeViewColumnBuilder
impl !Send for TreeViewColumnBuilder
impl !Sync for TreeViewColumnBuilder
impl Unpin for TreeViewColumnBuilder
impl UnwindSafe for TreeViewColumnBuilder
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