3 Pango = imports.gi.Pango;
4 GLib = imports.gi.GLib;
6 GObject = imports.gi.GObject;
7 GtkSource = imports.gi.GtkSource;
8 WebKit = imports.gi.WebKit;
10 console = imports.console;
11 XObject = imports.XObject.XObject;
12 DialogConfirm=new XObject({
13 xtype: Gtk.MessageDialog,
14 'void:show_all' : () {
18 delete_event : (event) => {
24 title : "Please Confirm d",
25 buttons : Gtk.ButtonsType.YES_NO,
26 message_type : Gtk.MessageType.QUESTION,
28 'void:show' : (string msg) {
29 //if (!this.el) { this.init(); }
30 //this.success = success;
38 XObject.cache['/DialogConfirm'] = DialogConfirm;