Gtk.File_Chooser_Widget

Entities

Tagged Types

Access Types

Constants

Subprograms

Generic Instantiations

Description

Gtk.File_Chooser_Widget.Gtk_File_Chooser_Widget is a widget for choosing files. It exposes the Gtk.File_Chooser.Gtk_File_Chooser interface, and you should use the methods of this interface to interact with the widget.

# CSS nodes

GtkFileChooserWidget has a single CSS node with name filechooser.

"+"

function "+"
  (Widget : access Gtk_File_Chooser_Widget_Record'Class)
return Gtk.Buildable.Gtk_Buildable
Parameters
Widget
Return Value

"+"

function "+"
  (Widget : access Gtk_File_Chooser_Widget_Record'Class)
return Gtk.File_Chooser.Gtk_File_Chooser
Parameters
Widget
Return Value

"+"

function "+"
  (Widget : access Gtk_File_Chooser_Widget_Record'Class)
return Gtk.Orientable.Gtk_Orientable
Parameters
Widget
Return Value

"-"

function "-"
  (Interf : Gtk.Buildable.Gtk_Buildable)
return Gtk_File_Chooser_Widget
Parameters
Interf
Return Value

"-"

function "-"
  (Interf : Gtk.File_Chooser.Gtk_File_Chooser)
return Gtk_File_Chooser_Widget
Parameters
Interf
Return Value

"-"

function "-"
  (Interf : Gtk.Orientable.Gtk_Orientable)
return Gtk_File_Chooser_Widget
Parameters
Interf
Return Value

Add_Choice

procedure Add_Choice
   (Chooser       : not null access Gtk_File_Chooser_Widget_Record;
    Id            : UTF8_String;
    Label         : UTF8_String;
    Options       : GNAT.Strings.String_List;
    Option_Labels : GNAT.Strings.String_List)
Parameters
Chooser
Id
Label
Options
Option_Labels

Add_Filter

procedure Add_Filter
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    Filter  : not null access Gtk.File_Filter.Gtk_File_Filter_Record'Class)
Parameters
Chooser
Filter

Add_Shortcut_Folder

function Add_Shortcut_Folder
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    Folder  : UTF8_String) return Boolean
Parameters
Chooser
Folder
Return Value

Add_Shortcut_Folder_Uri

function Add_Shortcut_Folder_Uri
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    URI     : UTF8_String) return Boolean
Parameters
Chooser
URI
Return Value

Cb_GObject_Gint_Void

type Cb_GObject_Gint_Void is not null access procedure
  (Self           : access Glib.Object.GObject_Record'Class;
   Bookmark_Index : Glib.Gint);
Parameters
Self
Bookmark_Index

Cb_GObject_UTF8_String_Void

type Cb_GObject_UTF8_String_Void is not null access procedure
  (Self : access Glib.Object.GObject_Record'Class;
   Path : UTF8_String);
Parameters
Self
Path

Cb_GObject_Void

type Cb_GObject_Void is not null access procedure
  (Self : access Glib.Object.GObject_Record'Class);
Parameters
Self

Cb_Gtk_File_Chooser_Widget_Gint_Void

type Cb_Gtk_File_Chooser_Widget_Gint_Void is not null access procedure
  (Self           : access Gtk_File_Chooser_Widget_Record'Class;
   Bookmark_Index : Glib.Gint);
Parameters
Self
Bookmark_Index

Cb_Gtk_File_Chooser_Widget_UTF8_String_Void

type Cb_Gtk_File_Chooser_Widget_UTF8_String_Void is not null access procedure
  (Self : access Gtk_File_Chooser_Widget_Record'Class;
   Path : UTF8_String);
Parameters
Self
Path

Cb_Gtk_File_Chooser_Widget_Void

type Cb_Gtk_File_Chooser_Widget_Void is not null access procedure
  (Self : access Gtk_File_Chooser_Widget_Record'Class);
Parameters
Self

Get_Action

function Get_Action
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Gtk.File_Chooser.Gtk_File_Chooser_Action
Parameters
Chooser
Return Value

Get_Choice

function Get_Choice
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    Id      : UTF8_String) return UTF8_String
Parameters
Chooser
Id
Return Value

Get_Create_Folders

function Get_Create_Folders
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Boolean
Parameters
Chooser
Return Value

Get_Current_Folder

function Get_Current_Folder
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return UTF8_String
Parameters
Chooser
Return Value

Get_Current_Folder_Uri

function Get_Current_Folder_Uri
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return UTF8_String
Parameters
Chooser
Return Value

Get_Current_Name

function Get_Current_Name
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return UTF8_String
Parameters
Chooser
Return Value

Get_Do_Overwrite_Confirmation

function Get_Do_Overwrite_Confirmation
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Boolean
Parameters
Chooser
Return Value

Get_Extra_Widget

function Get_Extra_Widget
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Gtk.Widget.Gtk_Widget
Parameters
Chooser
Return Value

Get_Filename

function Get_Filename
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return UTF8_String
Parameters
Chooser
Return Value

Get_Filenames

function Get_Filenames
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Gtk.Enums.String_SList.GSlist
Parameters
Chooser
Return Value

Get_Filter

function Get_Filter
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Gtk.File_Filter.Gtk_File_Filter
Parameters
Chooser
Return Value

Get_Local_Only

function Get_Local_Only
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Boolean
Parameters
Chooser
Return Value

Get_Orientation

function Get_Orientation
   (Self : not null access Gtk_File_Chooser_Widget_Record)
    return Gtk.Enums.Gtk_Orientation
Parameters
Self
Return Value

Get_Preview_Filename

function Get_Preview_Filename
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return UTF8_String
Parameters
Chooser
Return Value

Get_Preview_Uri

function Get_Preview_Uri
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return UTF8_String
Parameters
Chooser
Return Value

Get_Preview_Widget

function Get_Preview_Widget
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Gtk.Widget.Gtk_Widget
Parameters
Chooser
Return Value

Get_Preview_Widget_Active

function Get_Preview_Widget_Active
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Boolean
Parameters
Chooser
Return Value

Get_Select_Multiple

function Get_Select_Multiple
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Boolean
Parameters
Chooser
Return Value

Get_Show_Hidden

function Get_Show_Hidden
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Boolean
Parameters
Chooser
Return Value

Get_Type

function Get_Type return Glib.GType
Return Value

Get_Uri

function Get_Uri
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return UTF8_String
Parameters
Chooser
Return Value

Get_Uris

function Get_Uris
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Gtk.Enums.String_SList.GSlist
Parameters
Chooser
Return Value

Get_Use_Preview_Label

function Get_Use_Preview_Label
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Boolean
Parameters
Chooser
Return Value

Gtk_File_Chooser_Widget

type Gtk_File_Chooser_Widget is access all Gtk_File_Chooser_Widget_Record'Class;

Gtk_File_Chooser_Widget_New

function Gtk_File_Chooser_Widget_New
   (Action : Gtk.File_Chooser.Gtk_File_Chooser_Action)
    return Gtk_File_Chooser_Widget

Creates a new Gtk.File_Chooser_Widget.Gtk_File_Chooser_Widget. This is a file chooser widget that can be embedded in custom windows, and it is the same widget that is used by Gtk.File_Chooser_Dialog.Gtk_File_Chooser_Dialog. Since: gtk+ 2.4

Parameters
Action

Open or save mode for the widget

Return Value

Gtk_File_Chooser_Widget_Record

type Gtk_File_Chooser_Widget_Record is new Gtk_Box_Record with null record;

Gtk_New

procedure Gtk_New
   (Self   : out Gtk_File_Chooser_Widget;
    Action : Gtk.File_Chooser.Gtk_File_Chooser_Action)

Creates a new Gtk.File_Chooser_Widget.Gtk_File_Chooser_Widget. This is a file chooser widget that can be embedded in custom windows, and it is the same widget that is used by Gtk.File_Chooser_Dialog.Gtk_File_Chooser_Dialog. Since: gtk+ 2.4 Initialize does nothing if the object was already created with another call to Initialize* or G_New.

Parameters
Self
Action

Open or save mode for the widget

Implements_Gtk_Buildable

package Implements_Gtk_Buildable is new Glib.Types.Implements
  (Gtk.Buildable.Gtk_Buildable, Gtk_File_Chooser_Widget_Record, Gtk_File_Chooser_Widget);

Implements_Gtk_File_Chooser

package Implements_Gtk_File_Chooser is new Glib.Types.Implements
  (Gtk.File_Chooser.Gtk_File_Chooser, Gtk_File_Chooser_Widget_Record, Gtk_File_Chooser_Widget);

Implements_Gtk_Orientable

package Implements_Gtk_Orientable is new Glib.Types.Implements
  (Gtk.Orientable.Gtk_Orientable, Gtk_File_Chooser_Widget_Record, Gtk_File_Chooser_Widget);

Initialize

procedure Initialize
   (Self   : not null access Gtk_File_Chooser_Widget_Record'Class;
    Action : Gtk.File_Chooser.Gtk_File_Chooser_Action)

Creates a new Gtk.File_Chooser_Widget.Gtk_File_Chooser_Widget. This is a file chooser widget that can be embedded in custom windows, and it is the same widget that is used by Gtk.File_Chooser_Dialog.Gtk_File_Chooser_Dialog. Since: gtk+ 2.4 Initialize does nothing if the object was already created with another call to Initialize* or G_New.

Parameters
Self
Action

Open or save mode for the widget

List_Filters

function List_Filters
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Glib.Object.Object_List.GSlist
Parameters
Chooser
Return Value

List_Shortcut_Folder_Uris

function List_Shortcut_Folder_Uris
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Gtk.Enums.String_SList.GSlist
Parameters
Chooser
Return Value

List_Shortcut_Folders

function List_Shortcut_Folders
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
    return Gtk.Enums.String_SList.GSlist
Parameters
Chooser
Return Value

On_Desktop_Folder

procedure On_Desktop_Folder
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_GObject_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

The ::desktop-folder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show the user's Desktop folder in the file list.

The default binding for this signal is Alt + D.

Parameters
Self
Call
Slot
After

On_Desktop_Folder

procedure On_Desktop_Folder
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_Gtk_File_Chooser_Widget_Void;
    After : Boolean := False)

The ::desktop-folder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show the user's Desktop folder in the file list.

The default binding for this signal is Alt + D.

Parameters
Self
Call
After

On_Down_Folder

procedure On_Down_Folder
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_GObject_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

The ::down-folder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser go to a child of the current folder in the file hierarchy. The subfolder that will be used is displayed in the path bar widget of the file chooser. For example, if the path bar is showing "/foo/bar/baz", with bar currently displayed, then this will cause the file chooser to switch to the "baz" subfolder.

The default binding for this signal is Alt + Down.

Parameters
Self
Call
Slot
After

On_Down_Folder

procedure On_Down_Folder
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_Gtk_File_Chooser_Widget_Void;
    After : Boolean := False)

