1
/* Eye Of Gnome - Thumbnail Navigator
3
* Copyright (C) 2006 The Free Software Foundation
5
* Author: Lucas Rocha <lucasr@gnome.org>
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
#ifndef __EOG_THUMB_NAV_H__
23
#define __EOG_THUMB_NAV_H__
25
#include "cheese-thumb-view.h"
29
#include <glib-object.h>
33
typedef struct _EogThumbNav EogThumbNav;
34
typedef struct _EogThumbNavClass EogThumbNavClass;
35
typedef struct _EogThumbNavPrivate EogThumbNavPrivate;
37
#define EOG_TYPE_THUMB_NAV (eog_thumb_nav_get_type ())
38
#define EOG_THUMB_NAV(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EOG_TYPE_THUMB_NAV, EogThumbNav))
39
#define EOG_THUMB_NAV_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EOG_TYPE_THUMB_NAV, EogThumbNavClass))
40
#define EOG_IS_THUMB_NAV(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EOG_TYPE_THUMB_NAV))
41
#define EOG_IS_THUMB_NAV_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EOG_TYPE_THUMB_NAV))
42
#define EOG_THUMB_NAV_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EOG_TYPE_THUMB_NAV, EogThumbNavClass))
46
GtkHBox base_instance;
48
EogThumbNavPrivate *priv;
51
struct _EogThumbNavClass
53
GtkHBoxClass parent_class;
56
GType eog_thumb_nav_get_type (void) G_GNUC_CONST;
58
GtkWidget *eog_thumb_nav_new (GtkWidget *thumbview,
59
gboolean show_buttons);
61
gboolean eog_thumb_nav_get_show_buttons (EogThumbNav *nav);
63
void eog_thumb_nav_set_show_buttons (EogThumbNav *nav,
64
gboolean show_buttons);
66
gboolean eog_thumb_nav_is_vertical (EogThumbNav *nav);
68
void eog_thumb_nav_set_vertical (EogThumbNav *nav,
71
void eog_thumb_nav_set_policy (EogThumbNav *nav,
72
GtkPolicyType hscrollbar_policy,
73
GtkPolicyType vscrollbar_policy);
77
#endif /* __EOG_THUMB_NAV_H__ */