Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-view.h')
-rw-r--r--shell/ev-view.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell/ev-view.h b/shell/ev-view.h
index f108f9f..5feb0f7 100644
--- a/shell/ev-view.h
+++ b/shell/ev-view.h
@@ -31,6 +31,13 @@ G_BEGIN_DECLS
#define EV_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_VIEW, EvView))
#define EV_IS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_VIEW))
+
+typedef enum {
+ EV_SIZING_BEST_FIT,
+ EV_SIZING_FIT_WIDTH,
+ EV_SIZING_FREE,
+} EvSizingMode;
+
typedef struct _EvView EvView;
typedef struct _EvViewClass EvViewClass;
@@ -38,6 +45,8 @@ GType ev_view_get_type (void) G_GNUC_CONST;
GtkWidget* ev_view_new (void);
void ev_view_set_document (EvView *view,
EvDocument *document);
+void ev_view_set_mode (EvView *view,
+ EvSizingMode mode);
/* Clipboard */
void ev_view_copy (EvView *view);