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