"delete_event" : "(self, event) => {\n this.el.hide();\n return true; \n //test \n}\n "
},
"string tmpjs" : "",
- "utf8 title" : "Add / Edit Component",
"id" : "DialogPluginWebkit",
+ "utf8 title" : "Add / Edit Component",
"gint default_height" : 500,
"gboolean deletable" : true,
"xtype" : "Dialog",
"string result_json" : "",
"items" : [
{
- "xtype" : "VBox",
+ "xtype" : "Box",
"$ pack" : "get_content_area().add",
"gboolean homogeneous" : false,
"$ xns" : "Gtk",
"items" : [
{
"* init" : " this.el.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n \n",
- "xtype" : "ScrolledWindow",
"* pack" : "pack_start,false,true,3",
+ "xtype" : "ScrolledWindow",
"gboolean expand" : true,
"$ xns" : "Gtk",
"items" : [
},
{
"label" : "Reload",
- "* pack" : "add_action_widget,3",
"xtype" : "Button",
+ "* pack" : "add_action_widget,3",
"$ xns" : "Gtk"
},
{
"label" : "Cancel",
- "xtype" : "Button",
"* pack" : "add_action_widget,0",
+ "xtype" : "Button",
"$ xns" : "Gtk"
},
{
"label" : "OK",
- "* pack" : "add_action_widget,1",
"xtype" : "Button",
+ "* pack" : "add_action_widget,1",
"$ xns" : "Gtk"
}
]
this.el.default_width = 750;
this.el.deletable = true;
this.el.modal = true;
- var child_0 = new Xcls_VBox2( _this );
+ var child_0 = new Xcls_Box2( _this );
child_0.ref();
this.el.get_content_area().add ( child_0.el );
var child_1 = new Xcls_Button5( _this );
}
- public class Xcls_VBox2 : Object
+ public class Xcls_Box2 : Object
{
- public Gtk.VBox el;
+ public Gtk.Box el;
private Xcls_DialogPluginWebkit _this;
// my vars (def)
// ctor
- public Xcls_VBox2(Xcls_DialogPluginWebkit _owner )
+ public Xcls_Box2(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
- this.el = new Gtk.VBox( false, 0 );
+ this.el = new Gtk.Box( null, 0 );
// my vars (dec)
// set gobject values
+ this.el.homogeneous = false;
var child_0 = new Xcls_ScrolledWindow3( _this );
child_0.ref();
this.el.pack_start ( child_0.el , false,true,3 );