[][src]Trait gtk::IconViewExt

pub trait IconViewExt: 'static {
    fn convert_widget_to_bin_window_coords(
        &self,
        wx: i32,
        wy: i32
    ) -> (i32, i32);
fn create_drag_icon(&self, path: &TreePath) -> Option<Surface>;
fn get_activate_on_single_click(&self) -> bool;
fn get_cell_rect<'a, P: IsA<CellRenderer> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        path: &TreePath,
        cell: Q
    ) -> Option<Rectangle>;
fn get_column_spacing(&self) -> i32;
fn get_columns(&self) -> i32;
fn get_cursor(&self) -> Option<(TreePath, CellRenderer)>;
fn get_dest_item_at_pos(
        &self,
        drag_x: i32,
        drag_y: i32
    ) -> Option<(TreePath, IconViewDropPosition)>;
fn get_drag_dest_item(&self) -> (TreePath, IconViewDropPosition);
fn get_item_at_pos(
        &self,
        x: i32,
        y: i32
    ) -> Option<(TreePath, CellRenderer)>;
fn get_item_column(&self, path: &TreePath) -> i32;
fn get_item_orientation(&self) -> Orientation;
fn get_item_padding(&self) -> i32;
fn get_item_row(&self, path: &TreePath) -> i32;
fn get_item_width(&self) -> i32;
fn get_margin(&self) -> i32;
fn get_markup_column(&self) -> i32;
fn get_model(&self) -> Option<TreeModel>;
fn get_path_at_pos(&self, x: i32, y: i32) -> Option<TreePath>;
fn get_pixbuf_column(&self) -> i32;
fn get_reorderable(&self) -> bool;
fn get_row_spacing(&self) -> i32;
fn get_selected_items(&self) -> Vec<TreePath>;
fn get_selection_mode(&self) -> SelectionMode;
fn get_spacing(&self) -> i32;
fn get_text_column(&self) -> i32;
fn get_tooltip_column(&self) -> i32;
fn get_tooltip_context(
        &self,
        x: &mut i32,
        y: &mut i32,
        keyboard_tip: bool
    ) -> Option<(TreeModel, TreePath, TreeIter)>;
fn get_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<'a, P: IsA<CellRenderer> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        path: &TreePath,
        cell: Q,
        start_editing: bool
    );
fn set_drag_dest_item<'a, P: Into<Option<&'a TreePath>>>(
        &self,
        path: P,
        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<'a, P: IsA<TreeModel> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        model: Q
    );
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<'a, P: IsA<CellRenderer> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        tooltip: &Tooltip,
        path: &TreePath,
        cell: Q
    );
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 get_property_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_property_activate_on_single_click_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_column_spacing_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_columns_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_item_orientation_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_item_padding_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_item_width_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_margin_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_markup_column_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_model_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_pixbuf_column_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_reorderable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_row_spacing_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_selection_mode_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_spacing_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_text_column_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_tooltip_column_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required 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 get_activate_on_single_click(&self) -> bool

fn get_cell_rect<'a, P: IsA<CellRenderer> + 'a, Q: Into<Option<&'a P>>>(
    &self,
    path: &TreePath,
    cell: Q
) -> Option<Rectangle>

fn get_column_spacing(&self) -> i32

fn get_columns(&self) -> i32

fn get_cursor(&self) -> Option<(TreePath, CellRenderer)>

fn get_dest_item_at_pos(
    &self,
    drag_x: i32,
    drag_y: i32
) -> Option<(TreePath, IconViewDropPosition)>

fn get_drag_dest_item(&self) -> (TreePath, IconViewDropPosition)

fn get_item_at_pos(&self, x: i32, y: i32) -> Option<(TreePath, CellRenderer)>

fn get_item_column(&self, path: &TreePath) -> i32

fn get_item_orientation(&self) -> Orientation

fn get_item_padding(&self) -> i32

fn get_item_row(&self, path: &TreePath) -> i32

fn get_item_width(&self) -> i32

fn get_margin(&self) -> i32

fn get_markup_column(&self) -> i32

fn get_model(&self) -> Option<TreeModel>

fn get_path_at_pos(&self, x: i32, y: i32) -> Option<TreePath>

fn get_pixbuf_column(&self) -> i32

fn get_reorderable(&self) -> bool

fn get_row_spacing(&self) -> i32

fn get_selected_items(&self) -> Vec<TreePath>

fn get_selection_mode(&self) -> SelectionMode

fn get_spacing(&self) -> i32

fn get_text_column(&self) -> i32

fn get_tooltip_column(&self) -> i32

fn get_tooltip_context(
    &self,
    x: &mut i32,
    y: &mut i32,
    keyboard_tip: bool
) -> Option<(TreeModel, TreePath, TreeIter)>

fn get_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<'a, P: IsA<CellRenderer> + 'a, Q: Into<Option<&'a P>>>(
    &self,
    path: &TreePath,
    cell: Q,
    start_editing: bool
)

fn set_drag_dest_item<'a, P: Into<Option<&'a TreePath>>>(
    &self,
    path: P,
    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<'a, P: IsA<TreeModel> + 'a, Q: Into<Option<&'a P>>>(
    &self,
    model: Q
)

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<'a, P: IsA<CellRenderer> + 'a, Q: Into<Option<&'a P>>>(
    &self,
    tooltip: &Tooltip,
    path: &TreePath,
    cell: Q
)

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 get_property_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_property_activate_on_single_click_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_column_spacing_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_columns_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_item_orientation_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_item_padding_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_item_width_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_margin_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_markup_column_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_model_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_pixbuf_column_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_reorderable_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_row_spacing_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_selection_mode_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_spacing_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_text_column_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_tooltip_column_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<IconView>> IconViewExt for O[src]

Loading content...