Imported Upstream version 2.8.16
This commit is contained in:
@ -2,13 +2,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GIMP Thumbnail Library Reference Manual: GimpThumbnail</title>
|
||||
<title>GimpThumbnail: GIMP Thumbnail Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="up" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
|
||||
<link rel="prev" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
|
||||
<link rel="next" href="libgimpthumb-GimpThumb-utils.html" title="GimpThumb-utils">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<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">
|
||||
@ -59,7 +59,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpThumbnail.html#gimp-thumbnail-set-filename" title="gimp_thumbnail_set_filename ()">gimp_thumbnail_set_filename</a> <span class="c_punctuation">()</span>
|
||||
@ -67,7 +67,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpThumbnail.html#gimp-thumbnail-set-from-thumb" title="gimp_thumbnail_set_from_thumb ()">gimp_thumbnail_set_from_thumb</a> <span class="c_punctuation">()</span>
|
||||
@ -107,7 +107,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-thumb" title="gimp_thumbnail_save_thumb ()">gimp_thumbnail_save_thumb</a> <span class="c_punctuation">()</span>
|
||||
@ -115,7 +115,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-thumb-local" title="gimp_thumbnail_save_thumb_local ()">gimp_thumbnail_save_thumb_local</a> <span class="c_punctuation">()</span>
|
||||
@ -123,7 +123,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-failure" title="gimp_thumbnail_save_failure ()">gimp_thumbnail_save_failure</a> <span class="c_punctuation">()</span>
|
||||
@ -147,7 +147,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpThumbnail.html#gimp-thumbnail-has-failed" title="gimp_thumbnail_has_failed ()">gimp_thumbnail_has_failed</a> <span class="c_punctuation">()</span>
|
||||
@ -166,28 +166,28 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint64</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GimpThumbnail.html#GimpThumbnail--image-filesize" title="The “image-filesize” property">image-filesize</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GimpThumbnail.html#GimpThumbnail--image-height" title="The “image-height” property">image-height</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<span class="type">gchar</span> *</td>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<td class="property_name"><a class="link" href="GimpThumbnail.html#GimpThumbnail--image-mimetype" title="The “image-mimetype” property">image-mimetype</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint64</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GimpThumbnail.html#GimpThumbnail--image-mtime" title="The “image-mtime” property">image-mtime</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GimpThumbnail.html#GimpThumbnail--image-num-layers" title="The “image-num-layers” property">image-num-layers</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -198,18 +198,18 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<span class="type">gchar</span> *</td>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<td class="property_name"><a class="link" href="GimpThumbnail.html#GimpThumbnail--image-type" title="The “image-type” property">image-type</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<span class="type">gchar</span> *</td>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<td class="property_name"><a class="link" href="GimpThumbnail.html#GimpThumbnail--image-uri" title="The “image-uri” property">image-uri</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GimpThumbnail.html#GimpThumbnail--image-width" title="The “image-width” property">image-width</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -236,7 +236,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpThumbnail.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> GObject
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
||||
<span class="lineart">╰──</span> GimpThumbnail
|
||||
</pre>
|
||||
</div>
|
||||
@ -254,7 +254,6 @@ gimp_thumbnail_new (<em class="parameter"><code><span class="type">void</span></
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.2.8.2.5"></a><h4>Returns</h4>
|
||||
<p> a newly allocated GimpThumbnail object</p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -262,7 +261,7 @@ gimp_thumbnail_new (<em class="parameter"><code><span class="type">void</span></
|
||||
<a name="gimp-thumbnail-set-uri"></a><h3>gimp_thumbnail_set_uri ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_thumbnail_set_uri (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
|
||||
<p>Sets the location of the image file associated with the <span class="type">thumbnail</span>.</p>
|
||||
<p>All informations stored in the <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> are reset.</p>
|
||||
<div class="refsect3">
|
||||
@ -291,10 +290,10 @@ gimp_thumbnail_set_uri (<em class="parameter"><code><a class="link" href="GimpTh
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumbnail-set-filename"></a><h3>gimp_thumbnail_set_filename ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gimp_thumbnail_set_filename (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
||||
<p>Sets the location of the image file associated with the <span class="type">thumbnail</span>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.2.8.4.5"></a><h4>Parameters</h4>
|
||||
@ -325,18 +324,17 @@ gimp_thumbnail_set_filename (<em class="parameter"><code><a class="link" href="G
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.2.8.4.6"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the filename was successfully set,
|
||||
<code class="literal">FALSE</code> otherwise</p>
|
||||
<p></p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the filename was successfully set,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumbnail-set-from-thumb"></a><h3>gimp_thumbnail_set_from_thumb ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gimp_thumbnail_set_from_thumb (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
||||
<p>This function tries to load the thumbnail file pointed to by
|
||||
<em class="parameter"><code>filename</code></em>
|
||||
and retrieves the URI of the original image file from
|
||||
@ -373,8 +371,7 @@ directory that contain a valid Thumb::URI tag.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.2.8.5.7"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the pixbuf could be loaded, <code class="literal">FALSE</code> otherwise</p>
|
||||
<p></p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the pixbuf could be loaded, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -403,7 +400,6 @@ information such as state, filesize and modification time.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.2.8.6.6"></a><h4>Returns</h4>
|
||||
<p> the image's <a class="link" href="libgimpthumb-GimpThumb-enums.html#GimpThumbState" title="enum GimpThumbState"><span class="type">GimpThumbState</span></a> after the update</p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -446,7 +442,6 @@ thumbnail pixbuf, use <a class="link" href="GimpThumbnail.html#gimp-thumbnail-ch
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.2.8.7.7"></a><h4>Returns</h4>
|
||||
<p> the thumbnail's <a class="link" href="libgimpthumb-GimpThumb-enums.html#GimpThumbState" title="enum GimpThumbState"><span class="type">GimpThumbState</span></a> after the update</p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -485,9 +480,8 @@ with the <em class="parameter"><code>thumbnail</code></em>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.2.8.8.6"></a><h4>Returns</h4>
|
||||
<p> the thumbnail's <a class="link" href="libgimpthumb-GimpThumb-enums.html#GimpThumbState" title="enum GimpThumbState"><span class="type">GimpThumbState</span></a> after the update</p>
|
||||
<p></p>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.2</p>
|
||||
<p class="since">Since: GIMP 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
@ -495,7 +489,7 @@ with the <em class="parameter"><code>thumbnail</code></em>
|
||||
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *
|
||||
gimp_thumbnail_load_thumb (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimpthumb-GimpThumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>,
|
||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
||||
<p>Attempts to load a thumbnail preview for the image associated with
|
||||
<em class="parameter"><code>thumbnail</code></em>
|
||||
. Before you use this function you need need to set an
|
||||
@ -538,18 +532,17 @@ In order to verify if the preview is uptodate, you should check the
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.2.8.9.7"></a><h4>Returns</h4>
|
||||
<p> a preview pixbuf or <code class="literal">NULL</code> if no thumbnail was found</p>
|
||||
<p></p>
|
||||
<p> a preview pixbuf or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no thumbnail was found</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumbnail-save-thumb"></a><h3>gimp_thumbnail_save_thumb ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gimp_thumbnail_save_thumb (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *software</code></em>,
|
||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *software</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
||||
<p>Saves a preview thumbnail for the image associated with <em class="parameter"><code>thumbnail</code></em>
|
||||
.
|
||||
to the global thumbnail repository.</p>
|
||||
@ -596,19 +589,18 @@ set in order to be stored with the preview image.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.2.8.10.8"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if a thumbnail was successfully written,
|
||||
<code class="literal">FALSE</code> otherwise</p>
|
||||
<p></p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a thumbnail was successfully written,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumbnail-save-thumb-local"></a><h3>gimp_thumbnail_save_thumb_local ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gimp_thumbnail_save_thumb_local (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *software</code></em>,
|
||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *software</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
||||
<p>Saves a preview thumbnail for the image associated with <em class="parameter"><code>thumbnail</code></em>
|
||||
|
||||
to the local thumbnail repository. Local thumbnails have been added
|
||||
@ -649,19 +641,18 @@ apply here as well.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.2.8.11.7"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if a thumbnail was successfully written,
|
||||
<code class="literal">FALSE</code> otherwise</p>
|
||||
<p></p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a thumbnail was successfully written,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.2</p>
|
||||
<p class="since">Since: GIMP 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumbnail-save-failure"></a><h3>gimp_thumbnail_save_failure ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gimp_thumbnail_save_failure (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *software</code></em>,
|
||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *software</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
||||
<p>Saves a failure thumbnail for the image associated with
|
||||
<em class="parameter"><code>thumbnail</code></em>
|
||||
. This is an empty pixbuf that indicates that an attempt
|
||||
@ -696,9 +687,8 @@ prevent the software from further attempts to create this thumbnail.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.2.8.12.6"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if a failure thumbnail was successfully written,
|
||||
<code class="literal">FALSE</code> otherwise</p>
|
||||
<p></p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a failure thumbnail was successfully written,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -723,7 +713,7 @@ used after a thumbnail has been successfully created.</p>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.2</p>
|
||||
<p class="since">Since: GIMP 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
@ -759,12 +749,12 @@ delete thumbnails.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.2</p>
|
||||
<p class="since">Since: GIMP 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumbnail-has-failed"></a><h3>gimp_thumbnail_has_failed ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gimp_thumbnail_has_failed (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>);</pre>
|
||||
<p>Checks if a valid failure thumbnail for the given thumbnail exists
|
||||
in the global thumbnail repository. This may be the case even if
|
||||
@ -790,10 +780,9 @@ valid failure thumbnail exists.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.2.8.15.7"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if a failure thumbnail exists or</p>
|
||||
<p></p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a failure thumbnail exists or</p>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.2</p>
|
||||
<p class="since">Since: GIMP 2.2</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -809,7 +798,7 @@ using object properties.</p>
|
||||
<a name="GimpThumbnail.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GimpThumbnail--image-filesize"></a><h3>The <code class="literal">“image-filesize”</code> property</h3>
|
||||
<pre class="programlisting"> “image-filesize” <span class="type">gint64</span></pre>
|
||||
<pre class="programlisting"> “image-filesize” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
|
||||
<p>Size of the image file in bytes.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
@ -818,7 +807,7 @@ using object properties.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpThumbnail--image-height"></a><h3>The <code class="literal">“image-height”</code> property</h3>
|
||||
<pre class="programlisting"> “image-height” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “image-height” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>Height of the image in pixels.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
@ -827,7 +816,7 @@ using object properties.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpThumbnail--image-mimetype"></a><h3>The <code class="literal">“image-mimetype”</code> property</h3>
|
||||
<pre class="programlisting"> “image-mimetype” <span class="type">gchar</span> *</pre>
|
||||
<pre class="programlisting"> “image-mimetype” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<p>Image mimetype.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -835,7 +824,7 @@ using object properties.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpThumbnail--image-mtime"></a><h3>The <code class="literal">“image-mtime”</code> property</h3>
|
||||
<pre class="programlisting"> “image-mtime” <span class="type">gint64</span></pre>
|
||||
<pre class="programlisting"> “image-mtime” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
|
||||
<p>Modification time of the image file in seconds since the Epoch.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -843,7 +832,7 @@ using object properties.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpThumbnail--image-num-layers"></a><h3>The <code class="literal">“image-num-layers”</code> property</h3>
|
||||
<pre class="programlisting"> “image-num-layers” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “image-num-layers” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>The number of layers in the image.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
@ -860,7 +849,7 @@ using object properties.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpThumbnail--image-type"></a><h3>The <code class="literal">“image-type”</code> property</h3>
|
||||
<pre class="programlisting"> “image-type” <span class="type">gchar</span> *</pre>
|
||||
<pre class="programlisting"> “image-type” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<p>String describing the type of the image format.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -868,7 +857,7 @@ using object properties.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpThumbnail--image-uri"></a><h3>The <code class="literal">“image-uri”</code> property</h3>
|
||||
<pre class="programlisting"> “image-uri” <span class="type">gchar</span> *</pre>
|
||||
<pre class="programlisting"> “image-uri” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<p>URI of the image file.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -876,7 +865,7 @@ using object properties.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpThumbnail--image-width"></a><h3>The <code class="literal">“image-width”</code> property</h3>
|
||||
<pre class="programlisting"> “image-width” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “image-width” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>Width of the image in pixels.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
@ -893,7 +882,6 @@ using object properties.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
@ -6,7 +6,7 @@
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="next" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<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">
|
||||
@ -15,7 +15,7 @@
|
||||
<div>
|
||||
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GIMP Thumbnail Library Reference Manual</p></th></tr></table></div>
|
||||
<div><p class="releaseinfo">
|
||||
for GIMP 2.8.14
|
||||
for GIMP 2.8.16
|
||||
|
||||
</p></div>
|
||||
</div>
|
||||
@ -45,7 +45,6 @@
|
||||
</dl></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
@ -54,8 +54,24 @@
|
||||
<ANCHOR id="libgimpthumb-GimpThumb-enums.functions_details" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#libgimpthumb-GimpThumb-enums.functions_details">
|
||||
<ANCHOR id="libgimpthumb-GimpThumb-enums.other_details" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#libgimpthumb-GimpThumb-enums.other_details">
|
||||
<ANCHOR id="GimpThumbFileType" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GimpThumbFileType">
|
||||
<ANCHOR id="GIMP-THUMB-FILE-TYPE-NONE:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-FILE-TYPE-NONE:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-FILE-TYPE-REGULAR:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-FILE-TYPE-REGULAR:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-FILE-TYPE-FOLDER:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-FILE-TYPE-FOLDER:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-FILE-TYPE-SPECIAL:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-FILE-TYPE-SPECIAL:CAPS">
|
||||
<ANCHOR id="GimpThumbSize" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GimpThumbSize">
|
||||
<ANCHOR id="GIMP-THUMB-SIZE-FAIL:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-SIZE-FAIL:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-SIZE-NORMAL:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-SIZE-NORMAL:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-SIZE-LARGE:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-SIZE-LARGE:CAPS">
|
||||
<ANCHOR id="GimpThumbState" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GimpThumbState">
|
||||
<ANCHOR id="GIMP-THUMB-STATE-UNKNOWN:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-UNKNOWN:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-STATE-REMOTE:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-REMOTE:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-STATE-FOLDER:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-FOLDER:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-STATE-SPECIAL:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-SPECIAL:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-STATE-NOT-FOUND:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-NOT-FOUND:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-STATE-EXISTS:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-EXISTS:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-STATE-OLD:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-OLD:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-STATE-FAILED:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-FAILED:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-STATE-OK:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-OK:CAPS">
|
||||
<ANCHOR id="libgimpthumb-GimpThumb-error" href="libgimpthumb/libgimpthumb-GimpThumb-error.html">
|
||||
<ANCHOR id="libgimpthumb-GimpThumb-error.functions" href="libgimpthumb/libgimpthumb-GimpThumb-error.html#libgimpthumb-GimpThumb-error.functions">
|
||||
<ANCHOR id="libgimpthumb-GimpThumb-error.other" href="libgimpthumb/libgimpthumb-GimpThumb-error.html#libgimpthumb-GimpThumb-error.other">
|
||||
@ -65,3 +81,6 @@
|
||||
<ANCHOR id="gimp-thumb-error-quark" href="libgimpthumb/libgimpthumb-GimpThumb-error.html#gimp-thumb-error-quark">
|
||||
<ANCHOR id="libgimpthumb-GimpThumb-error.other_details" href="libgimpthumb/libgimpthumb-GimpThumb-error.html#libgimpthumb-GimpThumb-error.other_details">
|
||||
<ANCHOR id="GimpThumbError" href="libgimpthumb/libgimpthumb-GimpThumb-error.html#GimpThumbError">
|
||||
<ANCHOR id="GIMP-THUMB-ERROR-OPEN:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-error.html#GIMP-THUMB-ERROR-OPEN:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-ERROR-OPEN-ENOENT:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-error.html#GIMP-THUMB-ERROR-OPEN-ENOENT:CAPS">
|
||||
<ANCHOR id="GIMP-THUMB-ERROR-MKDIR:CAPS" href="libgimpthumb/libgimpthumb-GimpThumb-error.html#GIMP-THUMB-ERROR-MKDIR:CAPS">
|
||||
|
@ -2,13 +2,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GIMP Thumbnail Library Reference Manual: GimpThumb-enums</title>
|
||||
<title>GimpThumb-enums: GIMP Thumbnail Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="up" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
|
||||
<link rel="prev" href="libgimpthumb-GimpThumb-utils.html" title="GimpThumb-utils">
|
||||
<link rel="next" href="libgimpthumb-GimpThumb-error.html" title="GimpThumb-error">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<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">
|
||||
@ -60,6 +60,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgimpthumb-GimpThumb-enums.functions_details"></a><h2>Functions</h2>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgimpthumb-GimpThumb-enums.other_details"></a><h2>Types and Values</h2>
|
||||
@ -230,7 +231,6 @@ Standard.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
@ -2,13 +2,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GIMP Thumbnail Library Reference Manual: GimpThumb-error</title>
|
||||
<title>GimpThumb-error: GIMP Thumbnail Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="up" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
|
||||
<link rel="prev" href="libgimpthumb-GimpThumb-enums.html" title="GimpThumb-enums">
|
||||
<link rel="next" href="libgimpthumb-index.html" title="Index">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<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">
|
||||
@ -45,7 +45,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">GQuark</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimpthumb-GimpThumb-error.html#gimp-thumb-error-quark" title="gimp_thumb_error_quark ()">gimp_thumb_error_quark</a> <span class="c_punctuation">()</span>
|
||||
@ -82,13 +82,12 @@
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumb-error-quark"></a><h3>gimp_thumb_error_quark ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GQuark</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
|
||||
gimp_thumb_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<p>This function is never called directly. Use <a class="link" href="libgimpthumb-GimpThumb-error.html#GIMP-THUMB-ERROR:CAPS" title="GIMP_THUMB_ERROR"><code class="function">GIMP_THUMB_ERROR()</code></a> instead.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.5.6.3.5"></a><h4>Returns</h4>
|
||||
<p> the <span class="type">GQuark</span> that defines the GimpThumb error domain.</p>
|
||||
<p></p>
|
||||
<p> the <a href="https://developer.gnome.org/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> that defines the GimpThumb error domain.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -96,7 +95,7 @@ gimp_thumb_error_quark (<em class="parameter"><code><span class="type">void</spa
|
||||
<a name="libgimpthumb-GimpThumb-error.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GimpThumbError"></a><h3>enum GimpThumbError</h3>
|
||||
<p>These are the possible error codes used when a <span class="type">GError</span> is set by
|
||||
<p>These are the possible error codes used when a <a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> is set by
|
||||
libgimpthumb.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.5.7.2.4"></a><h4>Members</h4>
|
||||
@ -135,7 +134,6 @@ libgimpthumb.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
@ -2,13 +2,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GIMP Thumbnail Library Reference Manual: GimpThumb-utils</title>
|
||||
<title>GimpThumb-utils: GIMP Thumbnail Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="up" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
|
||||
<link rel="prev" href="GimpThumbnail.html" title="GimpThumbnail">
|
||||
<link rel="next" href="libgimpthumb-GimpThumb-enums.html" title="GimpThumb-enums">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<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">
|
||||
@ -41,7 +41,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimpthumb-GimpThumb-utils.html#gimp-thumb-init" title="gimp_thumb_init ()">gimp_thumb_init</a> <span class="c_punctuation">()</span>
|
||||
@ -49,7 +49,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gchar</span> *
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimpthumb-GimpThumb-utils.html#gimp-thumb-find-thumb" title="gimp_thumb_find_thumb ()">gimp_thumb_find_thumb</a> <span class="c_punctuation">()</span>
|
||||
@ -65,7 +65,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gchar</span> *
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimpthumb-GimpThumb-utils.html#gimp-thumb-name-from-uri" title="gimp_thumb_name_from_uri ()">gimp_thumb_name_from_uri</a> <span class="c_punctuation">()</span>
|
||||
@ -73,14 +73,14 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimpthumb-GimpThumb-utils.html#gimp-thumb-ensure-thumb-dir" title="gimp_thumb_ensure_thumb_dir ()">gimp_thumb_ensure_thumb_dir</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimpthumb-GimpThumb-utils.html#gimp-thumb-get-thumb-dir" title="gimp_thumb_get_thumb_dir ()">gimp_thumb_get_thumb_dir</a> <span class="c_punctuation">()</span>
|
||||
@ -96,7 +96,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gchar</span> *
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimpthumb-GimpThumb-utils.html#gimp-thumb-name-from-uri-local" title="gimp_thumb_name_from_uri_local ()">gimp_thumb_name_from_uri_local</a> <span class="c_punctuation">()</span>
|
||||
@ -104,7 +104,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimpthumb-GimpThumb-utils.html#gimp-thumb-ensure-thumb-dir-local" title="gimp_thumb_ensure_thumb_dir_local ()">gimp_thumb_ensure_thumb_dir_local</a> <span class="c_punctuation">()</span>
|
||||
@ -112,7 +112,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gchar</span> *
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimpthumb-GimpThumb-utils.html#gimp-thumb-get-thumb-dir-local" title="gimp_thumb_get_thumb_dir_local ()">gimp_thumb_get_thumb_dir_local</a> <span class="c_punctuation">()</span>
|
||||
@ -137,9 +137,9 @@
|
||||
<a name="libgimpthumb-GimpThumb-utils.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumb-init"></a><h3>gimp_thumb_init ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gimp_thumb_init (<em class="parameter"><code>const <span class="type">gchar</span> *creator</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *thumb_basedir</code></em>);</pre>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gimp_thumb_init (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *creator</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> *thumb_basedir</code></em>);</pre>
|
||||
<p>This function initializes the thumbnail system. It must be called
|
||||
before any other functions from libgimpthumb are used. You may call
|
||||
it more than once if you want to change the <em class="parameter"><code>thumb_basedir</code></em>
|
||||
@ -151,7 +151,7 @@ safe.</p>
|
||||
string must be 7bit ASCII and should contain the name
|
||||
of the software that creates the thumbnails. It is used to handle
|
||||
thumbnail creation failures. See the spec for more details.</p>
|
||||
<p>Usually you will pass <code class="literal">NULL</code> for <em class="parameter"><code>thumb_basedir</code></em>
|
||||
<p>Usually you will pass <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>thumb_basedir</code></em>
|
||||
. Thumbnails will
|
||||
then be stored in the user's personal thumbnail directory as
|
||||
defined in the spec. If you wish to use libgimpthumb to store
|
||||
@ -173,7 +173,7 @@ directory here.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>thumb_basedir</p></td>
|
||||
<td class="parameter_description"><p>an absolute path or <code class="literal">NULL</code> to use the default</p></td>
|
||||
<td class="parameter_description"><p>an absolute path or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -181,15 +181,14 @@ directory here.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.3.5.2.8"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the library was successfully initialized.</p>
|
||||
<p></p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the library was successfully initialized.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumb-find-thumb"></a><h3>gimp_thumb_find_thumb ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gimp_thumb_find_thumb (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>,
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gimp_thumb_find_thumb (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimpthumb-GimpThumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> *size</code></em>);</pre>
|
||||
<p>This function attempts to locate a thumbnail for the given
|
||||
<em class="parameter"><code>uri</code></em>
|
||||
@ -229,19 +228,18 @@ pointer to by <em class="parameter"><code>size</code></em>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.3.5.3.8"></a><h4>Returns</h4>
|
||||
<p> a newly allocated string in the encoding of the
|
||||
filesystem or <code class="literal">NULL</code> if no thumbnail for <em class="parameter"><code>uri</code></em>
|
||||
filesystem or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no thumbnail for <em class="parameter"><code>uri</code></em>
|
||||
was found</p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumb-file-test"></a><h3>gimp_thumb_file_test ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgimpthumb-GimpThumb-enums.html#GimpThumbFileType" title="enum GimpThumbFileType"><span class="returnvalue">GimpThumbFileType</span></a>
|
||||
gimp_thumb_file_test (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint64</span> *mtime</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint64</span> *size</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *err_no</code></em>);</pre>
|
||||
gimp_thumb_file_test (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> *mtime</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> *size</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *err_no</code></em>);</pre>
|
||||
<p>This is a convenience and portability wrapper around <code class="function">stat()</code>. It
|
||||
checks if the given <em class="parameter"><code>filename</code></em>
|
||||
exists and returns modification time
|
||||
@ -282,14 +280,13 @@ and file size in 64bit integer values.</p>
|
||||
<a name="id-1.2.3.5.4.6"></a><h4>Returns</h4>
|
||||
<p> The type of the file, or <a class="link" href="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-FILE-TYPE-NONE:CAPS"><span class="type">GIMP_THUMB_FILE_TYPE_NONE</span></a> if
|
||||
the file doesn't exist.</p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumb-name-from-uri"></a><h3>gimp_thumb_name_from_uri ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gimp_thumb_name_from_uri (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>,
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gimp_thumb_name_from_uri (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimpthumb-GimpThumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);</pre>
|
||||
<p>Creates the name of the thumbnail file of the specified <em class="parameter"><code>size</code></em>
|
||||
that
|
||||
@ -320,18 +317,17 @@ belongs to an image file located at the given <em class="parameter"><code>uri</c
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.3.5.5.6"></a><h4>Returns</h4>
|
||||
<p> a newly allocated filename in the encoding of the
|
||||
filesystem or <code class="literal">NULL</code> if <em class="parameter"><code>uri</code></em>
|
||||
filesystem or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>uri</code></em>
|
||||
points to the user's
|
||||
thumbnail repository.</p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumb-ensure-thumb-dir"></a><h3>gimp_thumb_ensure_thumb_dir ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gimp_thumb_ensure_thumb_dir (<em class="parameter"><code><a class="link" href="libgimpthumb-GimpThumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>,
|
||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
||||
<p>This function checks if the directory that is required to store
|
||||
thumbnails for a particular <em class="parameter"><code>size</code></em>
|
||||
exist and attempts to create it
|
||||
@ -363,15 +359,14 @@ do this for you.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.3.5.6.7"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> is the directory exists, <code class="literal">FALSE</code> if it could not
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is the directory exists, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it could not
|
||||
be created</p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumb-get-thumb-dir"></a><h3>gimp_thumb_get_thumb_dir ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gimp_thumb_get_thumb_dir (<em class="parameter"><code><a class="link" href="libgimpthumb-GimpThumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);</pre>
|
||||
<p>Retrieve the name of the thumbnail folder for a specific size. The
|
||||
returned pointer will become invalid if <a class="link" href="libgimpthumb-GimpThumb-utils.html#gimp-thumb-init" title="gimp_thumb_init ()"><code class="function">gimp_thumb_init()</code></a> is used
|
||||
@ -394,14 +389,13 @@ again. It must not be changed or freed.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.3.5.7.6"></a><h4>Returns</h4>
|
||||
<p> the thumbnail directory in the encoding of the filesystem</p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumbs-delete-for-uri"></a><h3>gimp_thumbs_delete_for_uri ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_thumbs_delete_for_uri (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre>
|
||||
gimp_thumbs_delete_for_uri (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
|
||||
<p>Deletes all thumbnails for the image file specified by <em class="parameter"><code>uri</code></em>
|
||||
from the
|
||||
user's thumbnail repository.</p>
|
||||
@ -420,13 +414,13 @@ user's thumbnail repository.</p>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.2</p>
|
||||
<p class="since">Since: GIMP 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumb-name-from-uri-local"></a><h3>gimp_thumb_name_from_uri_local ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gimp_thumb_name_from_uri_local (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>,
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gimp_thumb_name_from_uri_local (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimpthumb-GimpThumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);</pre>
|
||||
<p>Creates the name of a local thumbnail file of the specified <em class="parameter"><code>size</code></em>
|
||||
|
||||
@ -458,20 +452,19 @@ thumbnails have been introduced with version 0.7 of the spec.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.3.5.9.6"></a><h4>Returns</h4>
|
||||
<p> a newly allocated filename in the encoding of the
|
||||
filesystem or <code class="literal">NULL</code> if <em class="parameter"><code>uri</code></em>
|
||||
filesystem or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>uri</code></em>
|
||||
is a remote file or
|
||||
points to the user's thumbnail repository.</p>
|
||||
<p></p>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.2</p>
|
||||
<p class="since">Since: GIMP 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumb-ensure-thumb-dir-local"></a><h3>gimp_thumb_ensure_thumb_dir_local ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gimp_thumb_ensure_thumb_dir_local (<em class="parameter"><code>const <span class="type">gchar</span> *dirname</code></em>,
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gimp_thumb_ensure_thumb_dir_local (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dirname</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimpthumb-GimpThumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>,
|
||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
||||
<p>This function checks if the directory that is required to store
|
||||
local thumbnails for a particular <em class="parameter"><code>size</code></em>
|
||||
exist and attempts to
|
||||
@ -507,17 +500,16 @@ create it if necessary.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.3.5.10.7"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> is the directory exists, <code class="literal">FALSE</code> if it could not
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is the directory exists, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it could not
|
||||
be created</p>
|
||||
<p></p>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.2</p>
|
||||
<p class="since">Since: GIMP 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumb-get-thumb-dir-local"></a><h3>gimp_thumb_get_thumb_dir_local ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gimp_thumb_get_thumb_dir_local (<em class="parameter"><code>const <span class="type">gchar</span> *dirname</code></em>,
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gimp_thumb_get_thumb_dir_local (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dirname</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimpthumb-GimpThumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);</pre>
|
||||
<p>Retrieve the name of the local thumbnail folder for a specific
|
||||
size. Unlike <a class="link" href="libgimpthumb-GimpThumb-utils.html#gimp-thumb-get-thumb-dir" title="gimp_thumb_get_thumb_dir ()"><code class="function">gimp_thumb_get_thumb_dir()</code></a> the returned string is not
|
||||
@ -547,15 +539,14 @@ constant and should be free'd when it is not any longer needed.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.3.5.11.6"></a><h4>Returns</h4>
|
||||
<p> the thumbnail directory in the encoding of the filesystem</p>
|
||||
<p></p>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.2</p>
|
||||
<p class="since">Since: GIMP 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-thumbs-delete-for-uri-local"></a><h3>gimp_thumbs_delete_for_uri_local ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_thumbs_delete_for_uri_local (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre>
|
||||
gimp_thumbs_delete_for_uri_local (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
|
||||
<p>Deletes all thumbnails for the image file specified by <em class="parameter"><code>uri</code></em>
|
||||
from
|
||||
the local thumbnail repository.</p>
|
||||
@ -574,7 +565,7 @@ the local thumbnail repository.</p>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.2</p>
|
||||
<p class="since">Since: GIMP 2.2</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -582,7 +573,6 @@ the local thumbnail repository.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
@ -2,12 +2,12 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GIMP Thumbnail Library Reference Manual: Index of deprecated symbols</title>
|
||||
<title>Index of deprecated symbols: GIMP Thumbnail Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="up" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="prev" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<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">
|
||||
@ -24,7 +24,6 @@
|
||||
<div class="index"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
@ -2,13 +2,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GIMP Thumbnail Library Reference Manual: Index of new symbols in GIMP 2.2</title>
|
||||
<title>Index of new symbols in GIMP 2.2: GIMP Thumbnail Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="up" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="prev" href="libgimpthumb-index.html" title="Index">
|
||||
<link rel="next" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<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">
|
||||
@ -49,7 +49,6 @@
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
@ -2,13 +2,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GIMP Thumbnail Library Reference Manual: Index of new symbols in GIMP 2.4</title>
|
||||
<title>Index of new symbols in GIMP 2.4: GIMP Thumbnail Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="up" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="prev" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
|
||||
<link rel="next" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<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">
|
||||
@ -25,7 +25,6 @@
|
||||
<div class="index"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
@ -2,13 +2,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GIMP Thumbnail Library Reference Manual: Index of new symbols in GIMP 2.6</title>
|
||||
<title>Index of new symbols in GIMP 2.6: GIMP Thumbnail Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="up" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="prev" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
|
||||
<link rel="next" href="libgimpthumb-index-deprecated.html" title="Index of deprecated symbols">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<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">
|
||||
@ -25,7 +25,6 @@
|
||||
<div class="index"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
@ -2,13 +2,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GIMP Thumbnail Library Reference Manual: Index</title>
|
||||
<title>Index: GIMP Thumbnail Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="up" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="prev" href="libgimpthumb-GimpThumb-error.html" title="GimpThumb-error">
|
||||
<link rel="next" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<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">
|
||||
@ -113,7 +113,6 @@
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
|
||||
<book xmlns="http://www.devhelp.net/book" title="GIMP Thumbnail Library Reference Manual" link="index.html" author="" name="libgimpthumb" version="2" language="c">
|
||||
<chapters>
|
||||
<sub name="GIMP Thumbnail Library" link="libgimpthumb.html">
|
||||
@ -57,5 +56,24 @@
|
||||
<keyword type="macro" name="GIMP_THUMB_ERROR" link="libgimpthumb-GimpThumb-error.html#GIMP-THUMB-ERROR:CAPS"/>
|
||||
<keyword type="function" name="gimp_thumb_error_quark ()" link="libgimpthumb-GimpThumb-error.html#gimp-thumb-error-quark"/>
|
||||
<keyword type="enum" name="enum GimpThumbError" link="libgimpthumb-GimpThumb-error.html#GimpThumbError"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_FILE_TYPE_NONE" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-FILE-TYPE-NONE:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_FILE_TYPE_REGULAR" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-FILE-TYPE-REGULAR:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_FILE_TYPE_FOLDER" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-FILE-TYPE-FOLDER:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_FILE_TYPE_SPECIAL" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-FILE-TYPE-SPECIAL:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_SIZE_FAIL" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-SIZE-FAIL:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_SIZE_NORMAL" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-SIZE-NORMAL:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_SIZE_LARGE" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-SIZE-LARGE:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_STATE_UNKNOWN" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-UNKNOWN:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_STATE_REMOTE" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-REMOTE:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_STATE_FOLDER" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-FOLDER:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_STATE_SPECIAL" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-SPECIAL:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_STATE_NOT_FOUND" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-NOT-FOUND:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_STATE_EXISTS" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-EXISTS:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_STATE_OLD" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-OLD:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_STATE_FAILED" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-FAILED:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_STATE_OK" link="libgimpthumb-GimpThumb-enums.html#GIMP-THUMB-STATE-OK:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_ERROR_OPEN" link="libgimpthumb-GimpThumb-error.html#GIMP-THUMB-ERROR-OPEN:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_ERROR_OPEN_ENOENT" link="libgimpthumb-GimpThumb-error.html#GIMP-THUMB-ERROR-OPEN-ENOENT:CAPS"/>
|
||||
<keyword type="constant" name="GIMP_THUMB_ERROR_MKDIR" link="libgimpthumb-GimpThumb-error.html#GIMP-THUMB-ERROR-MKDIR:CAPS"/>
|
||||
</functions>
|
||||
</book>
|
||||
|
@ -2,13 +2,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GIMP Thumbnail Library Reference Manual: Part I. GIMP Thumbnail Library</title>
|
||||
<title>Part I. GIMP Thumbnail Library: GIMP Thumbnail Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="up" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="prev" href="index.html" title="GIMP Thumbnail Library Reference Manual">
|
||||
<link rel="next" href="GimpThumbnail.html" title="GimpThumbnail">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<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">
|
||||
@ -41,7 +41,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
@ -60,7 +60,7 @@ a:hover
|
||||
div.informaltable table
|
||||
{
|
||||
border-collapse: separate;
|
||||
border-spacing: 1em 0.5em;
|
||||
border-spacing: 1em 0.3em;
|
||||
border: none;
|
||||
}
|
||||
|
||||
@ -148,6 +148,8 @@ div.table table th
|
||||
h4
|
||||
{
|
||||
color: #555753;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
hr
|
||||
@ -166,17 +168,16 @@ dl.toc dt
|
||||
padding-bottom: 0.25em;
|
||||
}
|
||||
|
||||
dl.toc > dd > dl > dt
|
||||
dl.toc > dt
|
||||
{
|
||||
padding-top: 0.25em;
|
||||
padding-bottom: 0.25em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dl.toc > dt
|
||||
dl.toc > dl
|
||||
{
|
||||
padding-top: 1em;
|
||||
padding-bottom: 0.5em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.parameter
|
||||
@ -346,7 +347,9 @@ acronym,abbr
|
||||
}
|
||||
|
||||
@media screen {
|
||||
sup a.footnote
|
||||
/* these have a <sup> as a first child, but since there are no parent selectors
|
||||
* we can't use that. */
|
||||
a.footnote
|
||||
{
|
||||
position: relative;
|
||||
top: 0em ! important;
|
||||
|
Reference in New Issue
Block a user