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);

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 {
	GtkHBox base_instance;

	EomThumbNavPrivate *priv;
};


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.