"delete_event" : "(self, event) => {\n this.el.hide();\n return true; \n //test \n}\n ",
"response" : "(self, response_id) => { \n \n this.el.hide();\n \n}"
},
- "default_width" : 600,
+ "default_width" : 800,
"$ deletable" : true,
"| void show" : "() {\n\n \n this.el.set_deletable(false);\n this.el.set_gravity(Gdk.Gravity.NORTH);\n this.el.move(Gdk.Screen.width() / 2 ,0);\n this.el.show_all();\n // load clones..\n// this.get('/reposStore').load();\n \n //this.get('/ok_button').el.set_sensitive(false);\n \n // block until we return.\n// var run_ret = this.el.run();\n// if (run_ret < 1 ) {\n// return \"DONE\";\n// }\n// print(\"RUN RETURN : \" + run_ret);\n// return \"DONE\";\n //print(JSON.stringify(this.get('bug').getValue()));\n // return this.get('bug').getValue();\n //this.success = c.success;\n}\n",
"title" : "Manage Clones",
{
"* init" : " {\n \n this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n}\n",
"bool expand" : true,
+ "bool hexpand" : true,
"xtype" : "ScrolledWindow",
"* pack" : "pack_end,false,false,0",
"Gtk.ShadowType shadow_type" : "Gtk.ShadowType.IN",
{
"label" : "Close",
"id" : "ok_button",
+ "bool expand" : false,
"* pack" : "add_action_widget,1 ",
"xtype" : "Button",
"$ xns" : "Gtk"
this.el.title = "Manage Clones";
this.el.border_width = 3;
this.el.default_height = 500;
- this.el.default_width = 600;
+ this.el.default_width = 800;
this.el.deletable = true;
this.el.modal = true;
var child_0 = new Xcls_Box2( _this );
// set gobject values
this.el.expand = true;
+ this.el.hexpand = true;
this.el.shadow_type = Gtk.ShadowType.IN;
var child_0 = new Xcls_reposView( _this );
child_0.ref();
// my vars (dec)
// set gobject values
+ this.el.expand = false;
this.el.label = "Close";
}