"items" : [
{
"listeners" : {
- "destroy_event" : " (self, event) => {\n this.el.response(0);\n// this.el.hide();\n return false;\n}"
+ "destroy_event" : "(self, event) => {\n\tthis.el.response(0);\n// this.el.hide();\n return false;\n}"
},
"default_width" : 600,
"$ deletable" : true,
"name" : "EditProject",
"items" : [
{
+ "bool expand" : true,
+ "xtype" : "Box",
"$ pack" : " get_content_area().add \n \n",
- "xtype" : "VBox",
"$ xns" : "Gtk",
+ "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
"$ homogeneous" : false,
"items" : [
{
- "xtype" : "HBox",
+ "xtype" : "Box",
"* pack" : "pack_start,false,true,3",
"$ xns" : "Gtk",
+ "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
"$ homogeneous" : false,
"items" : [
{
{
"| string getValue" : " () {\n var ix = this.el.get_active();\n if (ix < 0 ) {\n return \"\";\n }\n switch(ix) {\n case 0:\n return \"Roo\";\n case 1:\n return \"Gtk\";\n }\n return \"\";\n}\n",
"id" : "xtype",
- "* init" : " this.el.add_attribute(_this.cellrender.el , \"markup\", 1 ); \n \n ",
+ "* init" : " this.el.add_attribute(_this.cellrender.el , \"markup\", 1 ); \n ",
"xtype" : "ComboBox",
"* pack" : "pack_end,true,true,3",
"$ xns" : "Gtk",
- "| void setValue" : " (v) {\n var el = this.el;\n el.set_active(-1);\n \n for (var i =0;i < this.data.length; i++ ) {\n if (v == this.data.nth_datA(i)) {\n el.set_active(ix);\n return false;\n }\n }\n }",
"items" : [
{
"id" : "cellrender",
"$ create_folders" : false,
"id" : "dir",
"$ action" : "Gtk.FileChooserAction.SELECT_FOLDER",
+ "bool expand" : true,
"* pack" : "pack_end,true,true,5",
"xtype" : "FileChooserWidget",
"$ xns" : "Gtk",