Trait gio::prelude::ListModelExt

source ·
pub trait ListModelExt: 'static {
    // Required 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: Fn(&Self, u32, u32, u32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required Methods§

source

fn item_type(&self) -> Type

source

fn n_items(&self) -> u32

source

fn item(&self, position: u32) -> Option<Object>

source

fn items_changed(&self, position: u32, removed: u32, added: u32)

source

fn connect_items_changed<F: Fn(&Self, u32, u32, u32) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§