/usr/share/gtk-doc/html/exo-1/exo-Extensions-to-Gtk.html is in libexo-1-dev 0.6.2-4.
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 | <!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+</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.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.17 (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="exo-Extensions-to-GObject.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="exo-extensions.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">Exo Reference Manual</th>
<td><a accesskey="n" href="exo-miscelleanous.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#exo-Extensions-to-Gtk.synopsis" class="shortcut">Top</a>
|
<a href="#exo-Extensions-to-Gtk.description" class="shortcut">Description</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 valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="exo-Extensions-to-Gtk.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <exo/exo.h>
<span class="returnvalue">void</span> <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> (<em class="parameter"><code><span class="type">GtkObject</span> *object</code></em>);
<span class="returnvalue">void</span> <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>
(<em class="parameter"><code><span class="type">GtkFileChooser</span> *chooser</code></em>);
<span class="returnvalue">void</span> <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> (<em class="parameter"><code><span class="type">GtkAboutDialog</span> *about_dialog</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *link</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
</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
<span class="type">GtkFileChooser</span>, 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.details"></a><h2>Details</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="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <span class="type">GtkObject</span>.</td>
</tr></tbody>
</table></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><span class="type">GtkFileChooser</span> *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 <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.
</p>
<p>
Use this function whenever you display a <span class="type">GtkFileChooser</span> 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 <code class="function">gtk_file_chooser_set_local_only()</code> 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
<code class="function">gtk_file_chooser_set_select_multiple()</code> 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="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>a <span class="type">GtkFileChooser</span>.</td>
</tr></tbody>
</table></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><span class="type">GtkAboutDialog</span> *about_dialog</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *link</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
This is a convenience function, which can be registered with <span class="type">GtkAboutDialog</span>,
to open links clicked by the user in <span class="type">GtkAboutDialog</span>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
<code class="function">gtk_show_about_dialog()</code>, for example:
</p>
<p>
</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>
</p>
<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="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>about_dialog</code></em> :</span></p></td>
<td>the <span class="type">GtkAboutDialog</span> in which the user activated a link.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>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 <code class="literal">NULL</code> when registering this hook
with <span class="type">GtkAboutDialog</span>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.5.0</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.17</div>
</body>
</html>
|