Skip to main content

ListBoxImpl

Trait ListBoxImpl 

Source
pub trait ListBoxImpl:
    ListBoxImplExt
    + ContainerImpl
    + WidgetImpl {
    // Provided methods
    fn activate_cursor_row(&self) { ... }
    fn move_cursor(&self, step: MovementStep, count: i32) { ... }
    fn row_activated(&self, row: &ListBoxRow) { ... }
    fn row_selected(&self, row: Option<&ListBoxRow>) { ... }
    fn select_all(&self) { ... }
    fn selected_rows_changed(&self) { ... }
    fn toggle_cursor_row(&self) { ... }
    fn unselect_all(&self) { ... }
}

Provided Methods§

Source

fn activate_cursor_row(&self)

Source

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

Source

fn row_activated(&self, row: &ListBoxRow)

Source

fn row_selected(&self, row: Option<&ListBoxRow>)

Source

fn select_all(&self)

Select all children of self, if the selection mode allows it.

Source

fn selected_rows_changed(&self)

Source

fn toggle_cursor_row(&self)

Source

fn unselect_all(&self)

Unselect all children of self, if the selection mode allows it.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§