Trait sourceview5::prelude::TreeModelExt
source · pub trait TreeModelExt: IsA<TreeModel> + Sealed + 'static {
Show 24 methods
// Provided methods
fn foreach<P>(&self, func: P)
where P: FnMut(&TreeModel, &TreePath, &TreeIter) -> bool { ... }
fn column_type(&self, index_: i32) -> Type { ... }
fn flags(&self) -> TreeModelFlags { ... }
fn iter(&self, path: &TreePath) -> Option<TreeIter> { ... }
fn iter_first(&self) -> Option<TreeIter> { ... }
fn iter_from_string(&self, path_string: &str) -> Option<TreeIter> { ... }
fn n_columns(&self) -> i32 { ... }
fn path(&self, iter: &TreeIter) -> TreePath { ... }
fn string_from_iter(&self, iter: &TreeIter) -> Option<GString> { ... }
fn iter_children(&self, parent: Option<&TreeIter>) -> Option<TreeIter> { ... }
fn iter_has_child(&self, iter: &TreeIter) -> bool { ... }
fn iter_n_children(&self, iter: Option<&TreeIter>) -> i32 { ... }
fn iter_next(&self, iter: &TreeIter) -> bool { ... }
fn iter_nth_child(
&self,
parent: Option<&TreeIter>,
n: i32,
) -> Option<TreeIter> { ... }
fn iter_parent(&self, child: &TreeIter) -> Option<TreeIter> { ... }
fn iter_previous(&self, iter: &TreeIter) -> bool { ... }
fn row_changed(&self, path: &TreePath, iter: &TreeIter) { ... }
fn row_deleted(&self, path: &TreePath) { ... }
fn row_has_child_toggled(&self, path: &TreePath, iter: &TreeIter) { ... }
fn row_inserted(&self, path: &TreePath, iter: &TreeIter) { ... }
fn connect_row_changed<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, &TreePath, &TreeIter) + 'static { ... }
fn connect_row_deleted<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, &TreePath) + 'static { ... }
fn connect_row_has_child_toggled<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, &TreePath, &TreeIter) + 'static { ... }
fn connect_row_inserted<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, &TreePath, &TreeIter) + 'static { ... }
}
👎Deprecated: Since 4.10
Provided Methods§
fn foreach<P>(&self, func: P)
👎Deprecated: Since 4.10
fn column_type(&self, index_: i32) -> Type
👎Deprecated: Since 4.10
fn flags(&self) -> TreeModelFlags
👎Deprecated: Since 4.10
fn iter(&self, path: &TreePath) -> Option<TreeIter>
👎Deprecated: Since 4.10
fn iter_first(&self) -> Option<TreeIter>
👎Deprecated: Since 4.10
fn iter_from_string(&self, path_string: &str) -> Option<TreeIter>
👎Deprecated: Since 4.10
fn n_columns(&self) -> i32
👎Deprecated: Since 4.10
fn path(&self, iter: &TreeIter) -> TreePath
👎Deprecated: Since 4.10
fn string_from_iter(&self, iter: &TreeIter) -> Option<GString>
👎Deprecated: Since 4.10
fn iter_children(&self, parent: Option<&TreeIter>) -> Option<TreeIter>
👎Deprecated: Since 4.10
fn iter_has_child(&self, iter: &TreeIter) -> bool
👎Deprecated: Since 4.10
fn iter_n_children(&self, iter: Option<&TreeIter>) -> i32
👎Deprecated: Since 4.10
fn iter_next(&self, iter: &TreeIter) -> bool
👎Deprecated: Since 4.10
fn iter_nth_child(&self, parent: Option<&TreeIter>, n: i32) -> Option<TreeIter>
👎Deprecated: Since 4.10
fn iter_parent(&self, child: &TreeIter) -> Option<TreeIter>
👎Deprecated: Since 4.10
fn iter_previous(&self, iter: &TreeIter) -> bool
👎Deprecated: Since 4.10
fn row_changed(&self, path: &TreePath, iter: &TreeIter)
👎Deprecated: Since 4.10
fn row_deleted(&self, path: &TreePath)
👎Deprecated: Since 4.10
fn row_has_child_toggled(&self, path: &TreePath, iter: &TreeIter)
👎Deprecated: Since 4.10
fn row_inserted(&self, path: &TreePath, iter: &TreeIter)
👎Deprecated: Since 4.10
fn connect_row_changed<F>(&self, f: F) -> SignalHandlerId
👎Deprecated: Since 4.10
fn connect_row_deleted<F>(&self, f: F) -> SignalHandlerId
👎Deprecated: Since 4.10
fn connect_row_has_child_toggled<F>(&self, f: F) -> SignalHandlerId
👎Deprecated: Since 4.10
fn connect_row_inserted<F>(&self, f: F) -> SignalHandlerId
👎Deprecated: Since 4.10
Object Safety§
This trait is not object safe.