Fix #8087 - notebookpage - glade view should ignore if not tab and child
[roobuilder] / src / Builder4 / CodeInfo.vala
1 static CodeInfo  _CodeInfo;
2
3 public class CodeInfo : Object
4 {
5         public Gtk.Popover el;
6         private CodeInfo  _this;
7
8         public static CodeInfo singleton()
9         {
10                 if (_CodeInfo == null) {
11                     _CodeInfo= new CodeInfo();
12                 }
13                 return _CodeInfo;
14         }
15
16                 // my vars (def)
17
18         // ctor
19         public CodeInfo()
20         {
21                 _this = this;
22                 this.el = new Gtk.Popover();
23
24                 // my vars (dec)
25
26                 // set gobject values
27                 var child_1 = new Xcls_Paned1( _this );
28                 child_1.ref();
29                 this.el.child = child_1.el;
30         }
31
32         // user defined functions
33         public class Xcls_Paned1 : Object
34         {
35                 public Gtk.Paned el;
36                 private CodeInfo  _this;
37
38
39                         // my vars (def)
40
41                 // ctor
42                 public Xcls_Paned1(CodeInfo _owner )
43                 {
44                         _this = _owner;
45                         this.el = new Gtk.Paned( Gtk.Orientation.HORIZONTAL );
46
47                         // my vars (dec)
48
49                         // set gobject values
50                         var child_1 = new Xcls_ScrolledWindow2( _this );
51                         child_1.ref();
52                         this.el.start_child = child_1.el;
53                         var child_2 = new Xcls_Notebook4( _this );
54                         child_2.ref();
55                         this.el.end_child = child_2.el;
56                 }
57
58                 // user defined functions
59         }
60         public class Xcls_ScrolledWindow2 : Object
61         {
62                 public Gtk.ScrolledWindow el;
63                 private CodeInfo  _this;
64
65
66                         // my vars (def)
67
68                 // ctor
69                 public Xcls_ScrolledWindow2(CodeInfo _owner )
70                 {
71                         _this = _owner;
72                         this.el = new Gtk.ScrolledWindow();
73
74                         // my vars (dec)
75
76                         // set gobject values
77                         var child_1 = new Xcls_ListView3( _this );
78                         child_1.ref();
79                         this.el.child = child_1.el;
80                 }
81
82                 // user defined functions
83         }
84         public class Xcls_ListView3 : Object
85         {
86                 public Gtk.ListView el;
87                 private CodeInfo  _this;
88
89
90                         // my vars (def)
91
92                 // ctor
93                 public Xcls_ListView3(CodeInfo _owner )
94                 {
95                         _this = _owner;
96                         this.el = new Gtk.ListView( null, null );
97
98                         // my vars (dec)
99
100                         // set gobject values
101                 }
102
103                 // user defined functions
104         }
105
106
107         public class Xcls_Notebook4 : Object
108         {
109                 public Gtk.Notebook el;
110                 private CodeInfo  _this;
111
112
113                         // my vars (def)
114
115                 // ctor
116                 public Xcls_Notebook4(CodeInfo _owner )
117                 {
118                         _this = _owner;
119                         this.el = new Gtk.Notebook();
120
121                         // my vars (dec)
122
123                         // set gobject values
124                         var child_1 = new Xcls_NotebookPage5( _this  , this);
125                         child_1.ref();
126                 }
127
128                 // user defined functions
129         }
130         public class Xcls_NotebookPage5 : Object
131         {
132                 public Gtk.NotebookPage el;
133                 private CodeInfo  _this;
134
135
136                         // my vars (def)
137                 public string tab_label;
138
139                 // ctor
140                 public Xcls_NotebookPage5(CodeInfo _owner , Xcls_Notebook4 notebook)
141                 {
142                         _this = _owner;
143
144                         // my vars (dec)
145                         this.tab_label = "details";
146                         var child_1 = new Xcls_Box483( _this );
147                         child_1.ref();
148                         notebook.el.append_page( child_1 , new Gtk.Label(this.tab_label) );
149                 }
150
151                 // user defined functions
152         }
153         public class Xcls_Box483 : Object
154         {
155                 public Gtk.Box el;
156                 private CodeInfo  _this;
157
158
159                         // my vars (def)
160
161                 // ctor
162                 public Xcls_Box483(CodeInfo _owner )
163                 {
164                         _this = _owner;
165                         this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
166
167                         // my vars (dec)
168
169                         // set gobject values
170                 }
171
172                 // user defined functions
173         }
174
175
176
177
178 }