Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2007-04-20 07:08:14 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2007-04-20 07:08:14 (GMT)
commitfb53dffc05b5bf6f767a6b33abf6eabb627e7644 (patch)
tree7b6721376e3d98c80a7ae97fbed925b617b155bb /shell/ev-window.c
parent13380e3af645c5597e22cc8e35d23acf3c7b4695 (diff)
Developers documentation updated.
2007-04-20 Iñigo Martínez <inigomartinez@gmail.com> * shell/ev-application.c: * shell/ev-job-queue.c: * shell/ev-metadata-manager.c: * shell/ev-stock-icons.c: * shell/ev-window.c: * shell/main.c: Developers documentation updated. svn path=/trunk/; revision=2410
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 4d76b6f..532aa4e 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -606,6 +606,16 @@ update_sizing_buttons (EvWindow *window)
}
}
+/**
+ * ev_window_is_empty:
+ * @ev_window: 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.
+ */
gboolean
ev_window_is_empty (const EvWindow *ev_window)
{
@@ -1340,12 +1350,27 @@ ev_window_load_job_cb (EvJobLoad *job,
return;
}
+/**
+ * ev_window_get_uri:
+ * @ev_window: 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.
+ */
const char *
ev_window_get_uri (EvWindow *ev_window)
{
return ev_window->priv->uri;
}
+/**
+ * ev_window_close_dialogs:
+ * @ev_window: The window where dialogs will be closed.
+ *
+ * It looks for password, print and properties dialogs and closes them and
+ * frees them from memory. If there is any print job it does free it too.
+ */
static void
ev_window_close_dialogs (EvWindow *ev_window)
{
@@ -5187,6 +5212,13 @@ ev_window_init (EvWindow *ev_window)
ev_window_setup_action_sensitivity (ev_window);
}
+/**
+ * ev_window_new:
+ *
+ * Creates a #GtkWidget that represents the window.
+ *
+ * Returns: the #GtkWidget that represents the window.
+ */
GtkWidget *
ev_window_new (void)
{