[][src]Trait gio::ListModelExt

pub trait ListModelExt: 'static {
    fn get_item_type(&self) -> Type;
fn get_n_items(&self) -> u32;
fn get_object(&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

fn get_item_type(&self) -> Type

fn get_n_items(&self) -> u32

fn get_object(&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

Loading content...

Implementors

impl<O: IsA<ListModel>> ListModelExt for O[src]

Loading content...