The ::down-folder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser go to a child of the current folder in the file hierarchy. The subfolder that will be used is displayed in the path bar widget of the file chooser. For example, if the path bar is showing "/foo/bar/baz", with bar currently displayed, then this will cause the file chooser to switch to the "baz" subfolder.

The default binding for this signal is Alt + Down.

Parameters
Self
Call
After

On_Home_Folder

procedure On_Home_Folder
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_GObject_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

The ::home-folder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show the user's home folder in the file list.

The default binding for this signal is Alt + Home.

Parameters
Self
Call
Slot
After

On_Home_Folder

procedure On_Home_Folder
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_Gtk_File_Chooser_Widget_Void;
    After : Boolean := False)

The ::home-folder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show the user's home folder in the file list.

The default binding for this signal is Alt + Home.

Parameters
Self
Call
After

On_Location_Popup

procedure On_Location_Popup
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_GObject_UTF8_String_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

The ::location-popup signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show a "Location" prompt which the user can use to manually type the name of the file he wishes to select.

The default bindings for this signal are Control + L with a Path string of "" (the empty string). It is also bound to / with a Path string of "/" (a slash): this lets you type / and immediately type a path name. On Unix systems, this is bound to ~ (tilde) with a Path string of "~" itself for access to home directories.

Parameters
Self
Call
Slot
After

