Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
|
#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <glib/gi18n.h>
#include <glib/gstdio.h>
#include <gtk/gtk.h>
#include <unistd.h>
#include "ev-application.h"
#include "ev-file-helpers.h"
#include "ev-stock-icons.h"
Go to the source code of this file.
Data Structures | |
struct | _EvApplication |
struct | _EvApplicationClass |
Functions | |
static void | _ev_application_open_uri_at_dest (EvApplication *application, const gchar *uri, GdkScreen *screen, EvLinkDest *dest, EvWindowRunMode mode, const gchar *search_string, guint timestamp) |
static void | ev_application_open_uri_in_window (EvApplication *application, const char *uri, EvWindow *ev_window, GdkScreen *screen, EvLinkDest *dest, EvWindowRunMode mode, const gchar *search_string, guint timestamp) |
EvApplication * | ev_application_new (void) |
static void | ev_spawn (const char *uri, GdkScreen *screen, EvLinkDest *dest, EvWindowRunMode mode, const gchar *search_string, guint timestamp) |
static EvWindow * | ev_application_get_empty_window (EvApplication *application, GdkScreen *screen) |
void | ev_application_open_uri_at_dest (EvApplication *application, const char *uri, GdkScreen *screen, EvLinkDest *dest, EvWindowRunMode mode, const gchar *search_string, guint timestamp) |
static void | ev_application_new_window (EvApplication *application, GdkScreen *screen, guint32 timestamp) |
void | ev_application_open_recent_view (EvApplication *application, GdkScreen *screen, guint32 timestamp) |
void | ev_application_open_uri_list (EvApplication *application, GSList *uri_list, GdkScreen *screen, guint timestamp) |
static void | ev_application_accel_map_save (EvApplication *application) |
static void | ev_application_accel_map_load (EvApplication *application) |
static void | ev_application_migrate_config_dir (EvApplication *application) |
static void | app_new_cb (GSimpleAction *action, GVariant *parameter, gpointer user_data) |
static void | app_help_cb (GSimpleAction *action, GVariant *parameter, gpointer user_data) |
static void | app_about_cb (GSimpleAction *action, GVariant *parameter, gpointer user_data) |
static void | ev_application_startup (GApplication *gapplication) |
static void | ev_application_shutdown (GApplication *gapplication) |
static void | ev_application_activate (GApplication *gapplication) |
static void | ev_application_class_init (EvApplicationClass *ev_application_class) |
static void | ev_application_init (EvApplication *ev_application) |
gboolean | ev_application_has_window (EvApplication *application) |
guint | ev_application_get_n_windows (EvApplication *application) |
const gchar * | ev_application_get_uri (EvApplication *application) |
GObject * | ev_application_get_media_keys (EvApplication *application) |
const gchar * | ev_application_get_dot_dir (EvApplication *application, gboolean create) |
void | ev_application_show_help (EvApplication *application, GdkScreen *screen, const char *topic) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1206 of file ev-application.c.
const gchar* ev_application_get_dot_dir | ( | EvApplication * | application, |
gboolean | create | ||
) |
|
static |
GObject* ev_application_get_media_keys | ( | EvApplication * | application) |
ev_application_get_media_keys: : The instance of the application.
It gives you access to the media player keys handler object.
Returns: A EvMediaPlayerKeys.
Definition at line 1279 of file ev-application.c.
guint ev_application_get_n_windows | ( | EvApplication * | application) |
Definition at line 1248 of file ev-application.c.
const gchar* ev_application_get_uri | ( | EvApplication * | application) |
gboolean ev_application_has_window | ( | EvApplication * | application) |
|
static |
Definition at line 1221 of file ev-application.c.
|
static |
EvApplication* ev_application_new | ( | void | ) |
ev_application_new:
Creates a new EvApplication instance.
Returns: (transfer full): a newly created EvApplication
Definition at line 100 of file ev-application.c.
|
static |
void ev_application_open_recent_view | ( | EvApplication * | application, |
GdkScreen * | screen, | ||
guint32 | timestamp | ||
) |
ev_application_open_recent_view: : The instance of the application. : Current time value.
Creates a new window showing the recent view
Definition at line 665 of file ev-application.c.
void ev_application_open_uri_at_dest | ( | EvApplication * | application, |
const char * | uri, | ||
GdkScreen * | screen, | ||
EvLinkDest * | dest, | ||
EvWindowRunMode | mode, | ||
const gchar * | search_string, | ||
guint | timestamp | ||
) |
ev_application_open_uri_at_dest: : The instance of the application. : The uri to be opened. : Thee screen where the link will be shown. : The EvLinkDest of the document. : The run mode of the window. : The word or phrase to find in the document. : Current time value.
Definition at line 620 of file ev-application.c.
|
static |
void ev_application_open_uri_list | ( | EvApplication * | application, |
GSList * | uri_list, | ||
GdkScreen * | screen, | ||
guint | timestamp | ||
) |
void ev_application_show_help | ( | EvApplication * | application, |
GdkScreen * | screen, | ||
const char * | topic | ||
) |
ev_application_show_help: : the EvApplication : (allow-none): a #GdkScreen, or NULL to use the default screen : (allow-none): the help topic, or NULL to show the index
Launches the help viewer on to show the evince help. If is NULL, shows the help index; otherwise the topic.
Definition at line 1308 of file ev-application.c.
|
static |
|
static |
|
static |
Definition at line 148 of file ev-application.c.