gtk4::builders

Struct TreeViewColumnBuilder

Source
pub struct TreeViewColumnBuilder { /* private fields */ }
๐Ÿ‘ŽDeprecated: Since 4.10
Expand description

A builder-pattern type to construct TreeViewColumn objects.

Implementationsยง

Sourceยง

impl TreeViewColumnBuilder

Source

pub fn alignment(self, alignment: f32) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn cell_area(self, cell_area: &impl IsA<CellArea>) -> Self

๐Ÿ‘ŽDeprecated: 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.

Source

pub fn clickable(self, clickable: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn expand(self, expand: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn fixed_width(self, fixed_width: i32) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn max_width(self, max_width: i32) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn min_width(self, min_width: i32) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn reorderable(self, reorderable: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn resizable(self, resizable: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn sizing(self, sizing: TreeViewColumnSizing) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn sort_column_id(self, sort_column_id: i32) -> Self

๐Ÿ‘ŽDeprecated: 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.

Source

pub fn sort_indicator(self, sort_indicator: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn sort_order(self, sort_order: SortType) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn spacing(self, spacing: i32) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn title(self, title: impl Into<GString>) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn visible(self, visible: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn widget(self, widget: &impl IsA<Widget>) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn build(self) -> TreeViewColumn

๐Ÿ‘ŽDeprecated: Since 4.10

Build the TreeViewColumn.

Auto Trait Implementationsยง

Blanket Implementationsยง

Sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

Sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

Sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Sourceยง

impl<T> BorrowMut<T> for T
where T: ?Sized,

Sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Sourceยง

impl<T> From<T> for T

Sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

Sourceยง

impl<T, U> Into<U> for T
where U: From<T>,

Sourceยง

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Sourceยง

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Sourceยง

type Error = Infallible

The type returned in the event of a conversion error.
Sourceยง

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Sourceยง

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Sourceยง

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Sourceยง

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.