On_Location_Popup

procedure On_Location_Popup
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_Gtk_File_Chooser_Widget_UTF8_String_Void;
    After : Boolean := False)

The ::location-popup signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show a "Location" prompt which the user can use to manually type the name of the file he wishes to select.

The default bindings for this signal are Control + L with a Path string of "" (the empty string). It is also bound to / with a Path string of "/" (a slash): this lets you type / and immediately type a path name. On Unix systems, this is bound to ~ (tilde) with a Path string of "~" itself for access to home directories.

Parameters
Self
Call
After

On_Location_Popup_On_Paste

procedure On_Location_Popup_On_Paste
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_GObject_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

The ::location-popup-on-paste signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show a "Location" prompt when the user pastes into a Gtk.File_Chooser_Widget.Gtk_File_Chooser_Widget.

The default binding for this signal is Control + V.

Parameters
Self
Call
Slot
After

On_Location_Popup_On_Paste

procedure On_Location_Popup_On_Paste
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_Gtk_File_Chooser_Widget_Void;
    After : Boolean := False)

The ::location-popup-on-paste signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show a "Location" prompt when the user pastes into a Gtk.File_Chooser_Widget.Gtk_File_Chooser_Widget.

The default binding for this signal is Control + V.

Parameters
Self
Call
After

