Trait gtk::prelude::TreeSelectionExt
[−]
[src]
pub trait TreeSelectionExt { fn count_selected_rows(&self) -> i32; fn get_mode(&self) -> SelectionMode; fn get_selected(&self) -> Option<(TreeModel, TreeIter)>; fn get_selected_rows(&self) -> (Vec<TreePath>, TreeModel); fn get_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 set_mode(&self, type_: SelectionMode); 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) -> u64; }
Required Methods
fn count_selected_rows(&self) -> i32
fn get_mode(&self) -> SelectionMode
fn get_selected(&self) -> Option<(TreeModel, TreeIter)>
fn get_selected_rows(&self) -> (Vec<TreePath>, TreeModel)
fn get_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 set_mode(&self, type_: SelectionMode)
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) -> u64
Implementors
impl<O: IsA<TreeSelection> + IsA<Object>> TreeSelectionExt for O