1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>ephy-session</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
7
<link rel="home" href="index.html" title="Epiphany Reference Manual">
8
<link rel="up" href="ch03.html" title="Incomplete">
9
<link rel="prev" href="epiphany-ephy-password-manager.html" title="ephy-password-manager">
10
<link rel="next" href="epiphany-ephy-shell.html" title="ephy-shell">
11
<meta name="generator" content="GTK-Doc V1.12 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="chapter" href="ch01.html" title="Epiphany">
14
<link rel="chapter" href="ch02.html" title="Widgets">
15
<link rel="chapter" href="ch03.html" title="Incomplete">
17
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
18
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
20
<td><a accesskey="p" href="epiphany-ephy-password-manager.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
21
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
22
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
23
<th width="100%" align="center">Epiphany Reference Manual</th>
24
<td><a accesskey="n" href="epiphany-ephy-shell.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
26
<tr><td colspan="5" class="shortcuts">
27
<a href="#epiphany-ephy-session.synopsis" class="shortcut">Top</a>
29
<a href="#epiphany-ephy-session.description" class="shortcut">Description</a>
32
<div class="refentry" lang="en">
33
<a name="epiphany-ephy-session"></a><div class="titlepage"></div>
34
<div class="refnamediv"><table width="100%"><tr>
36
<h2><span class="refentrytitle"><a name="epiphany-ephy-session.top_of_page"></a>ephy-session</span></h2>
39
<td valign="top" align="right"></td>
41
<div class="refsynopsisdiv">
42
<a name="epiphany-ephy-session.synopsis"></a><h2>Synopsis</h2>
43
<pre class="synopsis">
44
<a class="link" href="EphyWindow.html" title="EphyWindow">EphyWindow</a> * <a class="link" href="epiphany-ephy-session.html#ephy-session-get-active-window" title="ephy_session_get_active_window ()">ephy_session_get_active_window</a> (EphySession *session);
45
gboolean <a class="link" href="epiphany-ephy-session.html#ephy-session-save" title="ephy_session_save ()">ephy_session_save</a> (EphySession *session,
46
const char *filename);
47
gboolean <a class="link" href="epiphany-ephy-session.html#ephy-session-load" title="ephy_session_load ()">ephy_session_load</a> (EphySession *session,
50
void <a class="link" href="epiphany-ephy-session.html#ephy-session-close" title="ephy_session_close ()">ephy_session_close</a> (EphySession *session);
51
GList * <a class="link" href="epiphany-ephy-session.html#ephy-session-get-windows" title="ephy_session_get_windows ()">ephy_session_get_windows</a> (EphySession *session);
52
void <a class="link" href="epiphany-ephy-session.html#ephy-session-add-window" title="ephy_session_add_window ()">ephy_session_add_window</a> (EphySession *session,
54
void <a class="link" href="epiphany-ephy-session.html#ephy-session-remove-window" title="ephy_session_remove_window ()">ephy_session_remove_window</a> (EphySession *session,
58
<div class="refsect1" lang="en">
59
<a name="epiphany-ephy-session.description"></a><h2>Description</h2>
63
<div class="refsect1" lang="en">
64
<a name="epiphany-ephy-session.details"></a><h2>Details</h2>
65
<div class="refsect2" lang="en">
66
<a name="ephy-session-get-active-window"></a><h3>ephy_session_get_active_window ()</h3>
67
<pre class="programlisting"><a class="link" href="EphyWindow.html" title="EphyWindow">EphyWindow</a> * ephy_session_get_active_window (EphySession *session);</pre>
69
Get the current active browser window. Use it when you
70
need to take an action (like opening an url) on
71
a window but you dont have a target window.</p>
74
<div class="variablelist"><table border="0">
75
<col align="left" valign="top">
78
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
79
<td> a <span class="type">EphySession</span>
83
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
84
<td> the current active non-popup browser window, or NULL of there is none.
91
<div class="refsect2" lang="en">
92
<a name="ephy-session-save"></a><h3>ephy_session_save ()</h3>
93
<pre class="programlisting">gboolean ephy_session_save (EphySession *session,
94
const char *filename);</pre>
97
<div class="variablelist"><table border="0">
98
<col align="left" valign="top">
101
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
106
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
111
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
119
<div class="refsect2" lang="en">
120
<a name="ephy-session-load"></a><h3>ephy_session_load ()</h3>
121
<pre class="programlisting">gboolean ephy_session_load (EphySession *session,
122
const char *filename,
123
guint32 user_time);</pre>
126
<div class="variablelist"><table border="0">
127
<col align="left" valign="top">
130
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
135
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
140
<td><p><span class="term"><em class="parameter"><code>user_time</code></em> :</span></p></td>
145
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
153
<div class="refsect2" lang="en">
154
<a name="ephy-session-close"></a><h3>ephy_session_close ()</h3>
155
<pre class="programlisting">void ephy_session_close (EphySession *session);</pre>
158
<div class="variablelist"><table border="0">
159
<col align="left" valign="top">
161
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
168
<div class="refsect2" lang="en">
169
<a name="ephy-session-get-windows"></a><h3>ephy_session_get_windows ()</h3>
170
<pre class="programlisting">GList * ephy_session_get_windows (EphySession *session);</pre>
173
<div class="variablelist"><table border="0">
174
<col align="left" valign="top">
177
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
178
<td> the <span class="type">EphySession</span>
182
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
183
<td> the list of open <span class="type">"s."</span>
190
<div class="refsect2" lang="en">
191
<a name="ephy-session-add-window"></a><h3>ephy_session_add_window ()</h3>
192
<pre class="programlisting">void ephy_session_add_window (EphySession *session,
193
GtkWindow *window);</pre>
195
Add a tool window to the session. <a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> take care of adding
196
itself to session.</p>
199
<div class="variablelist"><table border="0">
200
<col align="left" valign="top">
203
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
204
<td> a <span class="type">EphySession</span>
208
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
209
<td> a <a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a>
216
<div class="refsect2" lang="en">
217
<a name="ephy-session-remove-window"></a><h3>ephy_session_remove_window ()</h3>
218
<pre class="programlisting">void ephy_session_remove_window (EphySession *session,
219
GtkWindow *window);</pre>
221
Remove a tool window from the session.</p>
224
<div class="variablelist"><table border="0">
225
<col align="left" valign="top">
228
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
229
<td> a <span class="type">EphySession.</span>
233
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
234
<td> a <span class="type">GtkWindow</span>, which must be either the bookmarks editor or the
245
Generated by GTK-Doc V1.12</div>