Trait gtk::ListBoxExt [] [src]

pub trait ListBoxExt {
    fn drag_highlight_row(&self, row: &ListBoxRow);
    fn drag_unhighlight_row(&self);
    fn get_activate_on_single_click(&self) -> bool;
    fn get_adjustment(&self) -> Option<Adjustment>;
    fn get_row_at_index(&self, index_: i32) -> Option<ListBoxRow>;
    fn get_row_at_y(&self, y: i32) -> Option<ListBoxRow>;
    fn get_selected_row(&self) -> Option<ListBoxRow>;
    fn get_selected_rows(&self) -> Vec<ListBoxRow>;
    fn get_selection_mode(&self) -> SelectionMode;
    fn insert<P: IsA<Widget>>(&self, child: &P, position: i32);
    fn invalidate_filter(&self);
    fn invalidate_headers(&self);
    fn invalidate_sort(&self);
    fn prepend<P: IsA<Widget>>(&self, child: &P);
    fn select_all(&self);
    fn select_row<'a, P: Into<Option<&'a ListBoxRow>>>(&self, row: P);
    fn set_activate_on_single_click(&self, single: bool);
    fn set_adjustment<'a, P: Into<Option<&'a Adjustment>>>(&self, adjustment: P);
    fn set_placeholder<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        placeholder: Q
    ); fn set_selection_mode(&self, mode: SelectionMode); fn unselect_all(&self); fn unselect_row(&self, row: &ListBoxRow); fn get_property_activate_on_single_click(&self) -> bool; fn set_property_activate_on_single_click(
        &self,
        activate_on_single_click: bool
    ); fn get_property_selection_mode(&self) -> SelectionMode; fn set_property_selection_mode(&self, selection_mode: SelectionMode); fn connect_activate_cursor_row<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_move_cursor<F: Fn(&Self, MovementStep, i32) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_row_activated<F: Fn(&Self, &ListBoxRow) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_row_selected<F: Fn(&Self, &Option<ListBoxRow>) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_select_all<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_selected_rows_changed<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_toggle_cursor_row<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_unselect_all<F: Fn(&Self) + 'static>(&self, f: F) -> u64; }

Required Methods

Implementors