Struct gtk::IconView
[−]
pub struct IconView(_, _);
Methods
impl IconView
[src]
fn new() -> IconView
fn new_with_area<P: IsA<CellArea>>(area: &P) -> IconView
fn new_with_model<P: IsA<TreeModel>>(model: &P) -> IconView
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_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)>
&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)>
&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
)
&self,
path: &TreePath,
use_align: bool,
row_align: f32,
col_align: f32
)
fn select_all(&self)
fn select_path(&self, path: &TreePath)
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
)
&self,
path: &TreePath,
cell: Q,
start_editing: bool
)
fn set_drag_dest_item<'a, P: Into<Option<&'a TreePath>>>(
&self,
path: P,
pos: IconViewDropPosition
)
&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
)
&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
)
&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(&IconView) -> bool + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_item_activated<F: Fn(&IconView, &TreePath) + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_move_cursor<F: Fn(&IconView, MovementStep, i32) -> bool + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_select_all<F: Fn(&IconView) + 'static>(&self, f: F) -> u64
fn connect_select_cursor_item<F: Fn(&IconView) + 'static>(&self, f: F) -> u64
fn connect_selection_changed<F: Fn(&IconView) + 'static>(&self, f: F) -> u64
fn connect_toggle_cursor_item<F: Fn(&IconView) + 'static>(&self, f: F) -> u64
fn connect_unselect_all<F: Fn(&IconView) + 'static>(&self, f: F) -> u64
Trait Implementations
impl Clone for IconView
fn clone(&self) -> IconView
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for IconView
impl Hash for IconView
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for IconView
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for IconView
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.