pub trait TreeViewImpl: WidgetImpl + ObjectSubclass<Type: IsA<TreeView> + IsA<Scrollable>> {
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ยง
fn columns_changed(&self)
๐Deprecated: Since 4.10
fn cursor_changed(&self)
๐Deprecated: Since 4.10
fn expand_collapse_cursor_row( &self, logical: bool, expand: bool, open_all: bool, ) -> bool
๐Deprecated: Since 4.10
fn move_cursor( &self, step: MovementStep, count: i32, expand: bool, modify: bool, ) -> bool
๐Deprecated: Since 4.10
Sourcefn row_activated(&self, path: &TreePath, column: &TreeViewColumn)
๐Deprecated: Since 4.10
fn row_activated(&self, path: &TreePath, column: &TreeViewColumn)
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.
fn row_collapsed(&self, iter: &TreeIter, path: &TreePath)
๐Deprecated: Since 4.10
fn row_expanded(&self, iter: &TreeIter, path: &TreePath)
๐Deprecated: Since 4.10
fn select_all(&self) -> bool
๐Deprecated: Since 4.10
fn select_cursor_parent(&self) -> bool
๐Deprecated: Since 4.10
fn select_cursor_row(&self, start_editing: bool) -> bool
๐Deprecated: Since 4.10
fn start_interactive_search(&self) -> bool
๐Deprecated: Since 4.10
fn test_collapse_row(&self, iter: &TreeIter, path: &TreePath) -> bool
๐Deprecated: Since 4.10
fn test_expand_row(&self, iter: &TreeIter, path: &TreePath) -> bool
๐Deprecated: Since 4.10
fn toggle_cursor_row(&self) -> bool
๐Deprecated: Since 4.10
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.