Struct gtk::TreeSelection
[−]
pub struct TreeSelection(_, _);
Methods
impl TreeSelection
[src]
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(&TreeSelection) + 'static>(&self, f: F) -> u64
Trait Implementations
impl Clone for TreeSelection
fn clone(&self) -> TreeSelection
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for TreeSelection
impl Hash for TreeSelection
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl StaticType for TreeSelection
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for TreeSelection
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.