22 #ifndef __GTK_RECENT_CHOOSER_H__
23 #define __GTK_RECENT_CHOOSER_H__
25 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
26 #error "Only <gtk/gtk.h> can be included directly."
35 #define GTK_TYPE_RECENT_CHOOSER (gtk_recent_chooser_get_type ())
36 #define GTK_RECENT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_CHOOSER, GtkRecentChooser))
37 #define GTK_IS_RECENT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_CHOOSER))
38 #define GTK_RECENT_CHOOSER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_RECENT_CHOOSER, GtkRecentChooserIface))
70 #define GTK_RECENT_CHOOSER_ERROR (gtk_recent_chooser_error_quark ())
109 GDestroyNotify destroy);
124 gboolean show_private);
127 gboolean show_not_found);
130 gboolean select_multiple);
136 gboolean local_only);
141 #ifndef GTK_DISABLE_DEPRECATED
143 gboolean show_numbers);
147 gboolean show_icons);
155 GDestroyNotify data_destroy);
void gtk_recent_chooser_set_local_only(GtkRecentChooser *chooser, gboolean local_only)
void gtk_recent_chooser_unselect_uri(GtkRecentChooser *chooser, const gchar *uri)
gchar * gtk_recent_chooser_get_current_uri(GtkRecentChooser *chooser)
GType gtk_recent_chooser_get_type(void) G_GNUC_CONST
void gtk_recent_chooser_set_show_icons(GtkRecentChooser *chooser, gboolean show_icons)
void gtk_recent_chooser_unselect_all(GtkRecentChooser *chooser)
void gtk_recent_chooser_add_filter(GtkRecentChooser *chooser, GtkRecentFilter *filter)
gboolean gtk_recent_chooser_get_local_only(GtkRecentChooser *chooser)
gint(* GtkRecentSortFunc)(GtkRecentInfo *a, GtkRecentInfo *b, gpointer user_data)
gint gtk_recent_chooser_get_limit(GtkRecentChooser *chooser)
void gtk_recent_chooser_set_sort_type(GtkRecentChooser *chooser, GtkRecentSortType sort_type)
void gtk_recent_chooser_set_show_numbers(GtkRecentChooser *chooser, gboolean show_numbers)
void gtk_recent_chooser_set_show_not_found(GtkRecentChooser *chooser, gboolean show_not_found)
gboolean gtk_recent_chooser_select_uri(GtkRecentChooser *chooser, const gchar *uri, GError **error)
GtkRecentSortType gtk_recent_chooser_get_sort_type(GtkRecentChooser *chooser)
void gtk_recent_chooser_remove_filter(GtkRecentChooser *chooser, GtkRecentFilter *filter)
gboolean gtk_recent_chooser_get_select_multiple(GtkRecentChooser *chooser)
GQuark gtk_recent_chooser_error_quark(void)
GtkRecentInfo * gtk_recent_chooser_get_current_item(GtkRecentChooser *chooser)
gboolean gtk_recent_chooser_get_show_icons(GtkRecentChooser *chooser)
void gtk_recent_chooser_set_limit(GtkRecentChooser *chooser, gint limit)
void gtk_recent_chooser_set_sort_func(GtkRecentChooser *chooser, GtkRecentSortFunc sort_func, gpointer sort_data, GDestroyNotify data_destroy)
GList * gtk_recent_chooser_get_items(GtkRecentChooser *chooser)
gboolean gtk_recent_chooser_get_show_tips(GtkRecentChooser *chooser)
gchar ** gtk_recent_chooser_get_uris(GtkRecentChooser *chooser, gsize *length)
GtkRecentFilter * gtk_recent_chooser_get_filter(GtkRecentChooser *chooser)
gboolean gtk_recent_chooser_get_show_numbers(GtkRecentChooser *chooser)
gboolean gtk_recent_chooser_get_show_private(GtkRecentChooser *chooser)
void gtk_recent_chooser_select_all(GtkRecentChooser *chooser)
void gtk_recent_chooser_set_show_private(GtkRecentChooser *chooser, gboolean show_private)
@ GTK_RECENT_CHOOSER_ERROR_INVALID_URI
@ GTK_RECENT_CHOOSER_ERROR_NOT_FOUND
GSList * gtk_recent_chooser_list_filters(GtkRecentChooser *chooser)
gboolean gtk_recent_chooser_set_current_uri(GtkRecentChooser *chooser, const gchar *uri, GError **error)
gboolean gtk_recent_chooser_get_show_not_found(GtkRecentChooser *chooser)
void gtk_recent_chooser_set_select_multiple(GtkRecentChooser *chooser, gboolean select_multiple)
void gtk_recent_chooser_set_filter(GtkRecentChooser *chooser, GtkRecentFilter *filter)
void gtk_recent_chooser_set_show_tips(GtkRecentChooser *chooser, gboolean show_tips)
struct _GtkRecentChooser GtkRecentChooser
struct _GtkRecentFilter GtkRecentFilter
struct _GtkRecentInfo GtkRecentInfo
PBD::PropertyDescriptor< timecnt_t > length
gboolean(* select_uri)(GtkRecentChooser *chooser, const gchar *uri, GError **error)
void(* select_all)(GtkRecentChooser *chooser)
GTypeInterface base_iface
void(* unselect_all)(GtkRecentChooser *chooser)
gboolean(* set_current_uri)(GtkRecentChooser *chooser, const gchar *uri, GError **error)
void(* item_activated)(GtkRecentChooser *chooser)
void(* selection_changed)(GtkRecentChooser *chooser)
void(* remove_filter)(GtkRecentChooser *chooser, GtkRecentFilter *filter)
void(* unselect_uri)(GtkRecentChooser *chooser, const gchar *uri)
void(* set_sort_func)(GtkRecentChooser *chooser, GtkRecentSortFunc sort_func, gpointer data, GDestroyNotify destroy)
void(* add_filter)(GtkRecentChooser *chooser, GtkRecentFilter *filter)