Trait gtk::prelude::IconViewExt

source ·
pub trait IconViewExt: IsA<IconView> + Sealed + 'static {
Show 89 methods // Provided 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( &self, path: &TreePath, cell: Option<&impl IsA<CellRenderer>> ) -> 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( &self, path: &TreePath, cell: Option<&impl IsA<CellRenderer>>, 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(&self, model: Option<&impl IsA<TreeModel>>) { ... } 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( &self, tooltip: &Tooltip, path: &TreePath, cell: Option<&impl IsA<CellRenderer>> ) { ... } 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_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 { ... }
}

Provided Methods§

source

fn convert_widget_to_bin_window_coords(&self, wx: i32, wy: i32) -> (i32, i32)

source

fn create_drag_icon(&self, path: &TreePath) -> Option<Surface>

source

fn activates_on_single_click(&self) -> bool

source

fn cell_rect( &self, path: &TreePath, cell: Option<&impl IsA<CellRenderer>> ) -> Option<Rectangle>

source

fn column_spacing(&self) -> i32

source

fn columns(&self) -> i32

source

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

source

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

source

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

source

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

source

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

source

fn item_orientation(&self) -> Orientation

source

fn item_padding(&self) -> i32

source

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

source

fn item_width(&self) -> i32

source

fn margin(&self) -> i32

source

fn markup_column(&self) -> i32

source

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

source

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

source

fn pixbuf_column(&self) -> i32

source

fn is_reorderable(&self) -> bool

source

fn row_spacing(&self) -> i32

source

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

source

fn selection_mode(&self) -> SelectionMode

source

fn spacing(&self) -> i32

source

fn text_column(&self) -> i32

source

fn tooltip_column(&self) -> i32

source

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

source

fn visible_range(&self) -> Option<(TreePath, TreePath)>

source

fn item_activated(&self, path: &TreePath)

source

fn path_is_selected(&self, path: &TreePath) -> bool

source

fn scroll_to_path( &self, path: &TreePath, use_align: bool, row_align: f32, col_align: f32 )

source

fn select_all(&self)

source

fn select_path(&self, path: &TreePath)

source

fn selected_foreach<P: FnMut(&IconView, &TreePath)>(&self, func: P)

source

fn set_activate_on_single_click(&self, single: bool)

source

fn set_column_spacing(&self, column_spacing: i32)

source

fn set_columns(&self, columns: i32)

source

fn set_cursor( &self, path: &TreePath, cell: Option<&impl IsA<CellRenderer>>, start_editing: bool )

source

fn set_drag_dest_item(&self, path: Option<&TreePath>, pos: IconViewDropPosition)

source

fn set_item_orientation(&self, orientation: Orientation)

source

fn set_item_padding(&self, item_padding: i32)

source

fn set_item_width(&self, item_width: i32)

source

fn set_margin(&self, margin: i32)

source

fn set_markup_column(&self, column: i32)

source

fn set_model(&self, model: Option<&impl IsA<TreeModel>>)

source

fn set_pixbuf_column(&self, column: i32)

source

fn set_reorderable(&self, reorderable: bool)

source

fn set_row_spacing(&self, row_spacing: i32)

source

fn set_selection_mode(&self, mode: SelectionMode)

source

fn set_spacing(&self, spacing: i32)

source

fn set_text_column(&self, column: i32)

source

fn set_tooltip_cell( &self, tooltip: &Tooltip, path: &TreePath, cell: Option<&impl IsA<CellRenderer>> )

source

fn set_tooltip_column(&self, column: i32)

source

fn set_tooltip_item(&self, tooltip: &Tooltip, path: &TreePath)

source

fn unselect_all(&self)

source

fn unselect_path(&self, path: &TreePath)

source

fn unset_model_drag_dest(&self)

source

fn unset_model_drag_source(&self)

source

fn cell_area(&self) -> Option<CellArea>

source

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

source

fn emit_activate_cursor_item(&self) -> bool

source

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

source

fn connect_move_cursor<F: Fn(&Self, MovementStep, i32) -> bool + 'static>( &self, f: F ) -> SignalHandlerId

source

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

source

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

source

fn emit_select_all(&self)

source

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

source

fn emit_select_cursor_item(&self)

source

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

source

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

source

fn emit_toggle_cursor_item(&self)

source

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

source

fn emit_unselect_all(&self)

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Implementors§