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§

source

fn foreach<P>(&self, func: P)
where P: FnMut(&TreeModel, &TreePath, &TreeIter) -> bool,

👎Deprecated: Since 4.10
source

fn column_type(&self, index_: i32) -> Type

👎Deprecated: Since 4.10
source

fn flags(&self) -> TreeModelFlags

👎Deprecated: Since 4.10
source

fn iter(&self, path: &TreePath) -> Option<TreeIter>

👎Deprecated: Since 4.10
source

fn iter_first(&self) -> Option<TreeIter>

👎Deprecated: Since 4.10
source

fn iter_from_string(&self, path_string: &str) -> Option<TreeIter>

👎Deprecated: Since 4.10
source

fn n_columns(&self) -> i32

👎Deprecated: Since 4.10
source

fn path(&self, iter: &TreeIter) -> TreePath

👎Deprecated: Since 4.10
source

fn string_from_iter(&self, iter: &TreeIter) -> Option<GString>

👎Deprecated: Since 4.10
source

fn iter_children(&self, parent: Option<&TreeIter>) -> Option<TreeIter>

👎Deprecated: Since 4.10
source

fn iter_has_child(&self, iter: &TreeIter) -> bool

👎Deprecated: Since 4.10
source

fn iter_n_children(&self, iter: Option<&TreeIter>) -> i32

👎Deprecated: Since 4.10
source

fn iter_next(&self, iter: &TreeIter) -> bool

👎Deprecated: Since 4.10
source

fn iter_nth_child(&self, parent: Option<&TreeIter>, n: i32) -> Option<TreeIter>

👎Deprecated: Since 4.10
source

fn iter_parent(&self, child: &TreeIter) -> Option<TreeIter>

👎Deprecated: Since 4.10
source

fn iter_previous(&self, iter: &TreeIter) -> bool

👎Deprecated: Since 4.10
source

fn row_changed(&self, path: &TreePath, iter: &TreeIter)

👎Deprecated: Since 4.10
source

fn row_deleted(&self, path: &TreePath)

👎Deprecated: Since 4.10
source

fn row_has_child_toggled(&self, path: &TreePath, iter: &TreeIter)

👎Deprecated: Since 4.10
source

fn row_inserted(&self, path: &TreePath, iter: &TreeIter)

👎Deprecated: Since 4.10
source

fn connect_row_changed<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, &TreePath, &TreeIter) + 'static,

👎Deprecated: Since 4.10
source

fn connect_row_deleted<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, &TreePath) + 'static,

👎Deprecated: Since 4.10
source

fn connect_row_has_child_toggled<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, &TreePath, &TreeIter) + 'static,

👎Deprecated: Since 4.10
source

fn connect_row_inserted<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, &TreePath, &TreeIter) + 'static,

👎Deprecated: Since 4.10

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O> TreeModelExt for O
where O: IsA<TreeModel>,