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 void show () {
41     
42     }
43     public class Xcls_compile_view : Object
44     {
45         public Gtk.Box el;
46         private Xcls_ValaCompileResults  _this;
47
48
49             // my vars (def)
50
51         // ctor
52         public Xcls_compile_view(Xcls_ValaCompileResults _owner )
53         {
54             _this = _owner;
55             _this.compile_view = this;
56             this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
57
58             // my vars (dec)
59
60             // set gobject values
61             this.el.homogeneous = false;
62             var child_0 = new Xcls_ScrolledWindow3( _this );
63             child_0.ref();
64             this.el.pack_end (  child_0.el , true,true,0 );
65         }
66
67         // user defined functions
68     }
69     public class Xcls_ScrolledWindow3 : Object
70     {
71         public Gtk.ScrolledWindow el;
72         private Xcls_ValaCompileResults  _this;
73
74
75             // my vars (def)
76
77         // ctor
78         public Xcls_ScrolledWindow3(Xcls_ValaCompileResults _owner )
79         {
80             _this = _owner;
81             this.el = new Gtk.ScrolledWindow( null, null );
82
83             // my vars (dec)
84
85             // set gobject values
86             this.el.hexpand = true;
87             var child_0 = new Xcls_SourceView4( _this );
88             child_0.ref();
89             this.el.add (  child_0.el  );
90
91             // init method
92
93             {
94              this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
95              
96             
97             }
98         }
99
100         // user defined functions
101     }
102     public class Xcls_SourceView4 : Object
103     {
104         public Gtk.SourceView el;
105         private Xcls_ValaCompileResults  _this;
106
107
108             // my vars (def)
109
110         // ctor
111         public Xcls_SourceView4(Xcls_ValaCompileResults _owner )
112         {
113             _this = _owner;
114             this.el = new Gtk.SourceView();
115
116             // my vars (dec)
117
118             // set gobject values
119             this.el.show_line_numbers = true;
120
121             // init method
122
123             {
124             
125                 var description =   Pango.FontDescription.from_string("monospace");
126                 description.set_size(8000);
127                 this.el.override_font(description);
128             
129             
130             }
131         }
132
133         // user defined functions
134     }
135
136
137
138 }