summaryrefslogtreecommitdiff
path: root/docs/reference/gtk/tmpl/gtkrecentchoosermenu.sgml
blob: 0de670b2a8b187e7c9607a1bf765019e309a12cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!-- ##### SECTION Title ##### -->
GtkRecentChooserMenu

<!-- ##### SECTION Short_Description ##### -->
Displays recently used files in a menu

<!-- ##### SECTION Long_Description ##### -->
<para>
#GtkRecentChooserMenu is a widget suitable for displaying recently used files
inside a menu.  It can be used to set a sub-menu of a #GtkMenuItem using
gtk_menu_item_set_submenu(), or as the menu of a #GtkMenuToolButton.
</para>

<para>
Note that #GtkRecentChooserMenu does not have any methods of its own.  Instead,
you should use the functions that work on a #GtkRecentChooser.
</para>

<para>
Note also that #GtkRecentChooserMenu does not support multiple filters, as it
has no way to let the user choose between them as the #GtkRecentChooserWidget
and #GtkRecentChooserDialog widgets do. Thus using gtk_recent_chooser_add_filter()
on a #GtkRecentChooserMenu widget will yield the same effects as using
gtk_recent_chooser_set_filter(), replacing any currently set filter
with the supplied filter; gtk_recent_chooser_remove_filter() will remove
any currently set #GtkRecentFilter object and will unset the current filter;
gtk_recent_chooser_list_filters() will return a list containing a single
#GtkRecentFilter object.
</para>

<para>
Recently used files are supported since GTK+ 2.10.
</para>

<!-- ##### SECTION See_Also ##### -->
<para>
#GtkRecentChooser
</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### SECTION Image ##### -->


<!-- ##### STRUCT GtkRecentChooserMenu ##### -->
<para>

</para>


<!-- ##### ARG GtkRecentChooserMenu:show-numbers ##### -->
<para>

</para>

<!-- ##### FUNCTION gtk_recent_chooser_menu_new ##### -->
<para>

</para>

@void: 
@Returns: 


<!-- ##### FUNCTION gtk_recent_chooser_menu_new_for_manager ##### -->
<para>

</para>

@manager: 
@Returns: 


<!-- ##### FUNCTION gtk_recent_chooser_menu_get_show_numbers ##### -->
<para>

</para>

@menu: 
@Returns: 


<!-- ##### FUNCTION gtk_recent_chooser_menu_set_show_numbers ##### -->
<para>

</para>

@menu: 
@show_numbers: