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
43 public class Xcls_compile_view : Object
46 private Xcls_ValaCompileResults _this;
52 public Xcls_compile_view(Xcls_ValaCompileResults _owner )
55 _this.compile_view = this;
56 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
61 this.el.homogeneous = false;
62 var child_0 = new Xcls_ScrolledWindow3( _this );
64 this.el.pack_end ( child_0.el , true,true,0 );
67 // user defined functions
69 public class Xcls_ScrolledWindow3 : Object
71 public Gtk.ScrolledWindow el;
72 private Xcls_ValaCompileResults _this;
78 public Xcls_ScrolledWindow3(Xcls_ValaCompileResults _owner )
81 this.el = new Gtk.ScrolledWindow( null, null );
86 this.el.hexpand = true;
87 var child_0 = new Xcls_SourceView4( _this );
89 this.el.add ( child_0.el );
94 this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
100 // user defined functions
102 public class Xcls_SourceView4 : Object
104 public Gtk.SourceView el;
105 private Xcls_ValaCompileResults _this;
111 public Xcls_SourceView4(Xcls_ValaCompileResults _owner )
114 this.el = new Gtk.SourceView();
118 // set gobject values
119 this.el.show_line_numbers = true;
125 var description = Pango.FontDescription.from_string("monospace");
126 description.set_size(8000);
127 this.el.override_font(description);
133 // user defined functions