New upstream version 3.24.14
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="RecentDocuments.html" title="Recently Used Documents">
|
||||
<link rel="prev" href="RecentDocuments.html" title="Recently Used Documents">
|
||||
<link rel="next" href="GtkRecentChooser.html" title="GtkRecentChooser">
|
||||
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.32.1 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -38,8 +38,8 @@
|
||||
<a name="GtkRecentManager.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
<col width="150px" class="functions_proto_type">
|
||||
<col class="functions_proto_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -84,7 +84,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="returnvalue">GtkRecentInfo</span></a> *
|
||||
<a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="returnvalue">GtkRecentInfo</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkRecentManager.html#gtk-recent-manager-lookup-item" title="gtk_recent_manager_lookup_item ()">gtk_recent_manager_lookup_item</a> <span class="c_punctuation">()</span>
|
||||
@ -124,7 +124,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="returnvalue">GtkRecentInfo</span></a> *
|
||||
<a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="returnvalue">GtkRecentInfo</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkRecentManager.html#gtk-recent-info-ref" title="gtk_recent_info_ref ()">gtk_recent_info_ref</a> <span class="c_punctuation">()</span>
|
||||
@ -334,7 +334,7 @@
|
||||
<td class="property_type">
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkRecentManager.html#GtkRecentManager--filename" title="The “filename” property">filename</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
@ -348,9 +348,9 @@
|
||||
<a name="GtkRecentManager.signals"></a><h2>Signals</h2>
|
||||
<div class="informaltable"><table class="informaltable" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="signals_return">
|
||||
<col width="300px" class="signals_name">
|
||||
<col width="200px" class="signals_flags">
|
||||
<col width="150px" class="signal_proto_type">
|
||||
<col width="300px" class="signal_proto_name">
|
||||
<col width="200px" class="signal_proto_flags">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
@ -363,29 +363,29 @@
|
||||
<a name="GtkRecentManager.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
<col width="150px" class="other_proto_type">
|
||||
<col class="other_proto_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="GtkRecentManager.html#GtkRecentManager-struct" title="struct GtkRecentManager">GtkRecentManager</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentManager-struct">GtkRecentManager</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword"> </td>
|
||||
<td class="function_name"><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo">GtkRecentInfo</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo">GtkRecentInfo</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="GtkRecentManager.html#GtkRecentData" title="struct GtkRecentData">GtkRecentData</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentData">GtkRecentData</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="GtkRecentManager.html#GTK-RECENT-MANAGER-ERROR:CAPS" title="GTK_RECENT_MANAGER_ERROR">GTK_RECENT_MANAGER_ERROR</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GTK-RECENT-MANAGER-ERROR:CAPS">GTK_RECENT_MANAGER_ERROR</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">enum</td>
|
||||
<td class="function_name"><a class="link" href="GtkRecentManager.html#GtkRecentManagerError" title="enum GtkRecentManagerError">GtkRecentManagerError</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentManagerError">GtkRecentManagerError</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -424,10 +424,10 @@ it is more efficient to use the default manager created by GTK+.</p>
|
||||
2
|
||||
3
|
||||
4</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkRecentManager</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">manager</span><span class="symbol">;</span>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="n">GtkRecentManager</span> <span class="o">*</span><span class="n">manager</span><span class="p">;</span>
|
||||
|
||||
<span class="normal">manager </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-get-default">gtk_recent_manager_get_default</a></span><span class="normal"> </span><span class="symbol">();</span>
|
||||
<span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-add-item">gtk_recent_manager_add_item</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span><span class="normal"> file_uri</span><span class="symbol">);</span></pre></td>
|
||||
<span class="n">manager</span> <span class="o">=</span> <span class="n">gtk_recent_manager_get_default</span> <span class="p">();</span>
|
||||
<span class="n">gtk_recent_manager_add_item</span> <span class="p">(</span><span class="n">manager</span><span class="p">,</span> <span class="n">file_uri</span><span class="p">);</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -458,22 +458,22 @@ given its URI requires calling <a class="link" href="GtkRecentManager.html#gtk-r
|
||||
14
|
||||
15
|
||||
16</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkRecentManager</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">manager</span><span class="symbol">;</span>
|
||||
<span class="usertype">GtkRecentInfo</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">info</span><span class="symbol">;</span>
|
||||
<span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> NULL</span><span class="symbol">;</span>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="n">GtkRecentManager</span> <span class="o">*</span><span class="n">manager</span><span class="p">;</span>
|
||||
<span class="n">GtkRecentInfo</span> <span class="o">*</span><span class="n">info</span><span class="p">;</span>
|
||||
<span class="n">GError</span> <span class="o">*</span><span class="n">error</span> <span class="o">=</span> <span class="nb">NULL</span><span class="p">;</span>
|
||||
|
||||
<span class="normal">manager </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-get-default">gtk_recent_manager_get_default</a></span><span class="normal"> </span><span class="symbol">();</span>
|
||||
<span class="normal">info </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-lookup-item">gtk_recent_manager_lookup_item</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span><span class="normal"> file_uri</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
||||
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">)</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="function">g_warning</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Could not find the file: %s"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function">g_error_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="cbracket">}</span>
|
||||
<span class="keyword">else</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="comment">// Use the info object</span>
|
||||
<span class="normal"> </span><span class="function"><a href="GtkRecentManager.html#gtk-recent-info-unref">gtk_recent_info_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">info</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
||||
<span class="n">manager</span> <span class="o">=</span> <span class="n">gtk_recent_manager_get_default</span> <span class="p">();</span>
|
||||
<span class="n">info</span> <span class="o">=</span> <span class="n">gtk_recent_manager_lookup_item</span> <span class="p">(</span><span class="n">manager</span><span class="p">,</span> <span class="n">file_uri</span><span class="p">,</span> <span class="o">&</span><span class="n">error</span><span class="p">);</span>
|
||||
<span class="k">if</span> <span class="p">(</span><span class="n">error</span><span class="p">)</span>
|
||||
<span class="p">{</span>
|
||||
<span class="n">g_warning</span> <span class="p">(</span><span class="s">"Could not find the file: %s"</span><span class="p">,</span> <span class="n">error</span><span class="o">-></span><span class="n">message</span><span class="p">);</span>
|
||||
<span class="n">g_error_free</span> <span class="p">(</span><span class="n">error</span><span class="p">);</span>
|
||||
<span class="p">}</span>
|
||||
<span class="k">else</span>
|
||||
<span class="p">{</span>
|
||||
<span class="c1">// Use the info object</span>
|
||||
<span class="n">gtk_recent_info_unref</span> <span class="p">(</span><span class="n">info</span><span class="p">);</span>
|
||||
<span class="p">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -572,7 +572,7 @@ to the recently used resources list</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_recent_manager_add_full (<em class="parameter"><code><a class="link" href="GtkRecentManager.html" title="GtkRecentManager"><span class="type">GtkRecentManager</span></a> *manager</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>,
|
||||
<em class="parameter"><code>const <a class="link" href="GtkRecentManager.html#GtkRecentData" title="struct GtkRecentData"><span class="type">GtkRecentData</span></a> *recent_data</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentData"><span class="type">GtkRecentData</span></a> *recent_data</code></em>);</pre>
|
||||
<p>Adds a new resource, pointed by <em class="parameter"><code>uri</code></em>
|
||||
, into the recently used
|
||||
resources list, using the metadata specified inside the
|
||||
@ -673,7 +673,7 @@ removed by the recently used resources list, and <code class="literal">FALSE</co
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-manager-lookup-item"></a><h3>gtk_recent_manager_lookup_item ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="returnvalue">GtkRecentInfo</span></a> *
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="returnvalue">GtkRecentInfo</span></a> *
|
||||
gtk_recent_manager_lookup_item (<em class="parameter"><code><a class="link" href="GtkRecentManager.html" title="GtkRecentManager"><span class="type">GtkRecentManager</span></a> *manager</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>,
|
||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||
@ -832,7 +832,7 @@ gtk_recent_manager_get_items (<em class="parameter"><code><a class="link" href="
|
||||
<div class="refsect3">
|
||||
<a name="gtk-recent-manager-get-items.returns"></a><h4>Returns</h4>
|
||||
<p>a list of
|
||||
newly allocated <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> objects. Use
|
||||
newly allocated <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> objects. Use
|
||||
<a class="link" href="GtkRecentManager.html#gtk-recent-info-unref" title="gtk_recent_info_unref ()"><code class="function">gtk_recent_info_unref()</code></a> on each item inside the list, and then
|
||||
free the list itself using <code class="function">g_list_free()</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkRecentInfo][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
@ -878,8 +878,8 @@ recently used resources list</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-ref"></a><h3>gtk_recent_info_ref ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="returnvalue">GtkRecentInfo</span></a> *
|
||||
gtk_recent_info_ref (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="returnvalue">GtkRecentInfo</span></a> *
|
||||
gtk_recent_info_ref (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Increases the reference count of <em class="parameter"><code>recent_info</code></em>
|
||||
by one.</p>
|
||||
<div class="refsect3">
|
||||
@ -892,7 +892,7 @@ gtk_recent_info_ref (<em class="parameter"><code><a class="link" href="GtkRecent
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -908,7 +908,7 @@ increased by one</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-unref"></a><h3>gtk_recent_info_unref ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_recent_info_unref (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_unref (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Decreases the reference count of <em class="parameter"><code>info</code></em>
|
||||
by one. If the reference
|
||||
count reaches zero, <em class="parameter"><code>info</code></em>
|
||||
@ -923,7 +923,7 @@ count reaches zero, <em class="parameter"><code>info</code></em>
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -934,7 +934,7 @@ count reaches zero, <em class="parameter"><code>info</code></em>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-uri"></a><h3>gtk_recent_info_get_uri ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_recent_info_get_uri (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_get_uri (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Gets the URI of the resource.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-recent-info-get-uri.parameters"></a><h4>Parameters</h4>
|
||||
@ -946,7 +946,7 @@ gtk_recent_info_get_uri (<em class="parameter"><code><a class="link" href="GtkRe
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -962,7 +962,7 @@ owned by the recent manager, and should not be freed.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-display-name"></a><h3>gtk_recent_info_get_display_name ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_recent_info_get_display_name (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_get_display_name (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Gets the name of the resource. If none has been defined, the basename
|
||||
of the resource is obtained.</p>
|
||||
<div class="refsect3">
|
||||
@ -975,7 +975,7 @@ of the resource is obtained.</p>
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -991,7 +991,7 @@ is owned by the recent manager, and should not be freed.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-description"></a><h3>gtk_recent_info_get_description ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_recent_info_get_description (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_get_description (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Gets the (short) description of the resource.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-recent-info-get-description.parameters"></a><h4>Parameters</h4>
|
||||
@ -1003,7 +1003,7 @@ gtk_recent_info_get_description (<em class="parameter"><code><a class="link" hre
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1019,7 +1019,7 @@ is owned by the recent manager, and should not be freed.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-mime-type"></a><h3>gtk_recent_info_get_mime_type ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_recent_info_get_mime_type (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_get_mime_type (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Gets the MIME type of the resource.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-recent-info-get-mime-type.parameters"></a><h4>Parameters</h4>
|
||||
@ -1031,7 +1031,7 @@ gtk_recent_info_get_mime_type (<em class="parameter"><code><a class="link" href=
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1047,7 +1047,7 @@ is owned by the recent manager, and should not be freed.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-added"></a><h3>gtk_recent_info_get_added ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">time_t</span>
|
||||
gtk_recent_info_get_added (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_get_added (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Gets the timestamp (seconds from system’s Epoch) when the resource
|
||||
was added to the recently used resources list.</p>
|
||||
<div class="refsect3">
|
||||
@ -1060,7 +1060,7 @@ was added to the recently used resources list.</p>
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1076,7 +1076,7 @@ the resource was added to the list, or -1 on failure.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-modified"></a><h3>gtk_recent_info_get_modified ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">time_t</span>
|
||||
gtk_recent_info_get_modified (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_get_modified (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Gets the timestamp (seconds from system’s Epoch) when the meta-data
|
||||
for the resource was last modified.</p>
|
||||
<div class="refsect3">
|
||||
@ -1089,7 +1089,7 @@ for the resource was last modified.</p>
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1105,7 +1105,7 @@ the resource was last modified, or -1 on failure.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-visited"></a><h3>gtk_recent_info_get_visited ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">time_t</span>
|
||||
gtk_recent_info_get_visited (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_get_visited (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Gets the timestamp (seconds from system’s Epoch) when the meta-data
|
||||
for the resource was last visited.</p>
|
||||
<div class="refsect3">
|
||||
@ -1118,7 +1118,7 @@ for the resource was last visited.</p>
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1134,7 +1134,7 @@ the resource was last visited, or -1 on failure.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-private-hint"></a><h3>gtk_recent_info_get_private_hint ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_recent_info_get_private_hint (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_get_private_hint (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Gets the value of the “private” flag. Resources in the recently used
|
||||
list that have this flag set to <code class="literal">TRUE</code> should only be displayed by the
|
||||
applications that have registered them.</p>
|
||||
@ -1148,7 +1148,7 @@ applications that have registered them.</p>
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1163,7 +1163,7 @@ applications that have registered them.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-application-info"></a><h3>gtk_recent_info_get_application_info ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_recent_info_get_application_info (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
gtk_recent_info_get_application_info (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *app_name</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> **app_exec</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> *count</code></em>,
|
||||
@ -1184,7 +1184,7 @@ storage specification, they will be expanded.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1218,7 +1218,7 @@ for this application. </p></td>
|
||||
has registered this
|
||||
resource inside the recently used list, or <code class="literal">FALSE</code> otherwise. The
|
||||
<em class="parameter"><code>app_exec</code></em>
|
||||
string is owned by the <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> and should not be
|
||||
string is owned by the <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> and should not be
|
||||
modified or freed</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -1227,7 +1227,7 @@ modified or freed</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-applications"></a><h3>gtk_recent_info_get_applications ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> **
|
||||
gtk_recent_info_get_applications (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
gtk_recent_info_get_applications (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre>
|
||||
<p>Retrieves the list of applications that have registered this resource.</p>
|
||||
<div class="refsect3">
|
||||
@ -1241,7 +1241,7 @@ gtk_recent_info_get_applications (<em class="parameter"><code><a class="link" hr
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1264,7 +1264,7 @@ Use <code class="function">g_strfreev()</code> to free it. </p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-last-application"></a><h3>gtk_recent_info_last_application ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gtk_recent_info_last_application (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_last_application (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Gets the name of the last application that have registered the
|
||||
recently used resource represented by <em class="parameter"><code>info</code></em>
|
||||
.</p>
|
||||
@ -1278,7 +1278,7 @@ recently used resource represented by <em class="parameter"><code>info</code></e
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1293,7 +1293,7 @@ recently used resource represented by <em class="parameter"><code>info</code></e
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-has-application"></a><h3>gtk_recent_info_has_application ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_recent_info_has_application (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
gtk_recent_info_has_application (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *app_name</code></em>);</pre>
|
||||
<p>Checks whether an application registered this resource using <em class="parameter"><code>app_name</code></em>
|
||||
.</p>
|
||||
@ -1308,7 +1308,7 @@ gtk_recent_info_has_application (<em class="parameter"><code><a class="link" hre
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1331,10 +1331,10 @@ was found,
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-create-app-info"></a><h3>gtk_recent_info_create_app_info ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GAppInfo</span> *
|
||||
gtk_recent_info_create_app_info (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
gtk_recent_info_create_app_info (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *app_name</code></em>,
|
||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||
<p>Creates a <span class="type">GAppInfo</span> for the specified <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p>
|
||||
<p>Creates a <span class="type">GAppInfo</span> for the specified <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-recent-info-create-app-info.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1346,7 +1346,7 @@ gtk_recent_info_create_app_info (<em class="parameter"><code><a class="link" hre
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1369,7 +1369,7 @@ application for the MIME type is used. </p></td>
|
||||
<p>the newly created <span class="type">GAppInfo</span>, or <code class="literal">NULL</code>.
|
||||
In case of error, <em class="parameter"><code>error</code></em>
|
||||
will be set either with a
|
||||
<a class="link" href="GtkRecentManager.html#GTK-RECENT-MANAGER-ERROR:CAPS" title="GTK_RECENT_MANAGER_ERROR"><code class="literal">GTK_RECENT_MANAGER_ERROR</code></a> or a <code class="literal">G_IO_ERROR</code>. </p>
|
||||
<a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GTK-RECENT-MANAGER-ERROR:CAPS"><code class="literal">GTK_RECENT_MANAGER_ERROR</code></a> or a <code class="literal">G_IO_ERROR</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
@ -1377,7 +1377,7 @@ will be set either with a
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-groups"></a><h3>gtk_recent_info_get_groups ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> **
|
||||
gtk_recent_info_get_groups (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
gtk_recent_info_get_groups (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre>
|
||||
<p>Returns all groups registered for the recently used item <em class="parameter"><code>info</code></em>
|
||||
.
|
||||
@ -1394,7 +1394,7 @@ length might optionally be <code class="literal">NULL</code>.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1417,7 +1417,7 @@ Use <code class="function">g_strfreev()</code> to free it. </p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-has-group"></a><h3>gtk_recent_info_has_group ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_recent_info_has_group (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
gtk_recent_info_has_group (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *group_name</code></em>);</pre>
|
||||
<p>Checks whether <em class="parameter"><code>group_name</code></em>
|
||||
appears inside the groups
|
||||
@ -1434,7 +1434,7 @@ registered for the recently used item <em class="parameter"><code>info</code></e
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1455,7 +1455,7 @@ registered for the recently used item <em class="parameter"><code>info</code></e
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-icon"></a><h3>gtk_recent_info_get_icon ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
||||
gtk_recent_info_get_icon (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
gtk_recent_info_get_icon (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> size</code></em>);</pre>
|
||||
<p>Retrieves the icon of size <em class="parameter"><code>size</code></em>
|
||||
associated to the resource MIME type.</p>
|
||||
@ -1470,7 +1470,7 @@ gtk_recent_info_get_icon (<em class="parameter"><code><a class="link" href="GtkR
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1493,7 +1493,7 @@ or <code class="literal">NULL</code>. Use <code class="function">g_object_unref(
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-gicon"></a><h3>gtk_recent_info_get_gicon ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GIcon</span> *
|
||||
gtk_recent_info_get_gicon (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_get_gicon (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Retrieves the icon associated to the resource MIME type.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-recent-info-get-gicon.parameters"></a><h4>Parameters</h4>
|
||||
@ -1505,7 +1505,7 @@ gtk_recent_info_get_gicon (<em class="parameter"><code><a class="link" href="Gtk
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1522,7 +1522,7 @@ Use <code class="function">g_object_unref()</code> when finished using the icon.
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-short-name"></a><h3>gtk_recent_info_get_short_name ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gtk_recent_info_get_short_name (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_get_short_name (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Computes a valid UTF-8 string that can be used as the
|
||||
name of the item in a menu or list. For example, calling
|
||||
this function on an item that refers to
|
||||
@ -1537,7 +1537,7 @@ this function on an item that refers to
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>an <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>an <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1553,7 +1553,7 @@ free it with <code class="function">g_free()</code></p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-uri-display"></a><h3>gtk_recent_info_get_uri_display ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gtk_recent_info_get_uri_display (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_get_uri_display (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Gets a displayable version of the resource’s URI. If the resource
|
||||
is local, it returns a local path; if the resource is not local,
|
||||
it returns the UTF-8 encoded content of <a class="link" href="GtkRecentManager.html#gtk-recent-info-get-uri" title="gtk_recent_info_get_uri ()"><code class="function">gtk_recent_info_get_uri()</code></a>.</p>
|
||||
@ -1567,7 +1567,7 @@ it returns the UTF-8 encoded content of <a class="link" href="GtkRecentManager.h
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1584,7 +1584,7 @@ resource’s URI or <code class="literal">NULL</code>. Use <code class="function
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-get-age"></a><h3>gtk_recent_info_get_age ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gtk_recent_info_get_age (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_get_age (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Gets the number of days elapsed since the last update
|
||||
of the resource pointed by <em class="parameter"><code>info</code></em>
|
||||
.</p>
|
||||
@ -1598,7 +1598,7 @@ of the resource pointed by <em class="parameter"><code>info</code></em>
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1614,7 +1614,7 @@ elapsed since the time this resource was last modified</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-is-local"></a><h3>gtk_recent_info_is_local ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_recent_info_is_local (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_is_local (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Checks whether the resource is local or not by looking at the
|
||||
scheme of its URI.</p>
|
||||
<div class="refsect3">
|
||||
@ -1627,7 +1627,7 @@ scheme of its URI.</p>
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1642,7 +1642,7 @@ scheme of its URI.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-exists"></a><h3>gtk_recent_info_exists ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_recent_info_exists (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
gtk_recent_info_exists (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info</code></em>);</pre>
|
||||
<p>Checks whether the resource pointed by <em class="parameter"><code>info</code></em>
|
||||
still exists.
|
||||
At the moment this check is done only on resources pointing
|
||||
@ -1657,7 +1657,7 @@ to local files.</p>
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>info</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1672,8 +1672,8 @@ to local files.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-info-match"></a><h3>gtk_recent_info_match ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_recent_info_match (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info_a</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info_b</code></em>);</pre>
|
||||
gtk_recent_info_match (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info_a</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *info_b</code></em>);</pre>
|
||||
<p>Checks whether two <span class="type">GtkRecentInfo</span> point to the same
|
||||
resource.</p>
|
||||
<div class="refsect3">
|
||||
@ -1687,12 +1687,12 @@ resource.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>info_a</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>info_b</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1707,188 +1707,14 @@ resource, <code class="literal">FALSE</code> otherwise</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkRecentManager.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRecentManager-struct"></a><h3>struct GtkRecentManager</h3>
|
||||
<pre class="programlisting">struct GtkRecentManager;</pre>
|
||||
<p><a class="link" href="GtkRecentManager.html#GtkRecentManager-struct" title="struct GtkRecentManager"><span class="type">GtkRecentManager</span></a> contains only private data
|
||||
and should be accessed using the provided API.</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRecentInfo"></a><h3>GtkRecentInfo</h3>
|
||||
<pre class="programlisting">typedef struct _GtkRecentInfo GtkRecentInfo;</pre>
|
||||
<p><span class="type">GtkRecentInfo</span> contains private data only, and should
|
||||
be accessed using the provided API.</p>
|
||||
<p><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> constains all the meta-data
|
||||
associated with an entry in the recently used files list.</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRecentData"></a><h3>struct GtkRecentData</h3>
|
||||
<pre class="programlisting">struct GtkRecentData {
|
||||
gchar *display_name;
|
||||
gchar *description;
|
||||
|
||||
gchar *mime_type;
|
||||
|
||||
gchar *app_name;
|
||||
gchar *app_exec;
|
||||
|
||||
gchar **groups;
|
||||
|
||||
gboolean is_private;
|
||||
};
|
||||
</pre>
|
||||
<p>Meta-data to be passed to <a class="link" href="GtkRecentManager.html#gtk-recent-manager-add-full" title="gtk_recent_manager_add_full ()"><code class="function">gtk_recent_manager_add_full()</code></a> when
|
||||
registering a recently used resource.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkRecentData.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="struct_members_name">
|
||||
<col class="struct_members_description">
|
||||
<col width="200px" class="struct_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GtkRecentData.display-name"></a>display_name</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>a UTF-8 encoded string, containing the name of the recently
|
||||
used resource to be displayed, or <code class="literal">NULL</code>;</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GtkRecentData.description"></a>description</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>a UTF-8 encoded string, containing a short description of
|
||||
the resource, or <code class="literal">NULL</code>;</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GtkRecentData.mime-type"></a>mime_type</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the MIME type of the resource;</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GtkRecentData.app-name"></a>app_name</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the name of the application that is registering this recently
|
||||
used resource;</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GtkRecentData.app-exec"></a>app_exec</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>command line used to launch this resource; may contain the
|
||||
“%f” and “%u” escape characters which will be expanded
|
||||
to the resource file path and URI respectively when the command line
|
||||
is retrieved;</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><span class="type">gchar</span> **<em class="structfield"><code><a name="GtkRecentData.groups"></a>groups</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>a vector of strings containing
|
||||
groups names;. </p></td>
|
||||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><span class="type">gboolean</span> <em class="structfield"><code><a name="GtkRecentData.is-private"></a>is_private</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>whether this resource should be displayed only by the
|
||||
applications that have registered it or not.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GTK-RECENT-MANAGER-ERROR:CAPS"></a><h3>GTK_RECENT_MANAGER_ERROR</h3>
|
||||
<pre class="programlisting">#define GTK_RECENT_MANAGER_ERROR (gtk_recent_manager_error_quark ())
|
||||
</pre>
|
||||
<p>The <span class="type">GError</span> domain for <a class="link" href="GtkRecentManager.html" title="GtkRecentManager"><span class="type">GtkRecentManager</span></a> errors.</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRecentManagerError"></a><h3>enum GtkRecentManagerError</h3>
|
||||
<p>Error codes for <a class="link" href="GtkRecentManager.html" title="GtkRecentManager"><span class="type">GtkRecentManager</span></a> operations</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkRecentManagerError.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="enum_members_name">
|
||||
<col class="enum_members_description">
|
||||
<col width="200px" class="enum_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-RECENT-MANAGER-ERROR-NOT-FOUND:CAPS"></a>GTK_RECENT_MANAGER_ERROR_NOT_FOUND</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>the URI specified does not exists in
|
||||
the recently used resources list.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-RECENT-MANAGER-ERROR-INVALID-URI:CAPS"></a>GTK_RECENT_MANAGER_ERROR_INVALID_URI</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>the URI specified is not valid.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-RECENT-MANAGER-ERROR-INVALID-ENCODING:CAPS"></a>GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>the supplied string is not
|
||||
UTF-8 encoded.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-RECENT-MANAGER-ERROR-NOT-REGISTERED:CAPS"></a>GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>no application has registered
|
||||
the specified item.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-RECENT-MANAGER-ERROR-READ:CAPS"></a>GTK_RECENT_MANAGER_ERROR_READ</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>failure while reading the recently used
|
||||
resources file.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-RECENT-MANAGER-ERROR-WRITE:CAPS"></a>GTK_RECENT_MANAGER_ERROR_WRITE</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>failure while writing the recently used
|
||||
resources file.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-RECENT-MANAGER-ERROR-UNKNOWN:CAPS"></a>GTK_RECENT_MANAGER_ERROR_UNKNOWN</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>unspecified error.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkRecentManager.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRecentManager--filename"></a><h3>The <code class="literal">“filename”</code> property</h3>
|
||||
<pre class="programlisting"> “filename” <span class="type">gchar</span> *</pre>
|
||||
<p>The full path to the file to be used to store and read the
|
||||
recently used resources list</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Owner: GtkRecentManager</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Default value: NULL</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
@ -1897,6 +1723,7 @@ recently used resources list</p>
|
||||
<a name="GtkRecentManager--size"></a><h3>The <code class="literal">“size”</code> property</h3>
|
||||
<pre class="programlisting"> “size” <span class="type">gint</span></pre>
|
||||
<p>The size of the recently used resources list.</p>
|
||||
<p>Owner: GtkRecentManager</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= -1</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -1945,6 +1772,6 @@ by another application.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.29</div>
|
||||
<hr>Generated by GTK-Doc V1.32.1</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user