Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ev-zoom-action.h File Reference
#include <gtk/gtk.h>
#include <evince-document.h>
#include <evince-view.h>
+ Include dependency graph for ev-zoom-action.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _EvZoomAction
 
struct  _EvZoomActionClass
 

Macros

#define EV_TYPE_ZOOM_ACTION   (ev_zoom_action_get_type ())
 
#define EV_ZOOM_ACTION(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_ZOOM_ACTION, EvZoomAction))
 
#define EV_IS_ZOOM_ACTION(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_ZOOM_ACTION))
 
#define EV_ZOOM_ACTION_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_ZOOM_ACTION, EvZoomActionClass))
 
#define EV_IS_ZOOM_ACTION_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((obj), EV_TYPE_ZOOM_ACTION))
 
#define EV_ZOOM_ACTION_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), EV_TYPE_ZOOM_ACTION, EvZoomActionClass))
 

Typedefs

typedef struct _EvZoomAction EvZoomAction
 
typedef struct _EvZoomActionClass EvZoomActionClass
 
typedef struct _EvZoomActionPrivate EvZoomActionPrivate
 

Functions

GType ev_zoom_action_get_type (void)
 
GtkWidget * ev_zoom_action_new (EvDocumentModel *model, GMenu *menu)
 
gboolean ev_zoom_action_get_popup_shown (EvZoomAction *action)
 

Macro Definition Documentation

#define EV_IS_ZOOM_ACTION (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_ZOOM_ACTION))

Definition at line 32 of file ev-zoom-action.h.

#define EV_IS_ZOOM_ACTION_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((obj), EV_TYPE_ZOOM_ACTION))

Definition at line 34 of file ev-zoom-action.h.

#define EV_TYPE_ZOOM_ACTION   (ev_zoom_action_get_type ())

Definition at line 30 of file ev-zoom-action.h.

#define EV_ZOOM_ACTION (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_ZOOM_ACTION, EvZoomAction))

Definition at line 31 of file ev-zoom-action.h.

#define EV_ZOOM_ACTION_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_ZOOM_ACTION, EvZoomActionClass))

Definition at line 33 of file ev-zoom-action.h.

#define EV_ZOOM_ACTION_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), EV_TYPE_ZOOM_ACTION, EvZoomActionClass))

Definition at line 35 of file ev-zoom-action.h.

Typedef Documentation

typedef struct _EvZoomAction EvZoomAction

Definition at line 37 of file ev-zoom-action.h.

Definition at line 38 of file ev-zoom-action.h.

Definition at line 39 of file ev-zoom-action.h.

Function Documentation

gboolean ev_zoom_action_get_popup_shown ( EvZoomAction action)

Definition at line 447 of file ev-zoom-action.c.

448 {
449  g_return_val_if_fail (EV_IS_ZOOM_ACTION (action), FALSE);
450 
451  return action->priv->popup_shown;
452 }

+ Here is the caller graph for this function:

GType ev_zoom_action_get_type ( void  )
GtkWidget* ev_zoom_action_new ( EvDocumentModel model,
GMenu *  menu 
)

Definition at line 434 of file ev-zoom-action.c.

436 {
437  g_return_val_if_fail (EV_IS_DOCUMENT_MODEL (model), NULL);
438  g_return_val_if_fail (G_IS_MENU (menu), NULL);
439 
440  return GTK_WIDGET (g_object_new (EV_TYPE_ZOOM_ACTION,
441  "document-model", model,
442  "menu", menu,
443  NULL));
444 }

+ Here is the caller graph for this function: