pub struct TreeViewColumnBuilder { /* private fields */ }👎Deprecated:
Since 4.10
Expand description
A builder-pattern type to construct TreeViewColumn objects.
Implementations§
Source§impl TreeViewColumnBuilder
impl TreeViewColumnBuilder
pub fn alignment(self, alignment: f32) -> Self
👎Deprecated:
Since 4.10
Sourcepub fn cell_area(self, cell_area: &impl IsA<CellArea>) -> Self
👎Deprecated: Since 4.10
pub fn cell_area(self, cell_area: &impl IsA<CellArea>) -> Self
Since 4.10
The CellArea used to layout cell renderers for this column.
If no area is specified when creating the tree view column with gtk_tree_view_column_new_with_area()
a horizontally oriented CellAreaBox will be used.
pub fn clickable(self, clickable: bool) -> Self
👎Deprecated:
Since 4.10
pub fn expand(self, expand: bool) -> Self
👎Deprecated:
Since 4.10
pub fn fixed_width(self, fixed_width: i32) -> Self
👎Deprecated:
Since 4.10
pub fn max_width(self, max_width: i32) -> Self
👎Deprecated:
Since 4.10
pub fn min_width(self, min_width: i32) -> Self
👎Deprecated:
Since 4.10
pub fn reorderable(self, reorderable: bool) -> Self
👎Deprecated:
Since 4.10
pub fn resizable(self, resizable: bool) -> Self
👎Deprecated:
Since 4.10
pub fn sizing(self, sizing: TreeViewColumnSizing) -> Self
👎Deprecated:
Since 4.10
Sourcepub fn sort_column_id(self, sort_column_id: i32) -> Self
👎Deprecated: Since 4.10
pub fn sort_column_id(self, sort_column_id: i32) -> Self
Since 4.10
Logical sort column ID this column sorts on when selected for sorting. Setting the sort column ID makes the column header clickable. Set to -1 to make the column unsortable.
pub fn sort_indicator(self, sort_indicator: bool) -> Self
👎Deprecated:
Since 4.10
pub fn sort_order(self, sort_order: SortType) -> Self
👎Deprecated:
Since 4.10
pub fn spacing(self, spacing: i32) -> Self
👎Deprecated:
Since 4.10
pub fn title(self, title: impl Into<GString>) -> Self
👎Deprecated:
Since 4.10
pub fn visible(self, visible: bool) -> Self
👎Deprecated:
Since 4.10
pub fn widget(self, widget: &impl IsA<Widget>) -> Self
👎Deprecated:
Since 4.10
Sourcepub fn build(self) -> TreeViewColumn
👎Deprecated: Since 4.10
pub fn build(self) -> TreeViewColumn
Since 4.10
Build the TreeViewColumn.
Auto Trait Implementations§
impl !Send for TreeViewColumnBuilder
impl !Sync for TreeViewColumnBuilder
impl Forget for TreeViewColumnBuilder
impl Freeze for TreeViewColumnBuilder
impl Move for TreeViewColumnBuilder
impl RefUnwindSafe for TreeViewColumnBuilder
impl Unpin for TreeViewColumnBuilder
impl UnsafeUnpin for TreeViewColumnBuilderwhere
&'static str: UnsafeUnpin,
*mut c_void: UnsafeUnpin,
*const (&'static str, Value) is !null: UnsafeUnpin,
PhantomData<TreeViewColumn>: UnsafeUnpin,
impl UnwindSafe for TreeViewColumnBuilderwhere
&'static str: UnwindSafe,
*mut c_void: UnwindSafe,
NonNull<(&'static str, Value)>: UnwindSafe,
NonNull<GObject>: UnwindSafe,
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