pub trait TreeSelectionExt: IsA<TreeSelection> + Sealed + 'static {
Show 20 methods
// Provided methods
fn count_selected_rows(&self) -> i32 { ... }
fn mode(&self) -> SelectionMode { ... }
fn selected(&self) -> Option<(TreeModel, TreeIter)> { ... }
fn selected_rows(&self) -> (Vec<TreePath>, TreeModel) { ... }
fn tree_view(&self) -> Option<TreeView> { ... }
fn iter_is_selected(&self, iter: &TreeIter) -> bool { ... }
fn path_is_selected(&self, path: &TreePath) -> bool { ... }
fn select_all(&self) { ... }
fn select_iter(&self, iter: &TreeIter) { ... }
fn select_path(&self, path: &TreePath) { ... }
fn select_range(&self, start_path: &TreePath, end_path: &TreePath) { ... }
fn selected_foreach<P: FnMut(&TreeModel, &TreePath, &TreeIter)>(
&self,
func: P
) { ... }
fn set_mode(&self, type_: SelectionMode) { ... }
fn set_select_function(
&self,
func: Option<Box_<dyn Fn(&TreeSelection, &TreeModel, &TreePath, bool) -> bool + 'static>>
) { ... }
fn unselect_all(&self) { ... }
fn unselect_iter(&self, iter: &TreeIter) { ... }
fn unselect_path(&self, path: &TreePath) { ... }
fn unselect_range(&self, start_path: &TreePath, end_path: &TreePath) { ... }
fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
fn connect_mode_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
}