Trait gtk::prelude::IconViewExt[][src]

pub trait IconViewExt: 'static {
Show methods fn convert_widget_to_bin_window_coords(
        &self,
        wx: i32,
        wy: i32
    ) -> (i32, i32);
fn create_drag_icon(&self, path: &TreePath) -> Option<Surface>;
fn activates_on_single_click(&self) -> bool;
fn cell_rect<P: IsA<CellRenderer>>(
        &self,
        path: &TreePath,
        cell: Option<&P>
    ) -> Option<Rectangle>;
fn column_spacing(&self) -> i32;
fn columns(&self) -> i32;
fn cursor(&self) -> Option<(TreePath, CellRenderer)>;
fn dest_item_at_pos(
        &self,
        drag_x: i32,
        drag_y: i32
    ) -> Option<(TreePath, IconViewDropPosition)>;
fn drag_dest_item(&self) -> (TreePath, IconViewDropPosition);
fn item_at_pos(&self, x: i32, y: i32) -> Option<(TreePath, CellRenderer)>;
fn item_column(&self, path: &TreePath) -> i32;
fn item_orientation(&self) -> Orientation;
fn item_padding(&self) -> i32;
fn item_row(&self, path: &TreePath) -> i32;
fn item_width(&self) -> i32;
fn margin(&self) -> i32;
fn markup_column(&self) -> i32;
fn model(&self) -> Option<TreeModel>;
fn path_at_pos(&self, x: i32, y: i32) -> Option<TreePath>;
fn pixbuf_column(&self) -> i32;
fn is_reorderable(&self) -> bool;
fn row_spacing(&self) -> i32;
fn selected_items(&self) -> Vec<TreePath>;
fn selection_mode(&self) -> SelectionMode;
fn spacing(&self) -> i32;
fn text_column(&self) -> i32;
fn tooltip_column(&self) -> i32;
fn tooltip_context(
        &self,
        x: &mut i32,
        y: &mut i32,
        keyboard_tip: bool
    ) -> Option<(TreeModel, TreePath, TreeIter)>;
fn visible_range(&self) -> Option<(TreePath, TreePath)>;
fn item_activated(&self, path: &TreePath);
fn path_is_selected(&self, path: &TreePath) -> bool;
fn scroll_to_path(
        &self,
        path: &TreePath,
        use_align: bool,
        row_align: f32,
        col_align: f32
    );
fn select_all(&self);
fn select_path(&self, path: &TreePath);
fn selected_foreach<P: FnMut(&IconView, &TreePath)>(&self, func: P);
fn set_activate_on_single_click(&self, single: bool);
fn set_column_spacing(&self, column_spacing: i32);
fn set_columns(&self, columns: i32);
fn set_cursor<P: IsA<CellRenderer>>(
        &self,
        path: &TreePath,
        cell: Option<&P>,
        start_editing: bool
    );
fn set_drag_dest_item(
        &self,
        path: Option<&TreePath>,
        pos: IconViewDropPosition
    );
fn set_item_orientation(&self, orientation: Orientation);
fn set_item_padding(&self, item_padding: i32);
fn set_item_width(&self, item_width: i32);
fn set_margin(&self, margin: i32);
fn set_markup_column(&self, column: i32);
fn set_model<P: IsA<TreeModel>>(&self, model: Option<&P>);
fn set_pixbuf_column(&self, column: i32);
fn set_reorderable(&self, reorderable: bool);
fn set_row_spacing(&self, row_spacing: i32);
fn set_selection_mode(&self, mode: SelectionMode);
fn set_spacing(&self, spacing: i32);
fn set_text_column(&self, column: i32);
fn set_tooltip_cell<P: IsA<CellRenderer>>(
        &self,
        tooltip: &Tooltip,
        path: &TreePath,
        cell: Option<&P>
    );
fn set_tooltip_column(&self, column: i32);
fn set_tooltip_item(&self, tooltip: &Tooltip, path: &TreePath);
fn unselect_all(&self);
fn unselect_path(&self, path: &TreePath);
fn unset_model_drag_dest(&self);
fn unset_model_drag_source(&self);
fn cell_area(&self) -> Option<CellArea>;
fn connect_activate_cursor_item<F: Fn(&Self) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_activate_cursor_item(&self) -> bool;
fn connect_item_activated<F: Fn(&Self, &TreePath) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_move_cursor<F: Fn(&Self, MovementStep, i32) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_move_cursor(&self, step: MovementStep, count: i32) -> bool;
fn connect_select_all<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_select_all(&self);
fn connect_select_cursor_item<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_select_cursor_item(&self);
fn connect_selection_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_toggle_cursor_item<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_toggle_cursor_item(&self);
fn connect_unselect_all<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_unselect_all(&self);
fn connect_activate_on_single_click_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_column_spacing_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_columns_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_item_orientation_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_item_padding_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_item_width_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_margin_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_markup_column_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_model_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_pixbuf_column_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_reorderable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_row_spacing_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_selection_mode_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_spacing_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_text_column_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_tooltip_column_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required methods

Implementors