1 static Xcls_ValaCompileResults _ValaCompileResults;
3 public class Xcls_ValaCompileResults : Object
6 private Xcls_ValaCompileResults _this;
8 public static Xcls_ValaCompileResults singleton()
10 if (_ValaCompileResults == null) {
11 _ValaCompileResults= new Xcls_ValaCompileResults();
13 return _ValaCompileResults;
15 public Xcls_compile_view compile_view;
21 public Xcls_ValaCompileResults()
24 this.el = new Gtk.Popover( null );
30 this.el.width_request = 600;
31 this.el.height_request = 400;
33 this.el.position = Gtk.PositionType.TOP;
34 var child_0 = new Xcls_compile_view( _this );
36 this.el.add ( child_0.el );
39 // user defined functions
40 public class Xcls_compile_view : Object
43 private Xcls_ValaCompileResults _this;
49 public Xcls_compile_view(Xcls_ValaCompileResults _owner )
52 _this.compile_view = this;
53 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
58 this.el.homogeneous = false;
59 var child_0 = new Xcls_ScrolledWindow3( _this );
61 this.el.pack_end ( child_0.el , true,true,0 );
64 // user defined functions
66 public class Xcls_ScrolledWindow3 : Object
68 public Gtk.ScrolledWindow el;
69 private Xcls_ValaCompileResults _this;
75 public Xcls_ScrolledWindow3(Xcls_ValaCompileResults _owner )
78 this.el = new Gtk.ScrolledWindow( null, null );
83 this.el.hexpand = true;
84 var child_0 = new Xcls_SourceView4( _this );
86 this.el.add ( child_0.el );
91 this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
97 // user defined functions
99 public class Xcls_SourceView4 : Object
101 public Gtk.SourceView el;
102 private Xcls_ValaCompileResults _this;
108 public Xcls_SourceView4(Xcls_ValaCompileResults _owner )
111 this.el = new Gtk.SourceView();
115 // set gobject values
116 this.el.show_line_numbers = true;
122 var description = Pango.FontDescription.from_string("monospace");
123 description.set_size(8000);
124 this.el.override_font(description);
130 // user defined functions