type Gtk_File_Chooser is new Glib.Types.GType_Interface;
type File_Chooser_Action is (Action_Open, Action_Save, Action_Select_Folder, Action_Create_Folder);
type File_Chooser_Confirmation is (Confirmation_Confirm, Confirmation_Accept_Filename, Confirmation_Select_Again);
type File_Chooser_Error is (Error_Non_Existent, Error_Bad_Filename);
Do_Overwrite_Confirmation_Property : constant Glib.Properties.Property_Boolean;
Extra_Widget_Property : constant Glib.Properties.Property_Object;
File_System_Backend_Property : constant Glib.Properties.Property_String;
Filter_Property : constant Glib.Properties.Property_Object;
Local_Only_Property : constant Glib.Properties.Property_Boolean;
Preview_Widget_Property : constant Glib.Properties.Property_Object;
Preview_Widget_Active_Property : constant Glib.Properties.Property_Boolean;
Select_Multiple_Property : constant Glib.Properties.Property_Boolean;
Show_Hidden_Property : constant Glib.Properties.Property_Boolean;
Use_Preview_Label_Property : constant Glib.Properties.Property_Boolean;
Signal_Confirm_Overwrite : constant Glib.Signal_Name := "confirm-overwrite";
Signal_Current_Folder_Changed : constant Glib.Signal_Name := "current-folder-changed";
Signal_File_Activated : constant Glib.Signal_Name := "file-activated";
Signal_Selection_Changed : constant Glib.Signal_Name := "selection-changed";
Signal_Update_Preview : constant Glib.Signal_Name := "update-preview";
function Get_Type return Gtk.Gtk_Type;
procedure Set_Action
( | Chooser | : Gtk_File_Chooser; |
Action | : File_Chooser_Action); |
function Get_Action
( | Chooser | : Gtk_File_Chooser) return File_Chooser_Action; |
procedure Set_Local_Only
( | Chooser | : Gtk_File_Chooser; |
Local_Only | : Boolean := True); |
function Get_Local_Only
( | Chooser | : Gtk_File_Chooser) return Boolean; |
procedure Set_Select_Multiple
( | Chooser | : Gtk_File_Chooser; |
Select_Multiple | : Boolean); |
function Get_Select_Multiple
( | Chooser | : Gtk_File_Chooser) return Boolean; |
procedure Set_Show_Hidden
( | Chooser | : Gtk_File_Chooser; |
Show_Hidden | : Boolean); |
function Get_Show_Hidden
( | Chooser | : Gtk_File_Chooser) return Boolean; |
procedure Set_Do_Overwrite_Confirmation
( | Chooser | : Gtk_File_Chooser; |
Do_Overwrite_Confirmation | : Boolean); |
function Get_Do_Overwrite_Confirmation
( | Chooser | : Gtk_File_Chooser) return Boolean; |
procedure Set_Current_Name
( | Chooser | : Gtk_File_Chooser; |
Name | : UTF8_String); |
function Get_Filename
( | Chooser | : Gtk_File_Chooser) return String; |
function Get_Filenames
( | Chooser | : Gtk_File_Chooser) return Gtk.Enums.String_SList.GSlist; |
function Set_Filename
( | Chooser | : Gtk_File_Chooser; |
Filename | : String) return Boolean; |
function Select_Filename
( | Chooser | : Gtk_File_Chooser; |
Filename | : String) return Boolean; |
procedure Unselect_Filename
( | Chooser | : Gtk_File_Chooser; |
Filename | : String); |
procedure Select_All
( | Chooser | : Gtk_File_Chooser); |
procedure Unselect_All
( | Chooser | : Gtk_File_Chooser); |
function Set_Current_Folder
( | Chooser | : Gtk_File_Chooser; |
Filename | : String) return Boolean; |
function Get_Current_Folder
( | Chooser | : Gtk_File_Chooser) return String; |
function Set_Uri
( | Chooser | : Gtk_File_Chooser; |
Uri | : String) return Boolean; |
function Get_Uri
( | Chooser | : Gtk_File_Chooser) return String; |
function Get_Uris
( | Chooser | : Gtk_File_Chooser) return Gtk.Enums.String_SList.GSlist; |
function Select_Uri
( | Chooser | : Gtk_File_Chooser; |
Uri | : String) return Boolean; |
procedure Unselect_Uri
( | Chooser | : Gtk_File_Chooser; |
Uri | : String); |
function Set_Current_Folder_Uri
( | Chooser | : Gtk_File_Chooser; |
Uri | : String) return Boolean; |
function Get_Current_Folder_Uri
( | Chooser | : Gtk_File_Chooser) return String; |
procedure Set_Preview_Widget
( | Chooser | : Gtk_File_Chooser; |
Preview_Widget | : access Gtk.Widget.Gtk_Widget_Record'Class); |
function Get_Preview_Widget
( | Chooser | : Gtk_File_Chooser) return Gtk.Widget.Gtk_Widget; |
procedure Set_Preview_Widget_Active
( | Chooser | : Gtk_File_Chooser; |
Active | : Boolean); |
function Get_Preview_Widget_Active
( | Chooser | : Gtk_File_Chooser) return Boolean; |
procedure Set_Use_Preview_Label
( | Chooser | : Gtk_File_Chooser; |
Use_Label | : Boolean); |
function Get_Use_Preview_Label
( | Chooser | : Gtk_File_Chooser) return Boolean; |
function Get_Preview_Filename
( | Chooser | : Gtk_File_Chooser) return String; |
function Get_Preview_Uri
( | Chooser | : Gtk_File_Chooser) return String; |
procedure Set_Extra_Widget
( | Chooser | : Gtk_File_Chooser; |
Extra_Widget | : access Gtk.Widget.Gtk_Widget_Record'Class); |
function Get_Extra_Widget
( | Chooser | : Gtk_File_Chooser) return Gtk.Widget.Gtk_Widget; |
procedure Add_Filter
( | Chooser | : Gtk_File_Chooser; |
Filter | : access Gtk.File_Filter.Gtk_File_Filter_Record'Class); |
procedure Remove_Filter
( | Chooser | : Gtk_File_Chooser; |
Filter | : access Gtk.File_Filter.Gtk_File_Filter_Record'Class); |
procedure Set_Filter
( | Chooser | : Gtk_File_Chooser; |
Filter | : access Gtk.File_Filter.Gtk_File_Filter_Record'Class); |
function Get_Filter
( | Chooser | : Gtk_File_Chooser) return Gtk.File_Filter.Gtk_File_Filter; |
function List_Filters
( | Chooser | : Gtk_File_Chooser) return Glib.Object.Object_List.GSlist; |
function Add_Shortcut_Folder
( | Chooser | : Gtk_File_Chooser; |
Folder | : String) return Glib.Error.GError; |
function Remove_Shortcut_Folder
( | Chooser | : Gtk_File_Chooser; |
Folder | : String) return Glib.Error.GError; |
function List_Shortcut_Folders
( | Chooser | : Gtk_File_Chooser) return Gtk.Enums.String_SList.GSlist; |
function Add_Shortcut_Folder_Uri
( | Chooser | : Gtk_File_Chooser; |
Uri | : String) return Glib.Error.GError; |
function Remove_Shortcut_Folder_Uri
( | Chooser | : Gtk_File_Chooser; |
Uri | : String) return Glib.Error.GError; |
function List_Shortcut_Folder_Uris
( | Chooser | : Gtk_File_Chooser) return Gtk.Enums.String_SList.GSlist; |
Binding from C File version 2.8.17