FileChooserWidget


Object Hierarchy:

Gtk.FileChooserWidget Gtk.FileChooserWidget Gtk.FileChooserWidget Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.FileChooserWidget GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Gtk.FileChooserWidget Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.FileChooserWidget Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Gtk.FileChooserWidget Gtk.ConstraintTarget->Gtk.Widget Gtk.FileChooser Gtk.FileChooser Gtk.FileChooser->Gtk.FileChooserWidget

Description:

[ CCode ( type_id = "gtk_file_chooser_widget_get_type ()" ) ]
[ Version ( deprecated = true , deprecated_since = "4.10" ) ]
public sealed class FileChooserWidget : Widget, Accessible, Buildable, ConstraintTarget, FileChooser

Warning: FileChooserWidget is deprecated since 4.10.

`GtkFileChooserWidget` is a widget for choosing files.

Note:

Direct use of `GtkFileChooserWidget` is deprecated

It exposes the [iface@Gtk.FileChooser] interface, and you should use the methods of this interface to interact with the widget.

Shortcuts and Gestures

`GtkFileChooserWidget` supports the following keyboard shortcuts:

  • <kbd>Shift</kbd>+<kbd>F10</kbd> or <kbd>Menu</kbd> opens the context menu.

The following signals have default keybindings:

  • [signal@Gtk.FileChooserWidget:GtkFileChooserWidget:desktop-folder]
  • [signal@Gtk.FileChooserWidget:GtkFileChooserWidget:down-folder]
  • [signal@Gtk.FileChooserWidget:GtkFileChooserWidget:home-folder]
  • [signal@Gtk.FileChooserWidget:GtkFileChooserWidget:location-popup]
  • [signal@Gtk.FileChooserWidget:GtkFileChooserWidget:location-popup-on-paste]
  • [signal@Gtk.FileChooserWidget:GtkFileChooserWidget:location-toggle-popup]
  • [signal@Gtk.FileChooserWidget:GtkFileChooserWidget:places-shortcut]
  • [signal@Gtk.FileChooserWidget:GtkFileChooserWidget:quick-bookmark]
  • [signal@Gtk.FileChooserWidget:GtkFileChooserWidget:recent-shortcut]
  • [signal@Gtk.FileChooserWidget:GtkFileChooserWidget:search-shortcut]
  • [signal@Gtk.FileChooserWidget:GtkFileChooserWidget:show-hidden]
  • [signal@Gtk.FileChooserWidget:GtkFileChooserWidget:up-folder]

CSS nodes

`GtkFileChooserWidget` has a single CSS node with name filechooser.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Widget