/usr/share/gtk-doc/html/exo-1/exo-Extensions-to-Gtk.html is in libexo-1-dev 0.10.7-1.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Extensions to Gtk+: Exo Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Exo Reference Manual">
<link rel="up" href="exo-extensions.html" title="Part VI. Extensions to existing frameworks">
<link rel="prev" href="exo-Extensions-to-GObject.html" title="Extensions to GObject">
<link rel="next" href="exo-miscelleanous.html" title="Part VII. Miscelleanous">
<meta name="generator" content="GTK-Doc V1.24 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#exo-Extensions-to-Gtk.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="exo-extensions.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="exo-Extensions-to-GObject.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="exo-miscelleanous.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="exo-Extensions-to-Gtk"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="exo-Extensions-to-Gtk.top_of_page"></a>Extensions to Gtk+</span></h2>
<p>Extensions to Gtk+ — Miscelleanous extensions to the Gtk+ library</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="exo-Extensions-to-Gtk.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="exo-Extensions-to-Gtk.html#exo-gtk-object-destroy-later" title="exo_gtk_object_destroy_later ()">exo_gtk_object_destroy_later</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="exo-Extensions-to-Gtk.html#exo-gtk-file-chooser-add-thumbnail-preview" title="exo_gtk_file_chooser_add_thumbnail_preview ()">exo_gtk_file_chooser_add_thumbnail_preview</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="exo-Extensions-to-Gtk.html#exo-gtk-url-about-dialog-hook" title="exo_gtk_url_about_dialog_hook ()">exo_gtk_url_about_dialog_hook</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="exo-Extensions-to-Gtk.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include <exo/exo.h>
</pre>
</div>
<div class="refsect1">
<a name="exo-Extensions-to-Gtk.description"></a><h2>Description</h2>
<p>Various additional functions to the core API provided by the Gtk+ library.</p>
<p>For example, <a class="link" href="exo-Extensions-to-Gtk.html#exo-gtk-file-chooser-add-thumbnail-preview" title="exo_gtk_file_chooser_add_thumbnail_preview ()"><code class="function">exo_gtk_file_chooser_add_thumbnail_preview()</code></a> is a
convenience method to add a thumbnail based preview widget to a
<a href="http://developer.gnome.org/gtk2/GtkFileChooser.html"><span class="type">GtkFileChooser</span></a>, which will display a preview of the selected file if
either a thumbnail is available or a thumbnail could be generated using
the GdkPixbuf library.</p>
</div>
<div class="refsect1">
<a name="exo-Extensions-to-Gtk.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="exo-gtk-object-destroy-later"></a><h3>exo_gtk_object_destroy_later ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
exo_gtk_object_destroy_later (<em class="parameter"><code><span class="type">GtkObject</span> *object</code></em>);</pre>
<p>Schedules an idle function to destroy the specified <em class="parameter"><code>object</code></em>
when the application enters the main loop the next time.</p>
<div class="refsect3">
<a name="id-1.7.5.6.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>a <span class="type">GtkObject</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="exo-gtk-file-chooser-add-thumbnail-preview"></a><h3>exo_gtk_file_chooser_add_thumbnail_preview ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
exo_gtk_file_chooser_add_thumbnail_preview
(<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkFileChooser.html"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
<p>This is a convenience function that adds a preview widget to the <em class="parameter"><code>chooser</code></em>
,
which displays thumbnails for the selected filenames using the thumbnail
database. The preview widget is also able to generate thumbnails for all
image formats supported by <span class="type">GdkPixbuf</span>.</p>
<p>Use this function whenever you display a <a href="http://developer.gnome.org/gtk2/GtkFileChooser.html"><span class="type">GtkFileChooser</span></a> to ask the user
to select an image file from the file system.</p>
<p>The preview widget also supports URIs other than file:-URIs to a certain
degree, but this support is rather limited currently, so you may want to
use <a href="http://developer.gnome.org/gtk2/GtkFileChooser.html#gtk-file-chooser-set-local-only"><code class="function">gtk_file_chooser_set_local_only()</code></a> to ensure that the user can only
select files from the local file system.</p>
<p>When <em class="parameter"><code>chooser</code></em>
is configured to select multiple image files - using the
<a href="http://developer.gnome.org/gtk2/GtkFileChooser.html#gtk-file-chooser-set-select-multiple"><code class="function">gtk_file_chooser_set_select_multiple()</code></a> method - the behaviour of the
preview widget is currently undefined, in that it is not defined for
which of the selected files the preview will be displayed.</p>
<div class="refsect3">
<a name="id-1.7.5.6.3.8"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>chooser</p></td>
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkFileChooser.html"><span class="type">GtkFileChooser</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 0.3.1.9</p>
</div>
<hr>
<div class="refsect2">
<a name="exo-gtk-url-about-dialog-hook"></a><h3>exo_gtk_url_about_dialog_hook ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
exo_gtk_url_about_dialog_hook (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkAboutDialog.html"><span class="type">GtkAboutDialog</span></a> *about_dialog</code></em>,
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *link</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>This is a convenience function, which can be registered with <a href="http://developer.gnome.org/gtk2/GtkAboutDialog.html"><span class="type">GtkAboutDialog</span></a>,
to open links clicked by the user in <a href="http://developer.gnome.org/gtk2/GtkAboutDialog.html"><span class="type">GtkAboutDialog</span></a>s.</p>
<p>All you need to do is to register this hook with <code class="function">gtk_about_dialog_set_url_hook()</code>
and <code class="function">gtk_about_dialog_set_email_hook()</code>. This can be done prior to calling
<a href="http://developer.gnome.org/gtk2/GtkAboutDialog.html#gtk-show-about-dialog"><code class="function">gtk_show_about_dialog()</code></a>, for example:</p>
<div class="informalexample"><pre class="programlisting">
static void show_about_dialog (void)
{
#if !GTK_CHECK_VERSION (2, 18, 0)
gtk_about_dialog_set_email_hook (exo_gtk_url_about_dialog_hook, NULL, NULL);
gtk_about_dialog_set_url_hook (exo_gtk_url_about_dialog_hook, NULL, NULL);
#endif
gtk_show_about_dialog (.....);
}
</pre></div>
<p>This function is not needed when you use Gtk 2.18 or later, because from
that version this is implemented by default.</p>
<div class="refsect3">
<a name="id-1.7.5.6.4.8"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>about_dialog</p></td>
<td class="parameter_description"><p>the <a href="http://developer.gnome.org/gtk2/GtkAboutDialog.html"><span class="type">GtkAboutDialog</span></a> in which the user activated a link.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>address</p></td>
<td class="parameter_description"><p>the link, mail or web address, to open.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data that was passed when the function was
registered with <code class="function">gtk_about_dialog_set_email_hook()</code>
or <code class="function">gtk_about_dialog_set_url_hook()</code>. This is currently
unused within the context of this function, so you
can safely pass <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> when registering this hook
with <a href="http://developer.gnome.org/gtk2/GtkAboutDialog.html"><span class="type">GtkAboutDialog</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.5.0</p>
</div>
</div>
<div class="refsect1">
<a name="exo-Extensions-to-Gtk.other_details"></a><h2>Types and Values</h2>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>
|