EogThumbNav

EogThumbNav

Synopsis

enum                EogThumbNavMode;
struct              EogThumbNav;
GtkWidget *         eog_thumb_nav_new                   (GtkWidget *thumbview,
                                                         EogThumbNavMode mode,
                                                         gboolean show_buttons);
gboolean            eog_thumb_nav_get_show_buttons      (EogThumbNav *nav);
void                eog_thumb_nav_set_show_buttons      (EogThumbNav *nav,
                                                         gboolean show_buttons);
EogThumbNavMode     eog_thumb_nav_get_mode              (EogThumbNav *nav);
void                eog_thumb_nav_set_mode              (EogThumbNav *nav,
                                                         EogThumbNavMode mode);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkBox
                           +----EogThumbNav

Implemented Interfaces

EogThumbNav implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Properties

  "mode"                     gint                  : Read / Write
  "show-buttons"             gboolean              : Read / Write
  "thumbview"                EogThumbView*         : Read / Write / Construct Only

Description

Details

enum EogThumbNavMode

typedef enum {
	EOG_THUMB_NAV_MODE_ONE_ROW,
	EOG_THUMB_NAV_MODE_ONE_COLUMN,
	EOG_THUMB_NAV_MODE_MULTIPLE_ROWS,
	EOG_THUMB_NAV_MODE_MULTIPLE_COLUMNS
} EogThumbNavMode;


struct EogThumbNav

struct EogThumbNav;


eog_thumb_nav_new ()

GtkWidget *         eog_thumb_nav_new                   (GtkWidget *thumbview,
                                                         EogThumbNavMode mode,
                                                         gboolean show_buttons);

Creates a new thumbnail navigation widget.

thumbview :

an EogThumbView to embed in the navigation widget.

mode :

The navigation mode.

show_buttons :

Whether to show the navigation buttons.

Returns :

a new EogThumbNav object.

eog_thumb_nav_get_show_buttons ()

gboolean            eog_thumb_nav_get_show_buttons      (EogThumbNav *nav);

Gets whether the navigation buttons are visible.

nav :

an EogThumbNav.

Returns :

TRUE if the navigation buttons are visible, FALSE otherwise.

eog_thumb_nav_set_show_buttons ()

void                eog_thumb_nav_set_show_buttons      (EogThumbNav *nav,
                                                         gboolean show_buttons);

Sets whether the navigation buttons to the left and right of the widget should be visible.

nav :

an EogThumbNav.

show_buttons :

TRUE to show the buttons, FALSE to hide them.

eog_thumb_nav_get_mode ()

EogThumbNavMode     eog_thumb_nav_get_mode              (EogThumbNav *nav);

Gets the navigation mode in nav.

nav :

an EogThumbNav.

Returns :

A value in EogThumbNavMode.

eog_thumb_nav_set_mode ()

void                eog_thumb_nav_set_mode              (EogThumbNav *nav,
                                                         EogThumbNavMode mode);

Sets the navigation mode in nav. See EogThumbNavMode for details.

nav :

An EogThumbNav.

mode :

One of EogThumbNavMode.

Property Details

The "mode" property

  "mode"                     gint                  : Read / Write

Thumb navigator mode.

Allowed values: [0,2]

Default value: 0


The "show-buttons" property

  "show-buttons"             gboolean              : Read / Write

Whether to show navigation buttons or not.

Default value: TRUE


The "thumbview" property

  "thumbview"                EogThumbView*         : Read / Write / Construct Only

The internal thumbnail viewer widget.