pub trait TreeViewExtManual: 'static {
    // Required methods
    fn insert_column_with_attributes(
        &self,
        position: i32,
        title: &str,
        cell: &impl IsA<CellRenderer>,
        attributes: &[(&str, i32)]
    ) -> i32;
    fn unset_row_separator_func(&self);
}
Expand description

Trait containing manually implemented methods of TreeView.

Required Methods§

source

fn insert_column_with_attributes( &self, position: i32, title: &str, cell: &impl IsA<CellRenderer>, attributes: &[(&str, i32)] ) -> i32

Creates a new TreeViewColumn and inserts it into the @self at @position. If @position is -1, then the newly created column is inserted at the end. The column is initialized with the attributes given. If @self has “fixed_height” mode enabled, then the new column will have its sizing property set to be GTK_TREE_VIEW_COLUMN_FIXED.

Deprecated since 4.10

Use ListView or ColumnView instead

position

The position to insert the new column in

title

The title to set the header to

cell

The CellRenderer

Returns

The number of columns in @self after insertion.

source

fn unset_row_separator_func(&self)

Implementors§