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-layer.c File Reference
#include <config.h>
#include "ev-layer.h"
+ Include dependency graph for ev-layer.c:

Go to the source code of this file.

Data Structures

struct  _EvLayerPrivate
 

Macros

#define EV_LAYER_GET_PRIVATE(object)   (G_TYPE_INSTANCE_GET_PRIVATE ((object), EV_TYPE_LAYER, EvLayerPrivate))
 

Functions

static void ev_layer_class_init (EvLayerClass *klass)
 
static void ev_layer_init (EvLayer *layer)
 
EvLayerev_layer_new (gboolean is_parent, gint rb_group)
 
gboolean ev_layer_is_parent (EvLayer *layer)
 
gint ev_layer_get_rb_group (EvLayer *layer)
 

Macro Definition Documentation

#define EV_LAYER_GET_PRIVATE (   object)    (G_TYPE_INSTANCE_GET_PRIVATE ((object), EV_TYPE_LAYER, EvLayerPrivate))

Definition at line 29 of file ev-layer.c.

Function Documentation

static void ev_layer_class_init ( EvLayerClass klass)
static

Definition at line 35 of file ev-layer.c.

36 {
37  GObjectClass *g_object_class = G_OBJECT_CLASS (klass);
38 
39  g_type_class_add_private (g_object_class, sizeof (EvLayerPrivate));
40 }
gint ev_layer_get_rb_group ( EvLayer layer)

Definition at line 70 of file ev-layer.c.

71 {
72  g_return_val_if_fail (EV_IS_LAYER (layer), 0);
73 
74  return layer->priv->rb_group;
75 }

+ Here is the caller graph for this function:

static void ev_layer_init ( EvLayer layer)
static

Definition at line 43 of file ev-layer.c.

44 {
45  layer->priv = EV_LAYER_GET_PRIVATE (layer);
46 }
gboolean ev_layer_is_parent ( EvLayer layer)

Definition at line 62 of file ev-layer.c.

63 {
64  g_return_val_if_fail (EV_IS_LAYER (layer), FALSE);
65 
66  return layer->priv->is_parent;
67 }

+ Here is the caller graph for this function:

EvLayer* ev_layer_new ( gboolean  is_parent,
gint  rb_group 
)

Definition at line 49 of file ev-layer.c.

51 {
52  EvLayer *layer;
53 
54  layer = EV_LAYER (g_object_new (EV_TYPE_LAYER, NULL));
55  layer->priv->is_parent = is_parent;
56  layer->priv->rb_group = rb_group;
57 
58  return layer;
59 }

+ Here is the caller graph for this function: