Ardour  9.0-pre0-582-g084a23a80d
gtkrecentchooser.h File Reference
Include dependency graph for gtkrecentchooser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GtkRecentChooserIface
 

Macros

#define GTK_TYPE_RECENT_CHOOSER   (gtk_recent_chooser_get_type ())
 
#define GTK_RECENT_CHOOSER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_CHOOSER, GtkRecentChooser))
 
#define GTK_IS_RECENT_CHOOSER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_CHOOSER))
 
#define GTK_RECENT_CHOOSER_GET_IFACE(inst)   (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_RECENT_CHOOSER, GtkRecentChooserIface))
 
#define GTK_RECENT_CHOOSER_ERROR   (gtk_recent_chooser_error_quark ())
 

Typedefs

typedef gint(* GtkRecentSortFunc) (GtkRecentInfo *a, GtkRecentInfo *b, gpointer user_data)
 
typedef struct _GtkRecentChooser GtkRecentChooser
 
typedef struct _GtkRecentChooserIface GtkRecentChooserIface
 

Enumerations

enum  GtkRecentSortType { GTK_RECENT_SORT_NONE = 0 , GTK_RECENT_SORT_MRU , GTK_RECENT_SORT_LRU , GTK_RECENT_SORT_CUSTOM }
 
enum  GtkRecentChooserError { GTK_RECENT_CHOOSER_ERROR_NOT_FOUND , GTK_RECENT_CHOOSER_ERROR_INVALID_URI }
 

Functions

GQuark gtk_recent_chooser_error_quark (void)
 
GType gtk_recent_chooser_get_type (void) G_GNUC_CONST
 
void gtk_recent_chooser_set_show_private (GtkRecentChooser *chooser, gboolean show_private)
 
gboolean gtk_recent_chooser_get_show_private (GtkRecentChooser *chooser)
 
void gtk_recent_chooser_set_show_not_found (GtkRecentChooser *chooser, gboolean show_not_found)
 
gboolean gtk_recent_chooser_get_show_not_found (GtkRecentChooser *chooser)
 
void gtk_recent_chooser_set_select_multiple (GtkRecentChooser *chooser, gboolean select_multiple)
 
gboolean gtk_recent_chooser_get_select_multiple (GtkRecentChooser *chooser)
 
void gtk_recent_chooser_set_limit (GtkRecentChooser *chooser, gint limit)
 
gint gtk_recent_chooser_get_limit (GtkRecentChooser *chooser)
 
void gtk_recent_chooser_set_local_only (GtkRecentChooser *chooser, gboolean local_only)
 
gboolean gtk_recent_chooser_get_local_only (GtkRecentChooser *chooser)
 
void gtk_recent_chooser_set_show_tips (GtkRecentChooser *chooser, gboolean show_tips)
 
gboolean gtk_recent_chooser_get_show_tips (GtkRecentChooser *chooser)
 
void gtk_recent_chooser_set_show_numbers (GtkRecentChooser *chooser, gboolean show_numbers)
 
gboolean gtk_recent_chooser_get_show_numbers (GtkRecentChooser *chooser)
 
void gtk_recent_chooser_set_show_icons (GtkRecentChooser *chooser, gboolean show_icons)
 
gboolean gtk_recent_chooser_get_show_icons (GtkRecentChooser *chooser)
 
void gtk_recent_chooser_set_sort_type (GtkRecentChooser *chooser, GtkRecentSortType sort_type)
 
GtkRecentSortType gtk_recent_chooser_get_sort_type (GtkRecentChooser *chooser)
 
void gtk_recent_chooser_set_sort_func (GtkRecentChooser *chooser, GtkRecentSortFunc sort_func, gpointer sort_data, GDestroyNotify data_destroy)
 
gboolean gtk_recent_chooser_set_current_uri (GtkRecentChooser *chooser, const gchar *uri, GError **error)
 
gchar * gtk_recent_chooser_get_current_uri (GtkRecentChooser *chooser)
 
GtkRecentInfogtk_recent_chooser_get_current_item (GtkRecentChooser *chooser)
 
gboolean gtk_recent_chooser_select_uri (GtkRecentChooser *chooser, const gchar *uri, GError **error)
 
