gtk4::subclass::tree_view

Trait TreeViewImpl

Source
pub trait TreeViewImpl: TreeViewImplExt + WidgetImpl {
Show 15 methods // Provided methods fn columns_changed(&self) { ... } fn cursor_changed(&self) { ... } fn expand_collapse_cursor_row( &self, logical: bool, expand: bool, open_all: bool, ) -> bool { ... } fn move_cursor( &self, step: MovementStep, count: i32, expand: bool, modify: bool, ) -> bool { ... } fn row_activated(&self, path: &TreePath, column: &TreeViewColumn) { ... } fn row_collapsed(&self, iter: &TreeIter, path: &TreePath) { ... } fn row_expanded(&self, iter: &TreeIter, path: &TreePath) { ... } fn select_all(&self) -> bool { ... } fn select_cursor_parent(&self) -> bool { ... } fn select_cursor_row(&self, start_editing: bool) -> bool { ... } fn start_interactive_search(&self) -> bool { ... } fn test_collapse_row(&self, iter: &TreeIter, path: &TreePath) -> bool { ... } fn test_expand_row(&self, iter: &TreeIter, path: &TreePath) -> bool { ... } fn toggle_cursor_row(&self) -> bool { ... } fn unselect_all(&self) -> bool { ... }
}
๐Ÿ‘ŽDeprecated: Since 4.10

Provided Methodsยง

Source

fn columns_changed(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn cursor_changed(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn expand_collapse_cursor_row( &self, logical: bool, expand: bool, open_all: bool, ) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn move_cursor( &self, step: MovementStep, count: i32, expand: bool, modify: bool, ) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn row_activated(&self, path: &TreePath, column: &TreeViewColumn)

๐Ÿ‘ŽDeprecated: Since 4.10

Activates the cell determined by @path and @column.

ยงDeprecated since 4.10

Use ListView or ColumnView instead

ยงpath

The TreePath to be activated.

ยงcolumn

The TreeViewColumn to be activated.

Source

fn row_collapsed(&self, iter: &TreeIter, path: &TreePath)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn row_expanded(&self, iter: &TreeIter, path: &TreePath)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn select_all(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn select_cursor_parent(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn select_cursor_row(&self, start_editing: bool) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn test_collapse_row(&self, iter: &TreeIter, path: &TreePath) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn test_expand_row(&self, iter: &TreeIter, path: &TreePath) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn toggle_cursor_row(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn unselect_all(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10

Dyn Compatibilityยง

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementorsยง