Class

EogThumbView

Description

class Eog.ThumbView : Gtk.IconView {
  icon_view: GtkIconView,
  priv: EogThumbViewPrivate*
}
No description available.

Ancestors

  • GtkIconView
  • GtkContainer
  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • AtkImplementorIface
  • GtkBuildable
  • GtkCellLayout
  • GtkOrientable
  • GtkScrollable

Constructors

eog_thumb_view_new

Creates a new EogThumbView object.

Instance methods

eog_thumb_view_get_first_selected_image

Returns the first selected image. Note that the returned EogImage is not ensured to be really the first selected image in thumbview, but generally, it will be.

eog_thumb_view_get_n_selected

Gets the number of images that are currently selected in thumbview.

eog_thumb_view_get_selected_images

Gets a list with the currently selected images. Note that a new reference is hold for each image and the list must be freed with g_list_free().

eog_thumb_view_select_single

Changes the current selection according to a single movement described by EogThumbViewSelectionChange. If there are no thumbnails currently selected, one is selected according to the natural selection according to the EogThumbViewSelectionChange used, p.g., when EOG_THUMB_VIEW_SELECT_RIGHT is the selected change, the first thumbnail will be selected.

eog_thumb_view_set_current_image

Changes the status of a image, marking it as currently selected. If deselect_other is TRUE, all other selected images will be deselected.

eog_thumb_view_set_item_height

Sets the height of each thumbnail in thumbview.

eog_thumb_view_set_model

Sets the EogListStore to be used with thumbview. If an initial image was set during store creation, its thumbnail will be selected and visible.

eog_thumb_view_set_thumbnail_popup

Set the contextual menu to be used with the thumbnails in the widget. This can be done only once.

Class structure

struct EogThumbViewClass {
  GtkIconViewClass icon_view_class;
  
}
Class members
icon_view_class
GtkIconViewClass
  No description available.