2 valac --pkg gio-2.0 --pkg posix --pkg gtk+-3.0 --pkg libnotify --pkg gtksourceview-3.0 --pkg libwnck-3.0 \
3 /tmp/StandardErrorDialog.vala -o /tmp/StandardErrorDialog
8 static int main (string[] args) {
10 new Xcls_StandardErrorDialog();
11 StandardErrorDialog.show_all();
18 public static Xcls_StandardErrorDialog StandardErrorDialog;
20 public class Xcls_StandardErrorDialog
22 public Gtk.MessageDialog el;
23 private static Xcls_StandardErrorDialog _this;
29 public Xcls_StandardErrorDialog()
31 this.el = new Gtk.MessageDialog( null, Gtk.DialogFlags.MODAL, Gtk.MessageType.ERROR, Gtk.ButtonsType.OK, "fixme" );
33 StandardErrorDialog = this;
39 this.el.use_markup = true;
42 this.el.delete_event.connect( (self, event) => {
47 this.el.response.connect( (self, response_id) => {
52 // userdefined functions
54 // skip listeners - not pipe
56 // skip text - already used
58 // skip xtype - not pipe
60 // skip |buttons - already used
62 // skip |message_type - already used
64 // skip |modal - already used
66 // skip |use_markup - already used
67 public void show (string msg) {
72 public void show_all () {
76 // skip |xns - no return type
80 // skip xvala_cls - not pipe
82 // skip xvala_xcls - not pipe
84 // skip xvala_id - not pipe