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-document-layers.h File Reference
#include <glib-object.h>
#include <glib.h>
#include <gtk/gtk.h>
#include "ev-layer.h"
+ Include dependency graph for ev-document-layers.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _EvDocumentLayersInterface
 

Macros

#define EV_TYPE_DOCUMENT_LAYERS   (ev_document_layers_get_type ())
 
#define EV_DOCUMENT_LAYERS(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayers))
 
#define EV_DOCUMENT_LAYERS_IFACE(k)   (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayersInterface))
 
#define EV_IS_DOCUMENT_LAYERS(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_LAYERS))
 
#define EV_IS_DOCUMENT_LAYERS_IFACE(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_LAYERS))
 
#define EV_DOCUMENT_LAYERS_GET_IFACE(inst)   (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayersInterface))
 

Typedefs

typedef struct _EvDocumentLayers EvDocumentLayers
 
typedef struct
_EvDocumentLayersInterface 
EvDocumentLayersInterface
 

Enumerations

enum  {
  EV_DOCUMENT_LAYERS_COLUMN_TITLE, EV_DOCUMENT_LAYERS_COLUMN_LAYER, EV_DOCUMENT_LAYERS_COLUMN_VISIBLE, EV_DOCUMENT_LAYERS_COLUMN_ENABLED,
  EV_DOCUMENT_LAYERS_COLUMN_SHOWTOGGLE, EV_DOCUMENT_LAYERS_COLUMN_RBGROUP, EV_DOCUMENT_LAYERS_N_COLUMNS
}
 

Functions

GType ev_document_layers_get_type (void) G_GNUC_CONST
 
gboolean ev_document_layers_has_layers (EvDocumentLayers *document_layers)
 
GtkTreeModel * ev_document_layers_get_layers (EvDocumentLayers *document_layers)
 
void ev_document_layers_show_layer (EvDocumentLayers *document_layers, EvLayer *layer)
 
void ev_document_layers_hide_layer (EvDocumentLayers *document_layers, EvLayer *layer)
 
gboolean ev_document_layers_layer_is_visible (EvDocumentLayers *document_layers, EvLayer *layer)
 

Macro Definition Documentation

#define EV_DOCUMENT_LAYERS (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayers))

Definition at line 37 of file ev-document-layers.h.

#define EV_DOCUMENT_LAYERS_GET_IFACE (   inst)    (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayersInterface))

Definition at line 41 of file ev-document-layers.h.

#define EV_DOCUMENT_LAYERS_IFACE (   k)    (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayersInterface))

Definition at line 38 of file ev-document-layers.h.

#define EV_IS_DOCUMENT_LAYERS (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_LAYERS))

Definition at line 39 of file ev-document-layers.h.

#define EV_IS_DOCUMENT_LAYERS_IFACE (   k)    (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_LAYERS))

Definition at line 40 of file ev-document-layers.h.

#define EV_TYPE_DOCUMENT_LAYERS   (ev_document_layers_get_type ())

Definition at line 36 of file ev-document-layers.h.

Typedef Documentation

typedef struct _EvDocumentLayers EvDocumentLayers

Definition at line 43 of file ev-document-layers.h.

Enumeration Type Documentation

anonymous enum
Enumerator
EV_DOCUMENT_LAYERS_COLUMN_TITLE 
EV_DOCUMENT_LAYERS_COLUMN_LAYER 
EV_DOCUMENT_LAYERS_COLUMN_VISIBLE 
EV_DOCUMENT_LAYERS_COLUMN_ENABLED 
EV_DOCUMENT_LAYERS_COLUMN_SHOWTOGGLE 
EV_DOCUMENT_LAYERS_COLUMN_RBGROUP 
EV_DOCUMENT_LAYERS_N_COLUMNS 

Definition at line 46 of file ev-document-layers.h.

Function Documentation

GtkTreeModel* ev_document_layers_get_layers ( EvDocumentLayers document_layers)

ev_document_layers_get_layers: : an EvDocumentLayers

Returns: (transfer full): a #GtkTreeModel

Definition at line 48 of file ev-document-layers.c.

49 {
51 
52  return iface->get_layers (document_layers);
53 }

+ Here is the caller graph for this function:

GType ev_document_layers_get_type ( void  )
gboolean ev_document_layers_has_layers ( EvDocumentLayers document_layers)

Definition at line 34 of file ev-document-layers.c.

35 {
37 
38  return iface->has_layers (document_layers);
39 }

+ Here is the caller graph for this function:

void ev_document_layers_hide_layer ( EvDocumentLayers document_layers,
EvLayer layer 
)

Definition at line 65 of file ev-document-layers.c.

67 {
69 
70  iface->hide_layer (document_layers, layer);
71 }

+ Here is the caller graph for this function:

gboolean ev_document_layers_layer_is_visible ( EvDocumentLayers document_layers,
EvLayer layer 
)

Definition at line 74 of file ev-document-layers.c.

76 {
78 
79  return iface->layer_is_visible (document_layers, layer);
80 }

+ Here is the caller graph for this function:

void ev_document_layers_show_layer ( EvDocumentLayers document_layers,
EvLayer layer 
)

Definition at line 56 of file ev-document-layers.c.

58 {
60 
61  iface->show_layer (document_layers, layer);
62 }

+ Here is the caller graph for this function: