Trait sourceview5::prelude::ListModelExt
source · pub trait ListModelExt: IsA<ListModel> + Sealed + 'static {
// Provided methods
fn item_type(&self) -> Type { ... }
fn n_items(&self) -> u32 { ... }
fn item(&self, position: u32) -> Option<Object> { ... }
fn items_changed(&self, position: u32, removed: u32, added: u32) { ... }
fn connect_items_changed<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, u32, u32, u32) + 'static { ... }
}
Provided Methods§
fn item_type(&self) -> Type
fn n_items(&self) -> u32
fn item(&self, position: u32) -> Option<Object>
fn items_changed(&self, position: u32, removed: u32, added: u32)
fn connect_items_changed<F>(&self, f: F) -> SignalHandlerId
Object Safety§
This trait is not object safe.