"# string ptype" : "\"\"",
"# string key" : "\"\"",
"* pack" : "add",
- "xtype" : "VBox",
+ "xtype" : "Box",
"| void show" : "(JsRender.JsRender file, JsRender.Node node, string ptype, string key)\n{\n this.ptype = ptype;\n this.key = key;\n this.node = node;\n this.file = file;\n \n string val = \"\";\n // find the text for the node..\n if (ptype == \"listener\") {\n val = node.listeners.get(key);\n \n } else {\n val = node.props.get(key);\n }\n this.view.load(val);\n this.key_edit.el.text = key; \n\n}",
"# JsRender.JsRender file" : "null",
"# bool pos" : false,
"string id" : "Editor",
"# bool dirty" : false,
"$ xns" : "Gtk",
+ "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
"@ void save" : "()",
"$ homogeneous" : false,
"# JsRender.Node node" : "null",
"items" : [
{
"* pack" : "pack_start,false,true",
- "xtype" : "HBox",
+ "xtype" : "Box",
"$ xns" : "Gtk",
+ "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
"$ homogeneous" : false,
"items" : [
{
public class Editor : Object
{
- public Gtk.VBox el;
+ public Gtk.Box el;
private Editor _this;
public static Editor singleton()
public Editor()
{
_this = this;
- this.el = new Gtk.VBox( false, 0 );
+ this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
// my vars (dec)
this.window = null;
this.node = null;
// set gobject values
- var child_0 = new Xcls_HBox2( _this );
+ this.el.homogeneous = false;
+ var child_0 = new Xcls_Box2( _this );
child_0.ref();
this.el.pack_start ( child_0.el , false,true );
var child_1 = new Xcls_RightEditor( _this );
this.key_edit.el.text = key;
}
- public class Xcls_HBox2 : Object
+ public class Xcls_Box2 : Object
{
- public Gtk.HBox el;
+ public Gtk.Box el;
private Editor _this;
// my vars (def)
// ctor
- public Xcls_HBox2(Editor _owner )
+ public Xcls_Box2(Editor _owner )
{
_this = _owner;
- this.el = new Gtk.HBox( false, 0 );
+ this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
// my vars (dec)
// set gobject values
+ this.el.homogeneous = false;
var child_0 = new Xcls_save_button( _this );
child_0.ref();
this.el.pack_start ( child_0.el , false,false );