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="GtkRecentManager.html" title="GtkRecentManager">
|
||||
<link rel="next" href="GtkRecentChooserDialog.html" title="GtkRecentChooserDialog">
|
||||
<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">
|
||||
@ -33,7 +33,7 @@
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="GtkRecentChooser.top_of_page"></a>GtkRecentChooser</span></h2>
|
||||
<p>GtkRecentChooser — Interface implemented by widgets displaying recently
|
||||
used files</p>
|
||||
used files</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
@ -41,8 +41,8 @@
|
||||
<a name="GtkRecentChooser.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>
|
||||
@ -167,7 +167,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="GtkRecentChooser.html#GtkRecentSortType" title="enum GtkRecentSortType"><span class="returnvalue">GtkRecentSortType</span></a>
|
||||
<span class="returnvalue">GtkRecentSortType</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkRecentChooser.html#gtk-recent-chooser-get-sort-type" title="gtk_recent_chooser_get_sort_type ()">gtk_recent_chooser_get_sort_type</a> <span class="c_punctuation">()</span>
|
||||
@ -207,7 +207,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="GtkRecentChooser.html#gtk-recent-chooser-get-current-item" title="gtk_recent_chooser_get_current_item ()">gtk_recent_chooser_get_current_item</a> <span class="c_punctuation">()</span>
|
||||
@ -333,7 +333,7 @@
|
||||
<td class="property_type">
|
||||
<a class="link" href="GtkRecentManager.html" title="GtkRecentManager"><span class="type">GtkRecentManager</span></a> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkRecentChooser.html#GtkRecentChooser--recent-manager" title="The “recent-manager” property">recent-manager</a></td>
|
||||
<td class="property_flags">Write / Construct Only</td>
|
||||
<td class="property_flags">Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
@ -361,7 +361,7 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a class="link" href="GtkRecentChooser.html#GtkRecentSortType" title="enum GtkRecentSortType"><span class="type">GtkRecentSortType</span></a></td>
|
||||
<td class="property_type"><span class="type">GtkRecentSortType</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkRecentChooser.html#GtkRecentChooser--sort-type" title="The “sort-type” property">sort-type</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -372,9 +372,9 @@
|
||||
<a name="GtkRecentChooser.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>
|
||||
@ -394,29 +394,29 @@
|
||||
<a name="GtkRecentChooser.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"> </td>
|
||||
<td class="function_name"><a class="link" href="GtkRecentChooser.html#GtkRecentChooser-struct" title="GtkRecentChooser">GtkRecentChooser</a></td>
|
||||
<td class="function_name">GtkRecentChooser</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="GtkRecentChooser.html#GtkRecentChooserIface" title="struct GtkRecentChooserIface">GtkRecentChooserIface</a></td>
|
||||
<td class="function_name">GtkRecentChooserIface</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="GtkRecentChooser.html#GTK-RECENT-CHOOSER-ERROR:CAPS" title="GTK_RECENT_CHOOSER_ERROR">GTK_RECENT_CHOOSER_ERROR</a></td>
|
||||
<td class="function_name">GTK_RECENT_CHOOSER_ERROR</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">enum</td>
|
||||
<td class="function_name"><a class="link" href="GtkRecentChooser.html#GtkRecentChooserError" title="enum GtkRecentChooserError">GtkRecentChooserError</a></td>
|
||||
<td class="function_name">GtkRecentChooserError</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">enum</td>
|
||||
<td class="function_name"><a class="link" href="GtkRecentChooser.html#GtkRecentSortType" title="enum GtkRecentSortType">GtkRecentSortType</a></td>
|
||||
<td class="function_name">GtkRecentSortType</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -893,7 +893,7 @@ of a recently user resource.</p>
|
||||
<a name="gtk-recent-chooser-set-sort-type"></a><h3>gtk_recent_chooser_set_sort_type ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_recent_chooser_set_sort_type (<em class="parameter"><code><a class="link" href="GtkRecentChooser.html" title="GtkRecentChooser"><span class="type">GtkRecentChooser</span></a> *chooser</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkRecentChooser.html#GtkRecentSortType" title="enum GtkRecentSortType"><span class="type">GtkRecentSortType</span></a> sort_type</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GtkRecentSortType</span> sort_type</code></em>);</pre>
|
||||
<p>Changes the sorting order of the recently used resources list displayed by
|
||||
<em class="parameter"><code>chooser</code></em>
|
||||
.</p>
|
||||
@ -924,7 +924,7 @@ gtk_recent_chooser_set_sort_type (<em class="parameter"><code><a class="link" hr
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-chooser-get-sort-type"></a><h3>gtk_recent_chooser_get_sort_type ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkRecentChooser.html#GtkRecentSortType" title="enum GtkRecentSortType"><span class="returnvalue">GtkRecentSortType</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">GtkRecentSortType</span>
|
||||
gtk_recent_chooser_get_sort_type (<em class="parameter"><code><a class="link" href="GtkRecentChooser.html" title="GtkRecentChooser"><span class="type">GtkRecentChooser</span></a> *chooser</code></em>);</pre>
|
||||
<p>Gets the value set by <a class="link" href="GtkRecentChooser.html#gtk-recent-chooser-set-sort-type" title="gtk_recent_chooser_set_sort_type ()"><code class="function">gtk_recent_chooser_set_sort_type()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -953,8 +953,8 @@ gtk_recent_chooser_get_sort_type (<em class="parameter"><code><a class="link" hr
|
||||
<div class="refsect2">
|
||||
<a name="GtkRecentSortFunc"></a><h3>GtkRecentSortFunc ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<span class="c_punctuation">(</span>*GtkRecentSortFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *a</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *b</code></em>,
|
||||
<span class="c_punctuation">(</span>*GtkRecentSortFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *a</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> *b</code></em>,
|
||||
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
@ -968,9 +968,9 @@ gtk_recent_chooser_set_sort_func (<em class="parameter"><code><a class="link" hr
|
||||
<p>Sets the comparison function used when sorting to be <em class="parameter"><code>sort_func</code></em>
|
||||
. If
|
||||
the <em class="parameter"><code>chooser</code></em>
|
||||
has the sort type set to <a class="link" href="GtkRecentChooser.html#GTK-RECENT-SORT-CUSTOM:CAPS"><span class="type">GTK_RECENT_SORT_CUSTOM</span></a> then
|
||||
has the sort type set to <span class="type">GTK_RECENT_SORT_CUSTOM</span> then
|
||||
the chooser will sort using this function.</p>
|
||||
<p>To the comparison function will be passed two <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> structs and
|
||||
<p>To the comparison function will be passed two <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> structs and
|
||||
<em class="parameter"><code>sort_data</code></em>
|
||||
; <em class="parameter"><code>sort_func</code></em>
|
||||
should return a positive integer if the first
|
||||
@ -1086,9 +1086,9 @@ gtk_recent_chooser_get_current_uri (<em class="parameter"><code><a class="link"
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-recent-chooser-get-current-item"></a><h3>gtk_recent_chooser_get_current_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_chooser_get_current_item (<em class="parameter"><code><a class="link" href="GtkRecentChooser.html" title="GtkRecentChooser"><span class="type">GtkRecentChooser</span></a> *chooser</code></em>);</pre>
|
||||
<p>Gets the <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> currently selected by <em class="parameter"><code>chooser</code></em>
|
||||
<p>Gets the <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> currently selected by <em class="parameter"><code>chooser</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-recent-chooser-get-current-item.parameters"></a><h4>Parameters</h4>
|
||||
@ -1107,7 +1107,7 @@ gtk_recent_chooser_get_current_item (<em class="parameter"><code><a class="link"
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-recent-chooser-get-current-item.returns"></a><h4>Returns</h4>
|
||||
<p> a <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a>. 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> when
|
||||
<p> a <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a>. 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> when
|
||||
when you have finished using it.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -1244,7 +1244,7 @@ gtk_recent_chooser_unselect_all (<em class="parameter"><code><a class="link" hre
|
||||
<a name="gtk-recent-chooser-get-items"></a><h3>gtk_recent_chooser_get_items ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
gtk_recent_chooser_get_items (<em class="parameter"><code><a class="link" href="GtkRecentChooser.html" title="GtkRecentChooser"><span class="type">GtkRecentChooser</span></a> *chooser</code></em>);</pre>
|
||||
<p>Gets the list of recently used resources in form of <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> objects.</p>
|
||||
<p>Gets the list of recently used resources in form of <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> objects.</p>
|
||||
<p>The return value of this function is affected by the “sort-type” and
|
||||
“limit” properties of <em class="parameter"><code>chooser</code></em>
|
||||
.</p>
|
||||
@ -1266,7 +1266,7 @@ gtk_recent_chooser_get_items (<em class="parameter"><code><a class="link" href="
|
||||
<div class="refsect3">
|
||||
<a name="gtk-recent-chooser-get-items.returns"></a><h4>Returns</h4>
|
||||
<p>A newly allocated
|
||||
list of <a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> objects. You should
|
||||
list of <a href="https://developer.gnome.org/gtk4/GtkRecentManager.html#GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> objects. You should
|
||||
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 every item of 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>
|
||||
@ -1481,238 +1481,13 @@ the display of the recently used resources.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkRecentChooser.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRecentChooser-struct"></a><h3>GtkRecentChooser</h3>
|
||||
<pre class="programlisting">typedef struct _GtkRecentChooser GtkRecentChooser;</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRecentChooserIface"></a><h3>struct GtkRecentChooserIface</h3>
|
||||
<pre class="programlisting">struct GtkRecentChooserIface {
|
||||
/*
|
||||
* Methods
|
||||
*/
|
||||
gboolean (* set_current_uri) (GtkRecentChooser *chooser,
|
||||
const gchar *uri,
|
||||
GError **error);
|
||||
gchar * (* get_current_uri) (GtkRecentChooser *chooser);
|
||||
gboolean (* select_uri) (GtkRecentChooser *chooser,
|
||||
const gchar *uri,
|
||||
GError **error);
|
||||
void (* unselect_uri) (GtkRecentChooser *chooser,
|
||||
const gchar *uri);
|
||||
void (* select_all) (GtkRecentChooser *chooser);
|
||||
void (* unselect_all) (GtkRecentChooser *chooser);
|
||||
GList * (* get_items) (GtkRecentChooser *chooser);
|
||||
GtkRecentManager *(* get_recent_manager) (GtkRecentChooser *chooser);
|
||||
void (* add_filter) (GtkRecentChooser *chooser,
|
||||
GtkRecentFilter *filter);
|
||||
void (* remove_filter) (GtkRecentChooser *chooser,
|
||||
GtkRecentFilter *filter);
|
||||
GSList * (* list_filters) (GtkRecentChooser *chooser);
|
||||
void (* set_sort_func) (GtkRecentChooser *chooser,
|
||||
GtkRecentSortFunc sort_func,
|
||||
gpointer sort_data,
|
||||
GDestroyNotify data_destroy);
|
||||
|
||||
/*
|
||||
* Signals
|
||||
*/
|
||||
void (* item_activated) (GtkRecentChooser *chooser);
|
||||
void (* selection_changed) (GtkRecentChooser *chooser);
|
||||
};
|
||||
</pre>
|
||||
<div class="refsect3">
|
||||
<a name="GtkRecentChooserIface.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><em class="structfield"><code><a name="GtkRecentChooserIface.set-current-uri"></a>set_current_uri</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Sets uri as the current URI for chooser.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkRecentChooserIface.get-current-uri"></a>get_current_uri</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Gets the URI currently selected by chooser.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkRecentChooserIface.select-uri"></a>select_uri</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Selects uri inside chooser.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkRecentChooserIface.unselect-uri"></a>unselect_uri</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Unselects uri inside chooser.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkRecentChooserIface.select-all"></a>select_all</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Selects all the items inside chooser, if the chooser
|
||||
supports multiple selection.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkRecentChooserIface.unselect-all"></a>unselect_all</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Unselects all the items inside chooser.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkRecentChooserIface.get-items"></a>get_items</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Gets the list of recently used resources in form of
|
||||
<a class="link" href="GtkRecentManager.html#GtkRecentInfo" title="GtkRecentInfo"><span class="type">GtkRecentInfo</span></a> objects.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkRecentChooserIface.get-recent-manager"></a>get_recent_manager</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Gets the <a class="link" href="GtkRecentManager.html" title="GtkRecentManager"><span class="type">GtkRecentManager</span></a> used by chooser.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkRecentChooserIface.add-filter"></a>add_filter</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Adds filter to the list of <a class="link" href="GtkRecentFilter.html" title="GtkRecentFilter"><span class="type">GtkRecentFilter</span></a> objects
|
||||
held by chooser.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkRecentChooserIface.remove-filter"></a>remove_filter</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Removes filter from the list of <a class="link" href="GtkRecentFilter.html" title="GtkRecentFilter"><span class="type">GtkRecentFilter</span></a>
|
||||
objects held by chooser.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkRecentChooserIface.list-filters"></a>list_filters</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Gets the <a class="link" href="GtkRecentFilter.html" title="GtkRecentFilter"><span class="type">GtkRecentFilter</span></a> objects held by chooser.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkRecentChooserIface.set-sort-func"></a>set_sort_func</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Sets the comparison function used when sorting to
|
||||
be sort_func.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkRecentChooserIface.item-activated"></a>item_activated</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Signal emitted when the user “activates” a recent
|
||||
item in the recent chooser.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkRecentChooserIface.selection-changed"></a>selection_changed</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Signal emitted when there is a change in the
|
||||
set of selected recently used resources.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GTK-RECENT-CHOOSER-ERROR:CAPS"></a><h3>GTK_RECENT_CHOOSER_ERROR</h3>
|
||||
<pre class="programlisting">#define GTK_RECENT_CHOOSER_ERROR (gtk_recent_chooser_error_quark ())
|
||||
</pre>
|
||||
<p>Used to get the <span class="type">GError</span> quark for <a class="link" href="GtkRecentChooser.html" title="GtkRecentChooser"><span class="type">GtkRecentChooser</span></a> errors.</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRecentChooserError"></a><h3>enum GtkRecentChooserError</h3>
|
||||
<p>These identify the various errors that can occur while calling
|
||||
<a class="link" href="GtkRecentChooser.html" title="GtkRecentChooser"><span class="type">GtkRecentChooser</span></a> functions.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkRecentChooserError.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-CHOOSER-ERROR-NOT-FOUND:CAPS"></a>GTK_RECENT_CHOOSER_ERROR_NOT_FOUND</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Indicates that a file does not exist</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-RECENT-CHOOSER-ERROR-INVALID-URI:CAPS"></a>GTK_RECENT_CHOOSER_ERROR_INVALID_URI</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Indicates a malformed URI</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRecentSortType"></a><h3>enum GtkRecentSortType</h3>
|
||||
<p>Used to specify the sorting method to be applyed to the recently
|
||||
used resource list.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkRecentSortType.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-SORT-NONE:CAPS"></a>GTK_RECENT_SORT_NONE</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Do not sort the returned list of recently used
|
||||
resources.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-RECENT-SORT-MRU:CAPS"></a>GTK_RECENT_SORT_MRU</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Sort the returned list with the most recently used
|
||||
items first.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-RECENT-SORT-LRU:CAPS"></a>GTK_RECENT_SORT_LRU</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Sort the returned list with the least recently used
|
||||
items first.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-RECENT-SORT-CUSTOM:CAPS"></a>GTK_RECENT_SORT_CUSTOM</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Sort the returned list using a custom sorting
|
||||
function passed using <a class="link" href="GtkRecentChooser.html#gtk-recent-chooser-set-sort-func" title="gtk_recent_chooser_set_sort_func ()"><code class="function">gtk_recent_chooser_set_sort_func()</code></a>.</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="GtkRecentChooser.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRecentChooser--filter"></a><h3>The <code class="literal">“filter”</code> property</h3>
|
||||
<pre class="programlisting"> “filter” <a class="link" href="GtkRecentFilter.html" title="GtkRecentFilter"><span class="type">GtkRecentFilter</span></a> *</pre>
|
||||
<p>The <a class="link" href="GtkRecentFilter.html" title="GtkRecentFilter"><span class="type">GtkRecentFilter</span></a> object to be used when displaying
|
||||
the recently used resources.</p>
|
||||
<p>Owner: GtkRecentChooser</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
@ -1722,6 +1497,7 @@ the recently used resources.</p>
|
||||
<pre class="programlisting"> “limit” <span class="type">gint</span></pre>
|
||||
<p>The maximum number of recently used resources to be displayed,
|
||||
or -1 to display all items.</p>
|
||||
<p>Owner: GtkRecentChooser</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= -1</p>
|
||||
<p>Default value: 50</p>
|
||||
@ -1733,6 +1509,7 @@ or -1 to display all items.</p>
|
||||
<pre class="programlisting"> “local-only” <span class="type">gboolean</span></pre>
|
||||
<p>Whether this <a class="link" href="GtkRecentChooser.html" title="GtkRecentChooser"><span class="type">GtkRecentChooser</span></a> should display only local (file:)
|
||||
resources.</p>
|
||||
<p>Owner: GtkRecentChooser</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -1743,7 +1520,8 @@ resources.</p>
|
||||
<pre class="programlisting"> “recent-manager” <a class="link" href="GtkRecentManager.html" title="GtkRecentManager"><span class="type">GtkRecentManager</span></a> *</pre>
|
||||
<p>The <a class="link" href="GtkRecentManager.html" title="GtkRecentManager"><span class="type">GtkRecentManager</span></a> instance used by the <a class="link" href="GtkRecentChooser.html" title="GtkRecentChooser"><span class="type">GtkRecentChooser</span></a> to
|
||||
display the list of recently used resources.</p>
|
||||
<p>Flags: Write / Construct Only</p>
|
||||
<p>Owner: GtkRecentChooser</p>
|
||||
<p>Flags: Write / Construct Only</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1751,6 +1529,7 @@ display the list of recently used resources.</p>
|
||||
<a name="GtkRecentChooser--select-multiple"></a><h3>The <code class="literal">“select-multiple”</code> property</h3>
|
||||
<pre class="programlisting"> “select-multiple” <span class="type">gboolean</span></pre>
|
||||
<p>Allow the user to select multiple resources.</p>
|
||||
<p>Owner: GtkRecentChooser</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -1760,6 +1539,7 @@ display the list of recently used resources.</p>
|
||||
<a name="GtkRecentChooser--show-icons"></a><h3>The <code class="literal">“show-icons”</code> property</h3>
|
||||
<pre class="programlisting"> “show-icons” <span class="type">gboolean</span></pre>
|
||||
<p>Whether this <a class="link" href="GtkRecentChooser.html" title="GtkRecentChooser"><span class="type">GtkRecentChooser</span></a> should display an icon near the item.</p>
|
||||
<p>Owner: GtkRecentChooser</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -1772,6 +1552,7 @@ display the list of recently used resources.</p>
|
||||
even if not present anymore. Setting this to <code class="literal">FALSE</code> will perform a
|
||||
potentially expensive check on every local resource (every remote
|
||||
resource will always be displayed).</p>
|
||||
<p>Owner: GtkRecentChooser</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -1781,6 +1562,7 @@ resource will always be displayed).</p>
|
||||
<a name="GtkRecentChooser--show-private"></a><h3>The <code class="literal">“show-private”</code> property</h3>
|
||||
<pre class="programlisting"> “show-private” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the private items should be displayed.</p>
|
||||
<p>Owner: GtkRecentChooser</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
</div>
|
||||
@ -1790,6 +1572,7 @@ resource will always be displayed).</p>
|
||||
<pre class="programlisting"> “show-tips” <span class="type">gboolean</span></pre>
|
||||
<p>Whether this <a class="link" href="GtkRecentChooser.html" title="GtkRecentChooser"><span class="type">GtkRecentChooser</span></a> should display a tooltip containing the
|
||||
full path of the recently used resources.</p>
|
||||
<p>Owner: GtkRecentChooser</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -1797,8 +1580,9 @@ full path of the recently used resources.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRecentChooser--sort-type"></a><h3>The <code class="literal">“sort-type”</code> property</h3>
|
||||
<pre class="programlisting"> “sort-type” <a class="link" href="GtkRecentChooser.html#GtkRecentSortType" title="enum GtkRecentSortType"><span class="type">GtkRecentSortType</span></a></pre>
|
||||
<pre class="programlisting"> “sort-type” <span class="type">GtkRecentSortType</span></pre>
|
||||
<p>Sorting order to be used when displaying the recently used resources.</p>
|
||||
<p>Owner: GtkRecentChooser</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: GTK_RECENT_SORT_NONE</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -1879,10 +1663,10 @@ explicitly calling functions to change the selection.</p>
|
||||
<div class="refsect1">
|
||||
<a name="GtkRecentChooser.see-also"></a><h2>See Also</h2>
|
||||
<p><a class="link" href="GtkRecentManager.html" title="GtkRecentManager"><span class="type">GtkRecentManager</span></a>, <a class="link" href="GtkRecentChooserDialog.html" title="GtkRecentChooserDialog"><span class="type">GtkRecentChooserDialog</span></a>,
|
||||
<a class="link" href="GtkRecentChooserWidget.html" title="GtkRecentChooserWidget"><span class="type">GtkRecentChooserWidget</span></a>, <a class="link" href="GtkRecentChooserMenu.html" title="GtkRecentChooserMenu"><span class="type">GtkRecentChooserMenu</span></a></p>
|
||||
<a class="link" href="GtkRecentChooserWidget.html" title="GtkRecentChooserWidget"><span class="type">GtkRecentChooserWidget</span></a>, <a class="link" href="GtkRecentChooserMenu.html" title="GtkRecentChooserMenu"><span class="type">GtkRecentChooserMenu</span></a></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