Skip to main content

TreeViewImpl

Trait TreeViewImpl 

Source
pub trait TreeViewImpl: ContainerImpl + ObjectSubclass<Type: IsA<TreeView>> {
Show 15 methods // Provided methods fn row_activated(&self, path: &TreePath, column: Option<&TreeViewColumn>) { ... } fn test_expand_row(&self, iter: &TreeIter, path: &TreePath) -> bool { ... } fn test_collapse_row(&self, iter: &TreeIter, path: &TreePath) -> bool { ... } fn row_expanded(&self, iter: &TreeIter, path: &TreePath) { ... } fn row_collapsed(&self, iter: &TreeIter, path: &TreePath) { ... } fn columns_changed(&self) { ... } fn cursor_changed(&self) { ... } fn move_cursor(&self, step: MovementStep, count: i32) -> bool { ... } fn select_all(&self) -> bool { ... } fn unselect_all(&self) -> bool { ... } fn select_cursor_row(&self, start_editing: bool) -> bool { ... } fn toggle_cursor_row(&self) -> bool { ... } fn expand_collapse_cursor_row( &self, logical: bool, expand: bool, open_all: bool, ) -> bool { ... } fn select_cursor_parent(&self) -> bool { ... } fn start_interactive_search(&self) -> bool { ... }
}

Provided Methods§

Source

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

Activates the cell determined by path and column.

§path

The TreePath to be activated.

§column

The TreeViewColumn to be activated.

Source

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

Source

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

Source

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

Source

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

Source

fn columns_changed(&self)

Source

fn cursor_changed(&self)

Source

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

Source

fn select_all(&self) -> bool

Source

fn unselect_all(&self) -> bool

Source

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

Source

fn toggle_cursor_row(&self) -> bool

Source

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

Source

fn select_cursor_parent(&self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§