"* pack" : "pack_start,false,false,0",
"xtype" : "Label",
"$ xns" : "Gtk"
+ },
+ {
+ "* pack" : "pack_start,false,false,0",
+ "xtype" : "HBox",
+ "gboolean expand" : false,
+ "$ xns" : "Gtk",
+ "$ homogeneous" : false,
+ "items" : [
+ {
+ "label" : "HTML template file",
+ "xtype" : "Label",
+ "* pack" : "pack_start,false,false,0",
+ "$ xns" : "Gtk"
+ },
+ {
+ "id" : "base_template",
+ "xtype" : "Entry",
+ "* pack" : "add",
+ "$ xns" : "Gtk"
+ }
+ ]
+ },
+ {
+ "* pack" : "pack_start,false,false,0",
+ "xtype" : "HBox",
+ "gboolean expand" : false,
+ "$ xns" : "Gtk",
+ "$ homogeneous" : false,
+ "items" : [
+ {
+ "label" : "root URL",
+ "xtype" : "Label",
+ "* pack" : "pack_start,false,false,0",
+ "$ xns" : "Gtk"
+ },
+ {
+ "id" : "rootURL",
+ "xtype" : "Entry",
+ "* pack" : "add",
+ "$ xns" : "Gtk"
+ }
+ ]
+ },
+ {
+ "* pack" : "pack_start,true,true,0",
+ "xtype" : "ScrolledWindow",
+ "$ xns" : "Gtk",
+ "items" : [
+ {
+ "listeners" : {
+ "key_release_event" : " ( event) =>{\n if (event.keyval != 115) {\n return false;\n \n }\n if ( (event.state & Gdk.ModifierType.CONTROL_MASK ) < 1 ) {\n return false;\n }\n var buf = this.el.get_buffer();\n Gtk.TextIter s;\n Gtk.TextIter e;\n buf.get_start_iter(out s);\n buf.get_end_iter(out e);\n _this.project.runhtml = buf.get_text(s,e,true);\n \n \n _this.buttonPressed(\"save\");\n \n return false;\n \n}"
+ },
+ "id" : "view",
+ "* init" : " \n var description = Pango.FontDescription.from_string(\"monospace\");\n description.set_size(9000);\n this.el.override_font(description);",
+ "xtype" : "View",
+ "* pack" : "add",
+ "$ xns" : "GtkSource"
+ }
+ ]
}
]
}
]
- },
- {
- "* pack" : "pack_start,false,false,0",
- "xtype" : "HBox",
- "gboolean expand" : false,
- "$ xns" : "Gtk",
- "$ homogeneous" : false,
- "items" : [
- {
- "label" : "HTML template file",
- "xtype" : "Label",
- "* pack" : "pack_start,false,false,0",
- "$ xns" : "Gtk"
- },
- {
- "id" : "base_template",
- "xtype" : "Entry",
- "* pack" : "add",
- "$ xns" : "Gtk"
- }
- ]
- },
- {
- "* pack" : "pack_start,false,false,0",
- "xtype" : "HBox",
- "gboolean expand" : false,
- "$ xns" : "Gtk",
- "$ homogeneous" : false,
- "items" : [
- {
- "label" : "root URL",
- "xtype" : "Label",
- "* pack" : "pack_start,false,false,0",
- "$ xns" : "Gtk"
- },
- {
- "id" : "rootURL",
- "xtype" : "Entry",
- "* pack" : "add",
- "$ xns" : "Gtk"
- }
- ]
- },
- {
- "* pack" : "pack_start,true,true,0",
- "xtype" : "ScrolledWindow",
- "$ xns" : "Gtk",
- "items" : [
- {
- "listeners" : {
- "key_release_event" : " ( event) =>{\n if (event.keyval != 115) {\n return false;\n \n }\n if ( (event.state & Gdk.ModifierType.CONTROL_MASK ) < 1 ) {\n return false;\n }\n var buf = this.el.get_buffer();\n Gtk.TextIter s;\n Gtk.TextIter e;\n buf.get_start_iter(out s);\n buf.get_end_iter(out e);\n _this.project.runhtml = buf.get_text(s,e,true);\n \n \n _this.buttonPressed(\"save\");\n \n return false;\n \n}"
- },
- "id" : "view",
- "* init" : " \n var description = Pango.FontDescription.from_string(\"monospace\");\n description.set_size(9000);\n this.el.override_font(description);",
- "xtype" : "View",
- "* pack" : "add",
- "$ xns" : "GtkSource"
- }
- ]
}
]
}
var child_0 = new Xcls_Notebook2( _this );
child_0.ref();
this.el.pack_start ( child_0.el , true,true,0 );
- var child_1 = new Xcls_HBox11( _this );
- child_1.ref();
- this.el.pack_start ( child_1.el , false,false,0 );
- var child_2 = new Xcls_HBox14( _this );
- child_2.ref();
- this.el.pack_start ( child_2.el , false,false,0 );
- var child_3 = new Xcls_ScrolledWindow17( _this );
- child_3.ref();
- this.el.pack_start ( child_3.el , true,true,0 );
}
// user defined functions
var child_2 = new Xcls_Label10( _this );
child_2.ref();
this.el.pack_start ( child_2.el , false,false,0 );
+ var child_3 = new Xcls_HBox11( _this );
+ child_3.ref();
+ this.el.pack_start ( child_3.el , false,false,0 );
+ var child_4 = new Xcls_HBox14( _this );
+ child_4.ref();
+ this.el.pack_start ( child_4.el , false,false,0 );
+ var child_5 = new Xcls_ScrolledWindow17( _this );
+ child_5.ref();
+ this.el.pack_start ( child_5.el , true,true,0 );
}
// user defined functions