Trait SelectionExt

Source
pub trait SelectionExt: 'static {
    // Required methods
    fn add_selection(&self, i: i32) -> bool;
    fn clear_selection(&self) -> bool;
    fn get_selection_count(&self) -> i32;
    fn is_child_selected(&self, i: i32) -> bool;
    fn ref_selection(&self, i: i32) -> Option<Object>;
    fn remove_selection(&self, i: i32) -> bool;
    fn select_all_selection(&self) -> bool;
    fn connect_selection_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§