src/Builder4/ValaCompileResults.bjs
[app.Builder.js] / src / Builder4 / ValaCompileResults.vala
1 static Xcls_ValaCompileResults  _ValaCompileResults;
2
3 public class Xcls_ValaCompileResults : Object
4 {
5     public Gtk.Popover el;
6     private Xcls_ValaCompileResults  _this;
7
8     public static Xcls_ValaCompileResults singleton()
9     {
10         if (_ValaCompileResults == null) {
11             _ValaCompileResults= new Xcls_ValaCompileResults();
12         }
13         return _ValaCompileResults;
14     }
15     public Xcls_compile_view compile_view;
16
17         // my vars (def)
18     public bool active;
19
20     // ctor
21     public Xcls_ValaCompileResults()
22     {
23         _this = this;
24         this.el = new Gtk.Popover( null );
25
26         // my vars (dec)
27         this.active = false;
28
29         // set gobject values
30         this.el.width_request = 600;
31         this.el.height_request = 400;
32         this.el.modal = true;
33         this.el.position = Gtk.PositionType.TOP;
34         var child_0 = new Xcls_compile_view( _this );
35         child_0.ref();
36         this.el.add (  child_0.el  );
37     }
38
39     // user defined functions
40     public class Xcls_compile_view : Object
41     {
42         public Gtk.Box el;
43         private Xcls_ValaCompileResults  _this;
44
45
46             // my vars (def)
47
48         // ctor
49         public Xcls_compile_view(Xcls_ValaCompileResults _owner )
50         {
51             _this = _owner;
52             _this.compile_view = this;
53             this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
54
55             // my vars (dec)
56
57             // set gobject values
58             this.el.homogeneous = false;
59             var child_0 = new Xcls_ScrolledWindow3( _this );
60             child_0.ref();
61             this.el.pack_end (  child_0.el , true,true,0 );
62         }
63
64         // user defined functions
65     }
66     public class Xcls_ScrolledWindow3 : Object
67     {
68         public Gtk.ScrolledWindow el;
69         private Xcls_ValaCompileResults  _this;
70
71
72             // my vars (def)
73
74         // ctor
75         public Xcls_ScrolledWindow3(Xcls_ValaCompileResults _owner )
76         {
77             _this = _owner;
78             this.el = new Gtk.ScrolledWindow( null, null );
79
80             // my vars (dec)
81
82             // set gobject values
83             this.el.hexpand = true;
84             var child_0 = new Xcls_SourceView4( _this );
85             child_0.ref();
86             this.el.add (  child_0.el  );
87
88             // init method
89
90             {
91              this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
92              
93             
94             }
95         }
96
97         // user defined functions
98     }
99     public class Xcls_SourceView4 : Object
100     {
101         public Gtk.SourceView el;
102         private Xcls_ValaCompileResults  _this;
103
104
105             // my vars (def)
106
107         // ctor
108         public Xcls_SourceView4(Xcls_ValaCompileResults _owner )
109         {
110             _this = _owner;
111             this.el = new Gtk.SourceView();
112
113             // my vars (dec)
114
115             // set gobject values
116             this.el.show_line_numbers = true;
117
118             // init method
119
120             {
121             
122                 var description =   Pango.FontDescription.from_string("monospace");
123                 description.set_size(8000);
124                 this.el.override_font(description);
125             
126             
127             }
128         }
129
130         // user defined functions
131     }
132
133
134
135 }