Gtk.Dialog.new

function new():Gtk.Widget {
    // Gjs wrapper for gtk_dialog_new()
}

Creates a new dialog box.

Widgets should not be packed into this Gtk.Window directly, but into the @vbox and @action_area, as described above.

Returns

the new dialog as a Gtk.Widget