Gtk.AppChooserDialog

const Gtk = imports.gi.Gtk;

let app_chooser_dialog = new Gtk.AppChooserDialog({
    gfile: value,
    heading: value,
});
  

Gtk.AppChooserDialog shows a Gtk.AppChooserWidget inside a Gtk.Dialog.

Note that Gtk.AppChooserDialog does not have any interesting methods of its own. Instead, you should get the embedded Gtk.AppChooserWidget using Gtk.get_widget and call its methods if the generic Gtk.AppChooser interface is not sufficient for your needs.

To set the heading that is shown above the Gtk.AppChooserWidget, use Gtk.set_heading.

Hierarchy

  • GObject.Object
    • GObject.InitiallyUnowned
      • Gtk.Widget
        • Gtk.Container
          • Gtk.Bin
            • Gtk.Window
              • Gtk.Dialog
                • Gtk.AppChooserDialog