Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
|
#include <string.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include "ev-document-links.h"
#include "ev-job-scheduler.h"
#include "ev-sidebar-links.h"
#include "ev-sidebar-page.h"
#include "ev-window.h"
Go to the source code of this file.
Data Structures | |
struct | _EvSidebarLinksPrivate |
struct | EvSidebarLinkPageSearch |
Macros | |
#define | EV_SIDEBAR_LINKS_GET_PRIVATE(object) (G_TYPE_INSTANCE_GET_PRIVATE ((object), EV_TYPE_SIDEBAR_LINKS, EvSidebarLinksPrivate)) |
Typedefs | |
typedef struct EvSidebarLinkPageSearch | EvSidebarLinkPageSearch |
Enumerations | |
enum | { PROP_0, PROP_MODEL, PROP_WIDGET } |
enum | { LINK_ACTIVATED, N_SIGNALS } |
Functions | |
static void | update_page_callback (EvSidebarLinks *sidebar_links, gint old_page, gint current_page) |
static void | row_activated_callback (GtkTreeView *treeview, GtkTreePath *arg1, GtkTreeViewColumn *arg2, gpointer user_data) |
static void | ev_sidebar_links_set_links_model (EvSidebarLinks *links, GtkTreeModel *model) |
static void | job_finished_callback (EvJobLinks *job, EvSidebarLinks *sidebar_links) |
static void | ev_sidebar_links_set_current_page (EvSidebarLinks *sidebar_links, gint current_page) |
static void | ev_sidebar_links_page_iface_init (EvSidebarPageInterface *iface) |
static gboolean | ev_sidebar_links_support_document (EvSidebarPage *sidebar_page, EvDocument *document) |
static const gchar * | ev_sidebar_links_get_label (EvSidebarPage *sidebar_page) |
G_DEFINE_TYPE_EXTENDED (EvSidebarLinks, ev_sidebar_links, GTK_TYPE_BOX, 0, G_IMPLEMENT_INTERFACE(EV_TYPE_SIDEBAR_PAGE, ev_sidebar_links_page_iface_init)) | |
static void | ev_sidebar_links_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) |
static void | ev_sidebar_links_dispose (GObject *object) |
static void | ev_sidebar_links_map (GtkWidget *widget) |
static void | ev_sidebar_links_class_init (EvSidebarLinksClass *ev_sidebar_links_class) |
static void | selection_changed_callback (GtkTreeSelection *selection, EvSidebarLinks *ev_sidebar_links) |
static GtkTreeModel * | create_loading_model (void) |
static void | print_section_cb (GtkWidget *menuitem, EvSidebarLinks *sidebar) |
static GtkMenu * | build_popup_menu (EvSidebarLinks *sidebar) |
static void | popup_menu_cb (GtkWidget *treeview, EvSidebarLinks *sidebar) |
static gboolean | button_press_cb (GtkWidget *treeview, GdkEventButton *event, EvSidebarLinks *sidebar) |
static void | ev_sidebar_links_construct (EvSidebarLinks *ev_sidebar_links) |
static void | ev_sidebar_links_init (EvSidebarLinks *ev_sidebar_links) |
GtkWidget * | ev_sidebar_links_new (void) |
static gint | page_link_tree_search_best_page (gpointer page_ptr, EvSidebarLinkPageSearch *data) |
static void | expand_open_links (GtkTreeView *tree_view, GtkTreeModel *model, GtkTreeIter *parent) |
static gint | page_link_tree_sort (gconstpointer a, gconstpointer b, void *data) |
static gboolean | update_page_link_tree_foreach (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data) |
static void | ev_sidebar_links_document_changed_cb (EvDocumentModel *model, GParamSpec *pspec, EvSidebarLinks *sidebar_links) |
static void | ev_sidebar_links_set_model (EvSidebarPage *sidebar_page, EvDocumentModel *model) |
Variables | |
static guint | signals [N_SIGNALS] |
#define EV_SIDEBAR_LINKS_GET_PRIVATE | ( | object) | (G_TYPE_INSTANCE_GET_PRIVATE ((object), EV_TYPE_SIDEBAR_LINKS, EvSidebarLinksPrivate)) |
typedef struct EvSidebarLinkPageSearch EvSidebarLinkPageSearch |
anonymous enum |
Enumerator | |
---|---|
PROP_0 | |
PROP_MODEL | |
PROP_WIDGET |
Definition at line 54 of file ev-sidebar-links.c.
anonymous enum |
Enumerator | |
---|---|
LINK_ACTIVATED | |
N_SIGNALS |
Definition at line 60 of file ev-sidebar-links.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 187 of file ev-sidebar-links.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 459 of file ev-sidebar-links.c.
|
static |
GtkWidget* ev_sidebar_links_new | ( | void | ) |
|
static |
Definition at line 754 of file ev-sidebar-links.c.
|
static |
Definition at line 497 of file ev-sidebar-links.c.
|
static |
Definition at line 616 of file ev-sidebar-links.c.
|
static |
|
static |
|
static |
G_DEFINE_TYPE_EXTENDED | ( | EvSidebarLinks | , |
ev_sidebar_links | , | ||
GTK_TYPE_BOX | , | ||
0 | , | ||
G_IMPLEMENT_INTERFACE(EV_TYPE_SIDEBAR_PAGE,ev_sidebar_links_page_iface_init) | |||
) |
Definition at line 85 of file ev-sidebar-links.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 83 of file ev-sidebar-links.c.