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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Interface</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="Totem Reference Manual">
<link rel="up" href="core-api.html" title="Core API">
<link rel="prev" href="TotemObject.html" title="TotemObject">
<link rel="next" href="TotemPlugin.html" title="TotemPlugin">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="tutorials.html" title="Tutorials">
<link rel="chapter" href="core-api.html" title="Core API">
<link rel="chapter" href="widget-api.html" title="Widgets">
<link rel="index" href="api-index-full.html" title="Index of all symbols">
<link rel="index" href="api-index-deprecated.html" title="Index of deprecated symbols">
</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="TotemObject.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="core-api.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">Totem Reference Manual</th>
<td><a accesskey="n" href="TotemPlugin.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#totem-Interface.synopsis" class="shortcut">Top</a>
|
<a href="#totem-Interface.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="Interface">
<a name="totem-Interface"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="totem-Interface.top_of_page"></a>Interface</span></h2>
<p>Interface — interface utility/loading/error functions</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1" title="Stability Level">
<a name="totem-Interface.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="totem-Interface.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <totem-interface.h>
void <a class="link" href="totem-Interface.html#totem-interface-error" title="totem_interface_error ()">totem_interface_error</a> (const char *title,
const char *reason,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a> *parent);
void <a class="link" href="totem-Interface.html#totem-interface-error-blocking" title="totem_interface_error_blocking ()">totem_interface_error_blocking</a> (const char *title,
const char *reason,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a> *parent);
void <a class="link" href="totem-Interface.html#totem-interface-error-with-link" title="totem_interface_error_with_link ()">totem_interface_error_with_link</a> (const char *title,
const char *reason,
const char *uri,
const char *label,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a> *parent,
<a class="link" href="TotemObject.html#Totem" title="Totem">Totem</a> *totem);
</pre>
</div>
<div class="refsect1" title="Description">
<a name="totem-Interface.description"></a><h2>Description</h2>
<p>
A collection of interface utility functions, for loading interfaces and displaying errors.</p>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="totem-Interface.details"></a><h2>Details</h2>
<div class="refsect2" title="totem_interface_error ()">
<a name="totem-interface-error"></a><h3>totem_interface_error ()</h3>
<pre class="programlisting">void totem_interface_error (const char *title,
const char *reason,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a> *parent);</pre>
<p>
Display a modal error dialogue with <em class="parameter"><code>title</code></em> as its primary error text, and <em class="parameter"><code>reason</code></em>
as its secondary text.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td> the error title
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>reason</code></em> :</span></p></td>
<td> the error reason (secondary text)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td> the error dialogue's parent <a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
><span class="type">GtkWindow</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="totem_interface_error_blocking ()">
<a name="totem-interface-error-blocking"></a><h3>totem_interface_error_blocking ()</h3>
<pre class="programlisting">void totem_interface_error_blocking (const char *title,
const char *reason,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a> *parent);</pre>
<p>
Display a modal error dialogue like <a class="link" href="totem-Interface.html#totem-interface-error" title="totem_interface_error ()"><code class="function">totem_interface_error()</code></a> which blocks until the user has
dismissed it.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td> the error title
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>reason</code></em> :</span></p></td>
<td> the error reason (secondary text)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td> the error dialogue's parent <a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
><span class="type">GtkWindow</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="totem_interface_error_with_link ()">
<a name="totem-interface-error-with-link"></a><h3>totem_interface_error_with_link ()</h3>
<pre class="programlisting">void totem_interface_error_with_link (const char *title,
const char *reason,
const char *uri,
const char *label,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a> *parent,
<a class="link" href="TotemObject.html#Totem" title="Totem">Totem</a> *totem);</pre>
<p>
Display a modal error dialogue like <a class="link" href="totem-Interface.html#totem-interface-error" title="totem_interface_error ()"><code class="function">totem_interface_error()</code></a>,
but add a button which will open <em class="parameter"><code>uri</code></em> in a browser window.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td> the error title
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>reason</code></em> :</span></p></td>
<td> the error reason (secondary text)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td> the URI to open
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td> a label for the URI's button, or <code class="literal">NULL</code> to use <em class="parameter"><code>uri</code></em> as the label
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td> the error dialogue's parent <a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
><span class="type">GtkWindow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>totem</code></em> :</span></p></td>
<td> a <a class="link" href="TotemObject.html" title="TotemObject"><span class="type">TotemObject</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
</body>
</html>
|