On_Location_Toggle_Popup

procedure On_Location_Toggle_Popup
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_GObject_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

The ::location-toggle-popup signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to toggle the visibility of a "Location" prompt which the user can use to manually type the name of the file he wishes to select.

The default binding for this signal is Control + L.

Parameters
Self
Call
Slot
After

On_Location_Toggle_Popup

procedure On_Location_Toggle_Popup
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_Gtk_File_Chooser_Widget_Void;
    After : Boolean := False)

The ::location-toggle-popup signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to toggle the visibility of a "Location" prompt which the user can use to manually type the name of the file he wishes to select.

The default binding for this signal is Control + L.

Parameters
Self
Call
After

On_Places_Shortcut

procedure On_Places_Shortcut
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_GObject_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

The ::places-shortcut signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to move the focus to the places sidebar.

The default binding for this signal is Alt + P.

Parameters
Self
Call
Slot
After

On_Places_Shortcut

procedure On_Places_Shortcut
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_Gtk_File_Chooser_Widget_Void;
    After : Boolean := False)

The ::places-shortcut signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to move the focus to the places sidebar.

The default binding for this signal is Alt + P.

Parameters
Self
Call
After

On_Quick_Bookmark

procedure On_Quick_Bookmark
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_GObject_Gint_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

The ::quick-bookmark signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser switch to the bookmark specified in the Bookmark_Index parameter. For example, if you have three bookmarks, you can pass 0, 1, 2 to this signal to switch to each of them, respectively.

The default binding for this signal is Alt + 1, Alt + 2, etc. until Alt + 0. Note that in the default binding, that Alt + 1 is actually defined to switch to the bookmark at index 0, and so on successively; Alt + 0 is defined to switch to the bookmark at index 10.

Parameters
Self
Call
Slot
After

On_Quick_Bookmark

procedure On_Quick_Bookmark
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_Gtk_File_Chooser_Widget_Gint_Void;
    After : Boolean := False)

