EomThumbNav

EomThumbNav

Synopsis

enum                EomThumbNavMode;
struct              EomThumbNav;
GtkWidget *         eom_thumb_nav_new                   (GtkWidget *thumbview,
                                                         EomThumbNavMode mode,
                                                         gboolean show_buttons);
gboolean            eom_thumb_nav_get_show_buttons      (EomThumbNav *nav);
void                eom_thumb_nav_set_show_buttons      (EomThumbNav *nav,
                                                         gboolean show_buttons);
EomThumbNavMode     eom_thumb_nav_get_mode              (EomThumbNav *nav);
void                eom_thumb_nav_set_mode              (EomThumbNav *nav,
                                                         EomThumbNavMode mode);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkHBox
                                       +----EomThumbNav

Implemented Interfaces

EomThumbNav implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Properties

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

Description

Details

enum EomThumbNavMode

typedef enum {
	EOM_THUMB_NAV_MODE_ONE_ROW,
	EOM_THUMB_NAV_MODE_ONE_COLUMN,
	EOM_THUMB_NAV_MODE_MULTIPLE_ROWS,
	EOM_THUMB_NAV_MODE_MULTIPLE_COLUMNS
} EomThumbNavMode;

EOM_THUMB_NAV_MODE_ONE_ROW

EOM_THUMB_NAV_MODE_ONE_COLUMN

EOM_THUMB_NAV_MODE_MULTIPLE_ROWS

EOM_THUMB_NAV_MODE_MULTIPLE_COLUMNS


struct EomThumbNav

struct EomThumbNav;


eom_thumb_nav_new ()

GtkWidget *         eom_thumb_nav_new                   (GtkWidget *thumbview,
                                                         EomThumbNavMode mode,
                                                         gboolean show_buttons);

Creates a new thumbnail navigation widget.

thumbview :

an EomThumbView to embed in the navigation widget.

mode :

The navigation mode.

show_buttons :

Whether to show the navigation buttons.

Returns :

a new EomThumbNav object.

eom_thumb_nav_get_show_buttons ()

gboolean            eom_thumb_nav_get_show_buttons      (EomThumbNav *nav);

Gets whether the navigation buttons are visible.

nav :

an EomThumbNav.

Returns :

TRUE if the navigation buttons are visible, FALSE otherwise.

eom_thumb_nav_set_show_buttons ()

void                eom_thumb_nav_set_show_buttons      (EomThumbNav *nav,
                                                         gboolean show_buttons);

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

nav :

an EomThumbNav.

show_buttons :

TRUE to show the buttons, FALSE to hide them.

eom_thumb_nav_get_mode ()

EomThumbNavMode     eom_thumb_nav_get_mode              (EomThumbNav *nav);

Gets the navigation mode in nav.

nav :

an EomThumbNav.

Returns :

A value in EomThumbNavMode.

eom_thumb_nav_set_mode ()

void                eom_thumb_nav_set_mode              (EomThumbNav *nav,
                                                         EomThumbNavMode mode);

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

nav :

An EomThumbNav.

mode :

One of EomThumbNavMode.

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"                EomThumbView*         : Read / Write / Construct Only

The internal thumbnail viewer widget.