1 static Xcls_StandardErrorDialog _StandardErrorDialog;
3 public class Xcls_StandardErrorDialog : Object
5 public Gtk.MessageDialog el;
6 private Xcls_StandardErrorDialog _this;
8 public static Xcls_StandardErrorDialog singleton()
10 if (_StandardErrorDialog == null) {
11 _StandardErrorDialog= new Xcls_StandardErrorDialog();
13 return _StandardErrorDialog;
19 public Xcls_StandardErrorDialog()
22 this.el = new Gtk.MessageDialog( null, Gtk.DialogFlags.MODAL, Gtk.MessageType.ERROR, Gtk.ButtonsType.OK, "fixme" );
28 this.el.use_markup = true;
31 this.el.response.connect( (self, response_id) => {
36 // user defined functions
37 public void show (Gtk.Window win, string msg) {
39 this.el.set_transient_for(win);