Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
|
#include "config.h"
#include <glib/gi18n.h>
#include "gimpcellrenderertoggle.h"
#include "ev-document-layers.h"
#include "ev-sidebar-page.h"
#include "ev-jobs.h"
#include "ev-job-scheduler.h"
#include "ev-stock-icons.h"
#include "ev-sidebar-layers.h"
Go to the source code of this file.
Data Structures | |
struct | _EvSidebarLayersPrivate |
Macros | |
#define | EV_SIDEBAR_LAYERS_GET_PRIVATE(object) (G_TYPE_INSTANCE_GET_PRIVATE ((object), EV_TYPE_SIDEBAR_LAYERS, EvSidebarLayersPrivate)) |
Enumerations | |
enum | { PROP_0, PROP_WIDGET } |
enum | { LAYERS_VISIBILITY_CHANGED, N_SIGNALS } |
Functions | |
static void | ev_sidebar_layers_page_iface_init (EvSidebarPageInterface *iface) |
static void | job_finished_callback (EvJobLayers *job, EvSidebarLayers *sidebar_layers) |
G_DEFINE_TYPE_EXTENDED (EvSidebarLayers, ev_sidebar_layers, GTK_TYPE_BOX, 0, G_IMPLEMENT_INTERFACE(EV_TYPE_SIDEBAR_PAGE, ev_sidebar_layers_page_iface_init)) | |
static void | ev_sidebar_layers_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) |
static GtkTreeModel * | ev_sidebar_layers_create_loading_model (void) |
static gboolean | update_kids (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, GtkTreeIter *parent) |
static gboolean | clear_rb_group (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gint *rb_group) |
static void | ev_sidebar_layers_visibility_changed (GtkCellRendererToggle *cell, gchar *path_str, EvSidebarLayers *ev_layers) |
static GtkTreeView * | ev_sidebar_layers_create_tree_view (EvSidebarLayers *ev_layers) |
static void | ev_sidebar_layers_init (EvSidebarLayers *ev_layers) |
static void | ev_sidebar_layers_class_init (EvSidebarLayersClass *ev_layers_class) |
GtkWidget * | ev_sidebar_layers_new (void) |
static void | update_layers_state (GtkTreeModel *model, GtkTreeIter *iter, EvDocumentLayers *document_layers) |
void | ev_sidebar_layers_update_layers_state (EvSidebarLayers *sidebar_layers) |
static void | ev_sidebar_layers_document_changed_cb (EvDocumentModel *model, GParamSpec *pspec, EvSidebarLayers *sidebar_layers) |
static void | ev_sidebar_layers_set_model (EvSidebarPage *sidebar_page, EvDocumentModel *model) |
static gboolean | ev_sidebar_layers_support_document (EvSidebarPage *sidebar_page, EvDocument *document) |
static const gchar * | ev_sidebar_layers_get_label (EvSidebarPage *sidebar_page) |
Variables | |
static guint | signals [N_SIGNALS] |
#define EV_SIDEBAR_LAYERS_GET_PRIVATE | ( | object) | (G_TYPE_INSTANCE_GET_PRIVATE ((object), EV_TYPE_SIDEBAR_LAYERS, EvSidebarLayersPrivate)) |
anonymous enum |
Enumerator | |
---|---|
PROP_0 | |
PROP_WIDGET |
Definition at line 40 of file ev-sidebar-layers.c.
anonymous enum |
Enumerator | |
---|---|
LAYERS_VISIBILITY_CHANGED | |
N_SIGNALS |
Definition at line 45 of file ev-sidebar-layers.c.
|
static |
|
static |
Definition at line 305 of file ev-sidebar-layers.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 278 of file ev-sidebar-layers.c.
GtkWidget* ev_sidebar_layers_new | ( | void | ) |
|
static |
Definition at line 448 of file ev-sidebar-layers.c.
|
static |
|
static |
void ev_sidebar_layers_update_layers_state | ( | EvSidebarLayers * | sidebar_layers) |
|
static |
G_DEFINE_TYPE_EXTENDED | ( | EvSidebarLayers | , |
ev_sidebar_layers | , | ||
GTK_TYPE_BOX | , | ||
0 | , | ||
G_IMPLEMENT_INTERFACE(EV_TYPE_SIDEBAR_PAGE,ev_sidebar_layers_page_iface_init) | |||
) |
Definition at line 56 of file ev-sidebar-layers.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 54 of file ev-sidebar-layers.c.