Skip to main content

IconViewImpl

Trait IconViewImpl 

Source
pub trait IconViewImpl: IconViewImplExt + ContainerImpl {
    // Provided methods
    fn item_activated(&self, path: &TreePath) { ... }
    fn selection_changed(&self) { ... }
    fn select_all(&self) { ... }
    fn unselect_all(&self) { ... }
    fn select_cursor_item(&self) { ... }
    fn toggle_cursor_item(&self) { ... }
    fn move_cursor(&self, step: MovementStep, count: i32) -> bool { ... }
    fn activate_cursor_item(&self) -> bool { ... }
}

Provided Methods§

Source

fn item_activated(&self, path: &TreePath)

Activates the item determined by path.

§path

The TreePath to be activated

Source

fn selection_changed(&self)

Source

fn select_all(&self)

Selects all the icons. icon_view must has its selection mode set to SelectionMode::Multiple.

Source

fn unselect_all(&self)

Unselects all the icons.

Source

fn select_cursor_item(&self)

Source

fn toggle_cursor_item(&self)

Source

fn move_cursor(&self, step: MovementStep, count: i32) -> bool

Source

fn activate_cursor_item(&self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§