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

Go to the source code of this file.

Data Structures

struct  _EvLayer
 
struct  _EvLayerClass
 

Macros

#define EV_TYPE_LAYER   (ev_layer_get_type())
 
#define EV_LAYER(object)   (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_LAYER, EvLayer))
 
#define EV_LAYER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_LAYER, EvLayerClass))
 
#define EV_IS_LAYER(object)   (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_LAYER))
 
#define EV_IS_LAYER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_LAYER))
 
#define EV_LAYER_GET_CLASS(object)   (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_LAYER, EvLayerClass))
 

Typedefs

typedef typedefG_BEGIN_DECLS
struct _EvLayer 
EvLayer
 
typedef struct _EvLayerClass EvLayerClass
 
typedef struct _EvLayerPrivate EvLayerPrivate
 

Functions

GType ev_layer_get_type (void) G_GNUC_CONST
 
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_IS_LAYER (   object)    (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_LAYER))

Definition at line 38 of file ev-layer.h.

#define EV_IS_LAYER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_LAYER))

Definition at line 39 of file ev-layer.h.

#define EV_LAYER (   object)    (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_LAYER, EvLayer))

Definition at line 36 of file ev-layer.h.

#define EV_LAYER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_LAYER, EvLayerClass))

Definition at line 37 of file ev-layer.h.

#define EV_LAYER_GET_CLASS (   object)    (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_LAYER, EvLayerClass))

Definition at line 40 of file ev-layer.h.

#define EV_TYPE_LAYER   (ev_layer_get_type())

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

Typedef Documentation

typedef typedefG_BEGIN_DECLS struct _EvLayer EvLayer

Definition at line 31 of file ev-layer.h.

typedef struct _EvLayerClass EvLayerClass

Definition at line 32 of file ev-layer.h.

Definition at line 33 of file ev-layer.h.

Function Documentation

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:

GType ev_layer_get_type ( void  )
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: