Skip to main content

TreeViewExtManual

Trait TreeViewExtManual 

Source
pub trait TreeViewExtManual: IsA<TreeView> + 'static {
    // Provided 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) { ... }
}
👎Deprecated:

Since 4.10

Expand description

Trait containing manually implemented methods of TreeView.

Provided Methods§

Source

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

👎Deprecated:

Since 4.10

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)

👎Deprecated:

Since 4.10

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§