The ::quick-bookmark signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser switch to the bookmark specified in the Bookmark_Index parameter. For example, if you have three bookmarks, you can pass 0, 1, 2 to this signal to switch to each of them, respectively.

The default binding for this signal is Alt + 1, Alt + 2, etc. until Alt + 0. Note that in the default binding, that Alt + 1 is actually defined to switch to the bookmark at index 0, and so on successively; Alt + 0 is defined to switch to the bookmark at index 10.

Parameters
Self
Call
After

On_Recent_Shortcut

procedure On_Recent_Shortcut
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_GObject_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

The ::recent-shortcut signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show the Recent location.

The default binding for this signal is Alt + R.

Parameters
Self
Call
Slot
After

On_Recent_Shortcut

procedure On_Recent_Shortcut
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_Gtk_File_Chooser_Widget_Void;
    After : Boolean := False)

The ::recent-shortcut signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show the Recent location.

The default binding for this signal is Alt + R.

Parameters
Self
Call
After

On_Search_Shortcut

procedure On_Search_Shortcut
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_GObject_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

The ::search-shortcut signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show the search entry.

The default binding for this signal is Alt + S.

Parameters
Self
Call
Slot
After

On_Search_Shortcut

procedure On_Search_Shortcut
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_Gtk_File_Chooser_Widget_Void;
    After : Boolean := False)

The ::search-shortcut signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show the search entry.

The default binding for this signal is Alt + S.

Parameters
Self
Call
After

On_Show_Hidden

procedure On_Show_Hidden
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_GObject_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

The ::show-hidden signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser display hidden files.

The default binding for this signal is Control + H.

Parameters
Self
Call
Slot
After

On_Show_Hidden

procedure On_Show_Hidden
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_Gtk_File_Chooser_Widget_Void;
    After : Boolean := False)

The ::show-hidden signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser display hidden files.

The default binding for this signal is Control + H.

Parameters
Self
Call
After

On_Up_Folder

procedure On_Up_Folder
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_GObject_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

The ::up-folder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser go to the parent of the current folder in the file hierarchy.

The default binding for this signal is Alt + Up.

Parameters
Self
Call
Slot
After

On_Up_Folder

procedure On_Up_Folder
   (Self  : not null access Gtk_File_Chooser_Widget_Record;
    Call  : Cb_Gtk_File_Chooser_Widget_Void;
    After : Boolean := False)

The ::up-folder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser go to the parent of the current folder in the file hierarchy.

The default binding for this signal is Alt + Up.

Parameters
Self
Call
After

Remove_Choice

procedure Remove_Choice
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    Id      : UTF8_String)
Parameters
Chooser
Id

Remove_Filter

procedure Remove_Filter
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    Filter  : not null access Gtk.File_Filter.Gtk_File_Filter_Record'Class)
Parameters
Chooser
Filter

Remove_Shortcut_Folder

function Remove_Shortcut_Folder
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    Folder  : UTF8_String) return Boolean
Parameters
Chooser
Folder
Return Value

Remove_Shortcut_Folder_Uri

function Remove_Shortcut_Folder_Uri
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    URI     : UTF8_String) return Boolean
Parameters
Chooser
URI
Return Value

Search_Mode_Property

Search_Mode_Property : constant Glib.Properties.Property_Boolean;

Select_All

procedure Select_All
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
Parameters
Chooser

Select_Filename

function Select_Filename
   (Chooser  : not null access Gtk_File_Chooser_Widget_Record;
    Filename : UTF8_String) return Boolean
Parameters
Chooser
Filename
Return Value

Select_Uri

function Select_Uri
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    URI     : UTF8_String) return Boolean
Parameters
Chooser
URI
Return Value

Set_Action

procedure Set_Action
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    Action  : Gtk.File_Chooser.Gtk_File_Chooser_Action)
Parameters
Chooser
Action

