Trait ux::prelude::ListModelExt[]

pub trait ListModelExt: 'static {
    pub fn get_item_type(&self) -> Type;
pub fn get_n_items(&self) -> u32;
pub fn get_object(&self, position: u32) -> Option<Object>;
pub fn items_changed(&self, position: u32, removed: u32, added: u32);
pub fn connect_items_changed<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, u32, u32, u32)
; }

Required methods

pub fn get_item_type(&self) -> Type

pub fn get_n_items(&self) -> u32

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

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

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

Loading content...

Implementors

impl<O> ListModelExt for O where
    O: IsA<ListModel>, 

Loading content...