/usr/share/gtk-doc/html/epiphany/EphyWindow.html is in epiphany-browser-dev 3.4.0.1-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EphyWindow</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Epiphany Reference Manual">
<link rel="up" href="ch01.html" title="Epiphany">
<link rel="prev" href="epiphany-EphyToolbar.html" title="EphyToolbar">
<link rel="next" href="ch02.html" title="Library">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="epiphany-EphyToolbar.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Epiphany Reference Manual</th>
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#EphyWindow.synopsis" class="shortcut">Top</a>
|
<a href="#EphyWindow.description" class="shortcut">Description</a>
|
<a href="#EphyWindow.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#EphyWindow.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
</td></tr>
</table>
<div class="refentry">
<a name="EphyWindow"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="EphyWindow.top_of_page"></a>EphyWindow</span></h2>
<p>EphyWindow — Epiphany's main <span class="type">GtkWindow</span> widget</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="EphyWindow.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct <a class="link" href="EphyWindow.html#EphyWindow-struct" title="struct EphyWindow">EphyWindow</a>;
<a class="link" href="EphyWindow.html" title="EphyWindow"><span class="returnvalue">EphyWindow</span></a> * <a class="link" href="EphyWindow.html#ephy-window-new" title="ephy_window_new ()">ephy_window_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="EphyWindow.html" title="EphyWindow"><span class="returnvalue">EphyWindow</span></a> * <a class="link" href="EphyWindow.html#ephy-window-new-with-chrome" title="ephy_window_new_with_chrome ()">ephy_window_new_with_chrome</a> (<em class="parameter"><code><a class="link" href="EphyWebView.html#EphyWebViewChrome" title="enum EphyWebViewChrome"><span class="type">EphyWebViewChrome</span></a> chrome</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> is_popup</code></em>);
<span class="returnvalue">GtkUIManager</span> * <a class="link" href="EphyWindow.html#ephy-window-get-ui-manager" title="ephy_window_get_ui_manager ()">ephy_window_get_ui_manager</a> (<em class="parameter"><code><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> *window</code></em>);
<span class="returnvalue">GtkWidget</span> * <a class="link" href="EphyWindow.html#ephy-window-get-notebook" title="ephy_window_get_notebook ()">ephy_window_get_notebook</a> (<em class="parameter"><code><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> *window</code></em>);
<span class="returnvalue">void</span> <a class="link" href="EphyWindow.html#ephy-window-load-url" title="ephy_window_load_url ()">ephy_window_load_url</a> (<em class="parameter"><code><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> *window</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *url</code></em>);
<span class="returnvalue">void</span> <a class="link" href="EphyWindow.html#ephy-window-set-zoom" title="ephy_window_set_zoom ()">ephy_window_set_zoom</a> (<em class="parameter"><code><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">float</span> zoom</code></em>);
<span class="returnvalue">void</span> <a class="link" href="EphyWindow.html#ephy-window-activate-location" title="ephy_window_activate_location ()">ephy_window_activate_location</a> (<em class="parameter"><code><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> *window</code></em>);
<span class="returnvalue">EphyEmbedEvent</span> * <a class="link" href="EphyWindow.html#ephy-window-get-context-event" title="ephy_window_get_context_event ()">ephy_window_get_context_event</a> (<em class="parameter"><code><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> *window</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="EphyWindow.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----GtkApplicationWindow
+----EphyWindow
</pre>
</div>
<div class="refsect1">
<a name="EphyWindow.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
EphyWindow implements
AtkImplementorIface, GtkBuildable, GActionGroup, GActionMap, EphyLink and EphyEmbedContainer.</p>
</div>
<div class="refsect1">
<a name="EphyWindow.description"></a><h2>Description</h2>
<p>
<a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> is Epiphany's main widget.
</p>
</div>
<div class="refsect1">
<a name="EphyWindow.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="EphyWindow-struct"></a><h3>struct EphyWindow</h3>
<pre class="programlisting">struct EphyWindow;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="ephy-window-new"></a><h3>ephy_window_new ()</h3>
<pre class="programlisting"><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="returnvalue">EphyWindow</span></a> * ephy_window_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Equivalent to <code class="function">g_object_new()</code> but returns an <a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> so you don't have
to cast it.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ephy-window-new-with-chrome"></a><h3>ephy_window_new_with_chrome ()</h3>
<pre class="programlisting"><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="returnvalue">EphyWindow</span></a> * ephy_window_new_with_chrome (<em class="parameter"><code><a class="link" href="EphyWebView.html#EphyWebViewChrome" title="enum EphyWebViewChrome"><span class="type">EphyWebViewChrome</span></a> chrome</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> is_popup</code></em>);</pre>
<p>
Identical to <a class="link" href="EphyWindow.html#ephy-window-new" title="ephy_window_new ()"><code class="function">ephy_window_new()</code></a>, but allows you to specify a chrome.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chrome</code></em> :</span></p></td>
<td>an <a class="link" href="EphyWebView.html#EphyWebViewChrome" title="enum EphyWebViewChrome"><span class="type">EphyWebViewChrome</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>is_popup</code></em> :</span></p></td>
<td>whether the new window is a popup window</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ephy-window-get-ui-manager"></a><h3>ephy_window_get_ui_manager ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkUIManager</span> * ephy_window_get_ui_manager (<em class="parameter"><code><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> *window</code></em>);</pre>
<p>
Returns this window's UI manager.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>an <a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>an <span class="type">GtkUIManager</span>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ephy-window-get-notebook"></a><h3>ephy_window_get_notebook ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * ephy_window_get_notebook (<em class="parameter"><code><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> *window</code></em>);</pre>
<p>
Returns the <span class="type">GtkNotebook</span> used by this window.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>an <a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <em class="parameter"><code>window</code></em>'s <span class="type">GtkNotebook</span>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ephy-window-load-url"></a><h3>ephy_window_load_url ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> ephy_window_load_url (<em class="parameter"><code><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> *window</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *url</code></em>);</pre>
<p>
Loads a new url in the active tab of <em class="parameter"><code>window</code></em>.
Unlike <a class="link" href="EphyWebView.html#ephy-web-view-load-url" title="ephy_web_view_load_url ()"><code class="function">ephy_web_view_load_url()</code></a>, this function activates
the embed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>a <a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>url</code></em> :</span></p></td>
<td>the url to load</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ephy-window-set-zoom"></a><h3>ephy_window_set_zoom ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> ephy_window_set_zoom (<em class="parameter"><code><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> *window</code></em>,
<em class="parameter"><code><span class="type">float</span> zoom</code></em>);</pre>
<p>
Sets the zoom on <em class="parameter"><code>window</code></em>'s active <span class="type">EphyEmbed</span>. A <em class="parameter"><code>zoom</code></em> of 1.0 corresponds to
100% zoom (normal size).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>an <a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>zoom</code></em> :</span></p></td>
<td>the desired zoom level</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ephy-window-activate-location"></a><h3>ephy_window_activate_location ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> ephy_window_activate_location (<em class="parameter"><code><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> *window</code></em>);</pre>
<p>
Activates the location entry on <em class="parameter"><code>window</code></em>'s toolbar.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>an <a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ephy-window-get-context-event"></a><h3>ephy_window_get_context_event ()</h3>
<pre class="programlisting"><span class="returnvalue">EphyEmbedEvent</span> * ephy_window_get_context_event (<em class="parameter"><code><a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a> *window</code></em>);</pre>
<p>
Returns the <span class="type">EphyEmbedEvent</span> for the current context menu.
Use this to get the event from the action callback.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>an <a class="link" href="EphyWindow.html" title="EphyWindow"><span class="type">EphyWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>an <span class="type">EphyEmbedEvent</span>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|