void gtk_recent_chooser_unselect_uri (GtkRecentChooser *chooser, const gchar *uri)
 
void gtk_recent_chooser_select_all (GtkRecentChooser *chooser)
 
void gtk_recent_chooser_unselect_all (GtkRecentChooser *chooser)
 
GList * gtk_recent_chooser_get_items (GtkRecentChooser *chooser)
 
gchar ** gtk_recent_chooser_get_uris (GtkRecentChooser *chooser, gsize *length)
 
void gtk_recent_chooser_add_filter (GtkRecentChooser *chooser, GtkRecentFilter *filter)
 
void gtk_recent_chooser_remove_filter (GtkRecentChooser *chooser, GtkRecentFilter *filter)
 
GSList * gtk_recent_chooser_list_filters (GtkRecentChooser *chooser)
 
void gtk_recent_chooser_set_filter (GtkRecentChooser *chooser, GtkRecentFilter *filter)
 
GtkRecentFiltergtk_recent_chooser_get_filter (GtkRecentChooser *chooser)
 

Macro Definition Documentation

◆ GTK_IS_RECENT_CHOOSER

#define GTK_IS_RECENT_CHOOSER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_CHOOSER))

Definition at line 37 of file gtkrecentchooser.h.

◆ GTK_RECENT_CHOOSER

#define GTK_RECENT_CHOOSER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_CHOOSER, GtkRecentChooser))

Definition at line 36 of file gtkrecentchooser.h.

◆ GTK_RECENT_CHOOSER_ERROR

#define GTK_RECENT_CHOOSER_ERROR   (gtk_recent_chooser_error_quark ())

Definition at line 70 of file gtkrecentchooser.h.

◆ GTK_RECENT_CHOOSER_GET_IFACE

#define GTK_RECENT_CHOOSER_GET_IFACE (   inst)    (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_RECENT_CHOOSER, GtkRecentChooserIface))

Definition at line 38 of file gtkrecentchooser.h.

◆ GTK_TYPE_RECENT_CHOOSER

#define GTK_TYPE_RECENT_CHOOSER   (gtk_recent_chooser_get_type ())

Definition at line 35 of file gtkrecentchooser.h.

Typedef Documentation

◆ GtkRecentChooser

typedef struct _GtkRecentChooser GtkRecentChooser

Definition at line 62 of file gtkrecentchooser.h.

◆ GtkRecentChooserIface

Definition at line 62 of file gtkrecentchooser.h.

◆ GtkRecentSortFunc

typedef gint(* GtkRecentSortFunc) (GtkRecentInfo *a, GtkRecentInfo *b, gpointer user_data)

Definition at line 62 of file gtkrecentchooser.h.

Enumeration Type Documentation

◆ GtkRecentChooserError

Enumerator
GTK_RECENT_CHOOSER_ERROR_NOT_FOUND 
GTK_RECENT_CHOOSER_ERROR_INVALID_URI 

Definition at line 72 of file gtkrecentchooser.h.

◆ GtkRecentSortType

GtkRecentSortType:

Parameters
GTK_RECENT_SORT_NONEDo not sort the returned list of recently used resources.
GTK_RECENT_SORT_MRUSort the returned list with the most recently used items first.
GTK_RECENT_SORT_LRUSort the returned list with the least recently used items first.
GTK_RECENT_SORT_CUSTOMSort the returned list using a custom sorting function passed using gtk_recent_manager_set_sort_func().

Used to specify the sorting method to be applyed to the recently used resource list.

Enumerator
GTK_RECENT_SORT_NONE 
GTK_RECENT_SORT_MRU 
GTK_RECENT_SORT_LRU 
GTK_RECENT_SORT_CUSTOM 

Definition at line 54 of file gtkrecentchooser.h.

Function Documentation

◆ gtk_recent_chooser_add_filter()

void gtk_recent_chooser_add_filter ( GtkRecentChooser chooser,
GtkRecentFilter filter 
)

◆ gtk_recent_chooser_error_quark()

GQuark gtk_recent_chooser_error_quark ( void  )

◆ gtk_recent_chooser_get_current_item()

GtkRecentInfo* gtk_recent_chooser_get_current_item ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_get_current_uri()

