package Gtk_Recent_Sort_Type_Properties is new Generic_Internal_Discrete_Property (Gtk_Recent_Sort_Type);
type Gtk_Recent_Chooser is new Glib.Types.GType_Interface;
type Gtk_Recent_Sort_Type is ( Recent_Sort_None, Recent_Sort_Mru, Recent_Sort_Lru, Recent_Sort_Custom);
type Gtk_Recent_Sort_Func is access function (A : Gtk.Recent_Info.Gtk_Recent_Info; B : Gtk.Recent_Info.Gtk_Recent_Info) return Gint;
type Property_Gtk_Recent_Sort_Type is new Gtk_Recent_Sort_Type_Properties.Property;
type Cb_Gtk_Recent_Chooser_Void is not null access procedure (Self : Gtk_Recent_Chooser);
type Cb_GObject_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class);
Null_Gtk_Recent_Chooser : constant Gtk_Recent_Chooser;
Filter_Property : constant Glib.Properties.Property_Object;
Limit_Property : constant Glib.Properties.Property_Int;
Local_Only_Property : constant Glib.Properties.Property_Boolean;
Recent_Manager_Property : constant Glib.Properties.Property_Object;
Select_Multiple_Property : constant Glib.Properties.Property_Boolean;
Show_Icons_Property : constant Glib.Properties.Property_Boolean;
Show_Not_Found_Property : constant Glib.Properties.Property_Boolean;
Show_Private_Property : constant Glib.Properties.Property_Boolean;
Show_Tips_Property : constant Glib.Properties.Property_Boolean;
Sort_Type_Property : constant Gtk.Recent_Chooser.Property_Gtk_Recent_Sort_Type;
Signal_Item_Activated : constant Glib.Signal_Name := "item-activated";
Signal_Selection_Changed : constant Glib.Signal_Name := "selection-changed";
function Get_Type return Glib.GType;
procedure Add_Filter
( | Chooser | : Gtk_Recent_Chooser; |
Filter | : not null access Gtk.Recent_Filter.Gtk_Recent_Filter_Record'Class); |
function Get_Current_Item
( | Chooser | : Gtk_Recent_Chooser) return Gtk.Recent_Info.Gtk_Recent_Info; |
function Get_Current_Uri
( | Chooser | : Gtk_Recent_Chooser) return UTF8_String; |
function Set_Current_Uri
( | Chooser | : Gtk_Recent_Chooser; |
URI | : UTF8_String) return Boolean; |
function Get_Filter
( | Chooser | : Gtk_Recent_Chooser) return Gtk.Recent_Filter.Gtk_Recent_Filter; |
procedure Set_Filter
( | Chooser | : Gtk_Recent_Chooser; |
Filter | : not null access Gtk.Recent_Filter.Gtk_Recent_Filter_Record'Class); |
function Get_Items
( | Chooser | : Gtk_Recent_Chooser) return Gtk.Recent_Manager.Gtk_Recent_Info_List.Glist; |
function Get_Limit
( | Chooser | : Gtk_Recent_Chooser) return Gint; |
procedure Set_Limit
( | Chooser | : Gtk_Recent_Chooser; |
Limit | : Gint); |
function Get_Local_Only
( | Chooser | : Gtk_Recent_Chooser) return Boolean; |
procedure Set_Local_Only
( | Chooser | : Gtk_Recent_Chooser; |
Local_Only | : Boolean); |
function Get_Select_Multiple
( | Chooser | : Gtk_Recent_Chooser) return Boolean; |
procedure Set_Select_Multiple
( | Chooser | : Gtk_Recent_Chooser; |
Select_Multiple | : Boolean); |
function Get_Show_Icons
( | Chooser | : Gtk_Recent_Chooser) return Boolean; |
procedure Set_Show_Icons
( | Chooser | : Gtk_Recent_Chooser; |
Show_Icons | : Boolean); |
function Get_Show_Not_Found
( | Chooser | : Gtk_Recent_Chooser) return Boolean; |
procedure Set_Show_Not_Found
( | Chooser | : Gtk_Recent_Chooser; |
Show_Not_Found | : Boolean); |
function Get_Show_Private
( | Chooser | : Gtk_Recent_Chooser) return Boolean; |
procedure Set_Show_Private
( | Chooser | : Gtk_Recent_Chooser; |
Show_Private | : Boolean); |
function Get_Show_Tips
( | Chooser | : Gtk_Recent_Chooser) return Boolean; |
procedure Set_Show_Tips
( | Chooser | : Gtk_Recent_Chooser; |
Show_Tips | : Boolean); |
function Get_Sort_Type
( | Chooser | : Gtk_Recent_Chooser) return Gtk_Recent_Sort_Type; |
procedure Set_Sort_Type
( | Chooser | : Gtk_Recent_Chooser; |
Sort_Type | : Gtk_Recent_Sort_Type); |
function List_Filters
( | Chooser | : Gtk_Recent_Chooser) return Gtk.Recent_Filter.Gtk_Recent_Filter_List.GSlist; |
procedure Remove_Filter
( | Chooser | : Gtk_Recent_Chooser; |
Filter | : not null access Gtk.Recent_Filter.Gtk_Recent_Filter_Record'Class); |
procedure Select_All
( | Chooser | : Gtk_Recent_Chooser); |
function Select_Uri
( | Chooser | : Gtk_Recent_Chooser; |
URI | : UTF8_String) return Boolean; |
procedure Set_Sort_Func
( | Chooser | : Gtk_Recent_Chooser; |
Sort_Func | : Gtk_Recent_Sort_Func; | |
Data_Destroy | : Glib.G_Destroy_Notify_Address); |
procedure Unselect_All
( | Chooser | : Gtk_Recent_Chooser); |
procedure Unselect_Uri
( | Chooser | : Gtk_Recent_Chooser; |
URI | : UTF8_String); |
procedure On_Item_Activated
( | Self | : Gtk_Recent_Chooser; |
Call | : Cb_Gtk_Recent_Chooser_Void; | |
After | : Boolean := False); |
procedure On_Item_Activated
( | Self | : Gtk_Recent_Chooser; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Selection_Changed
( | Self | : Gtk_Recent_Chooser; |
Call | : Cb_Gtk_Recent_Chooser_Void; | |
After | : Boolean := False); |
procedure On_Selection_Changed
( | Self | : Gtk_Recent_Chooser; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
function "+"
( | W | : Gtk_Recent_Chooser) return Gtk_Recent_Chooser; |
Gtk.Recent_Chooser.Gtk_Recent_Chooser is an interface that can be implemented by widgets displaying the list of recently used files. In GTK+, the main objects that implement this interface are Gtk.Recent_Chooser_Widget.Gtk_Recent_Chooser_Widget, Gtk.Recent_Chooser_Dialog.Gtk_Recent_Chooser_Dialog and Gtk.Recent_Chooser_Menu.Gtk_Recent_Chooser_Menu.
Recently used files are supported since GTK+ 2.10.