#include <glib.h>
#include <gtk/gtk.h>
#include "ev-link.h"
#include "ev-history.h"
#include "ev-document-model.h"
Go to the source code of this file.
|
GType | ev_window_get_type (void) G_GNUC_CONST |
|
GtkWidget * | ev_window_new (void) |
|
const char * | ev_window_get_uri (EvWindow *ev_window) |
|
void | ev_window_open_uri (EvWindow *ev_window, const char *uri, EvLinkDest *dest, EvWindowRunMode mode, const gchar *search_string) |
|
void | ev_window_open_document (EvWindow *ev_window, EvDocument *document, EvLinkDest *dest, EvWindowRunMode mode, const gchar *search_string) |
|
void | ev_window_open_recent_view (EvWindow *ev_window) |
|
gboolean | ev_window_is_empty (const EvWindow *ev_window) |
|
void | ev_window_print_range (EvWindow *ev_window, int first_page, int last_page) |
|
const gchar * | ev_window_get_dbus_object_path (EvWindow *ev_window) |
|
GMenuModel * | ev_window_get_bookmarks_menu (EvWindow *ev_window) |
|
EvHistory * | ev_window_get_history (EvWindow *ev_window) |
|
EvDocumentModel * | ev_window_get_document_model (EvWindow *ev_window) |
|
void | ev_window_focus_view (EvWindow *ev_window) |
|
GtkWidget * | ev_window_get_toolbar (EvWindow *ev_window) |
|
#define EV_IS_WINDOW |
( |
|
object) | |
(G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_WINDOW)) |
#define EV_IS_WINDOW_CLASS |
( |
|
klass) | |
(G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_WINDOW)) |
Enumerator |
---|
EV_PRINT_PAGE_SET_ALL |
|
EV_PRINT_PAGE_SET_EVEN |
|
EV_PRINT_PAGE_SET_ODD |
|
Definition at line 46 of file ev-window.h.
Enumerator |
---|
EV_WINDOW_MODE_NORMAL |
|
EV_WINDOW_MODE_FULLSCREEN |
|
EV_WINDOW_MODE_PRESENTATION |
|
Definition at line 35 of file ev-window.h.
void ev_window_focus_view |
( |
EvWindow * |
ev_window) | |
|
GMenuModel* ev_window_get_bookmarks_menu |
( |
EvWindow * |
ev_window) | |
|
const gchar* ev_window_get_dbus_object_path |
( |
EvWindow * |
ev_window) | |
|
GtkWidget* ev_window_get_toolbar |
( |
EvWindow * |
ev_window) | |
|
GType ev_window_get_type |
( |
void |
) | |
|
const char* ev_window_get_uri |
( |
EvWindow * |
ev_window) | |
|
ev_window_get_uri: : The instance of the EvWindow.
It returns the uri of the document showed in the EvWindow.
Returns: the uri of the document showed in the EvWindow.
Definition at line 1803 of file ev-window.c.
gboolean ev_window_is_empty |
( |
const EvWindow * |
ev_window) | |
|
ev_window_is_empty: : The instance of the EvWindow.
It does look if there is any document loaded or if there is any job to load a document.
Returns: TRUE if there isn't any document loaded or any any documente to be loaded, FALSE in other case.
Definition at line 693 of file ev-window.c.
GtkWidget* ev_window_new |
( |
void |
) | |
|
ev_window_new:
Creates a #GtkWidget that represents the window.
Returns: the #GtkWidget that represents the window.
Definition at line 7137 of file ev-window.c.
7139 GtkWidget *ev_window;
7142 "type", GTK_WINDOW_TOPLEVEL,
7143 "application", g_application_get_default (),
7144 "show-menubar",
FALSE,
Definition at line 2184 of file ev-window.c.
2203 g_free (ev_window->
priv->
uri);
2221 g_object_unref (link_action);
2222 g_object_unref (link);
2238 GtkSearchEntry *entry;
2242 gtk_entry_set_text (GTK_ENTRY (entry), search_string);
2247 g_signal_connect_swapped (ev_window->
priv->
monitor,
"changed",
void ev_window_open_recent_view |
( |
EvWindow * |
ev_window) | |
|
Definition at line 2101 of file ev-window.c.
2113 g_strdup (search_string) : NULL;
2116 g_ascii_strcasecmp (ev_window->
priv->
uri, uri) == 0) {
2133 g_free (ev_window->
priv->
uri);
2134 ev_window->
priv->
uri = g_strdup (uri);
2141 source_file = g_file_new_for_uri (uri);
2153 g_signal_connect_swapped (ev_window->
priv->
bookmarks,
"changed",
2162 g_object_unref (ev_window->
priv->
dest);
2163 ev_window->
priv->
dest =
dest ? g_object_ref (dest) : NULL;
2174 if (!g_file_is_native (source_file) && !ev_window->
priv->
local_uri) {
2178 g_object_unref (source_file);
void ev_window_print_range |
( |
EvWindow * |
ev_window, |
|
|
int |
first_page, |
|
|
int |
last_page |
|
) |
| |