gchar* gtk_recent_chooser_get_current_uri ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_get_filter()

GtkRecentFilter* gtk_recent_chooser_get_filter ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_get_items()

GList* gtk_recent_chooser_get_items ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_get_limit()

gint gtk_recent_chooser_get_limit ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_get_local_only()

gboolean gtk_recent_chooser_get_local_only ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_get_select_multiple()

gboolean gtk_recent_chooser_get_select_multiple ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_get_show_icons()

gboolean gtk_recent_chooser_get_show_icons ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_get_show_not_found()

gboolean gtk_recent_chooser_get_show_not_found ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_get_show_numbers()

gboolean gtk_recent_chooser_get_show_numbers ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_get_show_private()

gboolean gtk_recent_chooser_get_show_private ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_get_show_tips()

gboolean gtk_recent_chooser_get_show_tips ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_get_sort_type()

GtkRecentSortType gtk_recent_chooser_get_sort_type ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_get_type()

GType gtk_recent_chooser_get_type ( void  )

◆ gtk_recent_chooser_get_uris()

gchar** gtk_recent_chooser_get_uris ( GtkRecentChooser chooser,
gsize *  length 
)

◆ gtk_recent_chooser_list_filters()

GSList* gtk_recent_chooser_list_filters ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_remove_filter()

void gtk_recent_chooser_remove_filter ( GtkRecentChooser chooser,
GtkRecentFilter filter 
)

◆ gtk_recent_chooser_select_all()

void gtk_recent_chooser_select_all ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_select_uri()

gboolean gtk_recent_chooser_select_uri ( GtkRecentChooser chooser,
const gchar *  uri,
GError **  error 
)

◆ gtk_recent_chooser_set_current_uri()

gboolean gtk_recent_chooser_set_current_uri ( GtkRecentChooser chooser,
const gchar *  uri,
GError **  error 
)

◆ gtk_recent_chooser_set_filter()

void gtk_recent_chooser_set_filter ( GtkRecentChooser chooser,
GtkRecentFilter filter 
)

◆ gtk_recent_chooser_set_limit()

void gtk_recent_chooser_set_limit ( GtkRecentChooser chooser,
gint  limit 
)

◆ gtk_recent_chooser_set_local_only()

void gtk_recent_chooser_set_local_only ( GtkRecentChooser chooser,
gboolean  local_only 
)

◆ gtk_recent_chooser_set_select_multiple()

void gtk_recent_chooser_set_select_multiple ( GtkRecentChooser chooser,
gboolean  select_multiple 
)

◆ gtk_recent_chooser_set_show_icons()

void gtk_recent_chooser_set_show_icons ( GtkRecentChooser chooser,
gboolean  show_icons 
)

◆ gtk_recent_chooser_set_show_not_found()

void gtk_recent_chooser_set_show_not_found ( GtkRecentChooser chooser,
gboolean  show_not_found 
)

◆ gtk_recent_chooser_set_show_numbers()

void gtk_recent_chooser_set_show_numbers ( GtkRecentChooser chooser,
gboolean  show_numbers 
)

◆ gtk_recent_chooser_set_show_private()

void gtk_recent_chooser_set_show_private ( GtkRecentChooser chooser,
gboolean  show_private 
)

◆ gtk_recent_chooser_set_show_tips()

void gtk_recent_chooser_set_show_tips ( GtkRecentChooser chooser,
gboolean  show_tips 
)

◆ gtk_recent_chooser_set_sort_func()

void gtk_recent_chooser_set_sort_func ( GtkRecentChooser chooser,
GtkRecentSortFunc  sort_func,
gpointer  sort_data,
GDestroyNotify  data_destroy 
)

◆ gtk_recent_chooser_set_sort_type()

void gtk_recent_chooser_set_sort_type ( GtkRecentChooser chooser,
GtkRecentSortType  sort_type 
)

◆ gtk_recent_chooser_unselect_all()

void gtk_recent_chooser_unselect_all ( GtkRecentChooser chooser)

◆ gtk_recent_chooser_unselect_uri()

void gtk_recent_chooser_unselect_uri ( GtkRecentChooser chooser,
const gchar *  uri 
)