Set_Choice

procedure Set_Choice
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    Id      : UTF8_String;
    Option  : UTF8_String)
Parameters
Chooser
Id
Option

Set_Create_Folders

procedure Set_Create_Folders
   (Chooser        : not null access Gtk_File_Chooser_Widget_Record;
    Create_Folders : Boolean)
Parameters
Chooser
Create_Folders

Set_Current_Folder

function Set_Current_Folder
   (Chooser  : not null access Gtk_File_Chooser_Widget_Record;
    Filename : UTF8_String) return Boolean
Parameters
Chooser
Filename
Return Value

Set_Current_Folder_Uri

function Set_Current_Folder_Uri
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    URI     : UTF8_String) return Boolean
Parameters
Chooser
URI
Return Value

Set_Current_Name

procedure Set_Current_Name
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    Name    : UTF8_String)
Parameters
Chooser
Name

Set_Do_Overwrite_Confirmation

procedure Set_Do_Overwrite_Confirmation
   (Chooser                   : not null access Gtk_File_Chooser_Widget_Record;
    Do_Overwrite_Confirmation : Boolean)
Parameters
Chooser
Do_Overwrite_Confirmation

Set_Extra_Widget

procedure Set_Extra_Widget
   (Chooser      : not null access Gtk_File_Chooser_Widget_Record;
    Extra_Widget : not null access Gtk.Widget.Gtk_Widget_Record'Class)
Parameters
Chooser
Extra_Widget

Set_Filename

function Set_Filename
   (Chooser  : not null access Gtk_File_Chooser_Widget_Record;
    Filename : UTF8_String) return Boolean
Parameters
Chooser
Filename
Return Value

Set_Filter

procedure Set_Filter
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    Filter  : not null access Gtk.File_Filter.Gtk_File_Filter_Record'Class)
Parameters
Chooser
Filter

Set_Local_Only

procedure Set_Local_Only
   (Chooser    : not null access Gtk_File_Chooser_Widget_Record;
    Local_Only : Boolean)
Parameters
Chooser
Local_Only

Set_Orientation

procedure Set_Orientation
   (Self        : not null access Gtk_File_Chooser_Widget_Record;
    Orientation : Gtk.Enums.Gtk_Orientation)
Parameters
Self
Orientation

Set_Preview_Widget

procedure Set_Preview_Widget
   (Chooser        : not null access Gtk_File_Chooser_Widget_Record;
    Preview_Widget : not null access Gtk.Widget.Gtk_Widget_Record'Class)
Parameters
Chooser
Preview_Widget

Set_Preview_Widget_Active

procedure Set_Preview_Widget_Active
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    Active  : Boolean)
Parameters
Chooser
Active

Set_Select_Multiple

procedure Set_Select_Multiple
   (Chooser         : not null access Gtk_File_Chooser_Widget_Record;
    Select_Multiple : Boolean)
Parameters
Chooser
Select_Multiple

Set_Show_Hidden

procedure Set_Show_Hidden
   (Chooser     : not null access Gtk_File_Chooser_Widget_Record;
    Show_Hidden : Boolean)
Parameters
Chooser
Show_Hidden

Set_Uri

function Set_Uri
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    URI     : UTF8_String) return Boolean
Parameters
Chooser
URI
Return Value

Set_Use_Preview_Label

procedure Set_Use_Preview_Label
   (Chooser   : not null access Gtk_File_Chooser_Widget_Record;
    Use_Label : Boolean)
Parameters
Chooser
Use_Label

Signal_Desktop_Folder

Signal_Desktop_Folder : constant Glib.Signal_Name := "desktop-folder";

The ::desktop-folder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show the user's Desktop folder in the file list.

The default binding for this signal is Alt + D.

Signal_Down_Folder

Signal_Down_Folder : constant Glib.Signal_Name := "down-folder";

The ::down-folder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser go to a child of the current folder in the file hierarchy. The subfolder that will be used is displayed in the path bar widget of the file chooser. For example, if the path bar is showing "/foo/bar/baz", with bar currently displayed, then this will cause the file chooser to switch to the "baz" subfolder.

The default binding for this signal is Alt + Down.

Signal_Home_Folder

Signal_Home_Folder : constant Glib.Signal_Name := "home-folder";

The ::home-folder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show the user's home folder in the file list.

The default binding for this signal is Alt + Home.

Signal_Location_Popup

Signal_Location_Popup : constant Glib.Signal_Name := "location-popup";

The ::location-popup signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show a "Location" prompt which the user can use to manually type the name of the file he wishes to select.

The default bindings for this signal are Control + L with a Path string of "" (the empty string). It is also bound to / with a Path string of "/" (a slash): this lets you type / and immediately type a path name. On Unix systems, this is bound to ~ (tilde) with a Path string of "~" itself for access to home directories.

Signal_Location_Popup_On_Paste

Signal_Location_Popup_On_Paste : constant Glib.Signal_Name := "location-popup-on-paste";

The ::location-popup-on-paste signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show a "Location" prompt when the user pastes into a Gtk.File_Chooser_Widget.Gtk_File_Chooser_Widget.

The default binding for this signal is Control + V.

Signal_Location_Toggle_Popup

Signal_Location_Toggle_Popup : constant Glib.Signal_Name := "location-toggle-popup";

The ::location-toggle-popup signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to toggle the visibility of a "Location" prompt which the user can use to manually type the name of the file he wishes to select.

The default binding for this signal is Control + L.

Signal_Places_Shortcut

Signal_Places_Shortcut : constant Glib.Signal_Name := "places-shortcut";

The ::places-shortcut signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to move the focus to the places sidebar.

The default binding for this signal is Alt + P.

Signal_Quick_Bookmark

Signal_Quick_Bookmark : constant Glib.Signal_Name := "quick-bookmark";

The ::quick-bookmark signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser switch to the bookmark specified in the Bookmark_Index parameter. For example, if you have three bookmarks, you can pass 0, 1, 2 to this signal to switch to each of them, respectively.

The default binding for this signal is Alt + 1, Alt + 2, etc. until Alt + 0. Note that in the default binding, that Alt + 1 is actually defined to switch to the bookmark at index 0, and so on successively; Alt + 0 is defined to switch to the bookmark at index 10.

Signal_Recent_Shortcut

Signal_Recent_Shortcut : constant Glib.Signal_Name := "recent-shortcut";

The ::recent-shortcut signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show the Recent location.

The default binding for this signal is Alt + R.

Signal_Search_Shortcut

Signal_Search_Shortcut : constant Glib.Signal_Name := "search-shortcut";

The ::search-shortcut signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser show the search entry.

The default binding for this signal is Alt + S.

Signal_Show_Hidden

Signal_Show_Hidden : constant Glib.Signal_Name := "show-hidden";

The ::show-hidden signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser display hidden files.

The default binding for this signal is Control + H.

Signal_Up_Folder

Signal_Up_Folder : constant Glib.Signal_Name := "up-folder";

The ::up-folder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

This is used to make the file chooser go to the parent of the current folder in the file hierarchy.

The default binding for this signal is Alt + Up.

Subtitle_Property

Subtitle_Property : constant Glib.Properties.Property_String;

Unselect_All

procedure Unselect_All
   (Chooser : not null access Gtk_File_Chooser_Widget_Record)
Parameters
Chooser

Unselect_Filename

procedure Unselect_Filename
   (Chooser  : not null access Gtk_File_Chooser_Widget_Record;
    Filename : UTF8_String)
Parameters
Chooser
Filename

Unselect_Uri

procedure Unselect_Uri
   (Chooser : not null access Gtk_File_Chooser_Widget_Record;
    URI     : UTF8_String)
Parameters
Chooser
URI