"items" : [
{
"label" : "Project type :",
- "* pack" : "pack_start,false,true,3",
"xtype" : "Label",
+ "* pack" : "pack_start,false,true,3",
"$ xns" : "Gtk"
},
{
"| 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",
- "| 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 }",
- "* init" : " this.el.add_attribute(_this.cellrender.el , \"markup\", 1 ); \n \n",
+ "* init" : " this.el.add_attribute(_this.cellrender.el , \"markup\", 1 ); \n \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",
- "xtype" : "CellRendererText",
"* pack" : "pack_start,true",
+ "xtype" : "CellRendererText",
"$ xns" : "Gtk"
},
{
"id" : "model",
- "* pack" : "set_model",
"xtype" : "ListStore",
+ "* pack" : "set_model",
"$ columns" : "typeof(string),typeof(string)",
"n_columns" : 2,
"$ xns" : "Gtk",
},
{
"label" : "OK",
- "xtype" : "Button",
"* pack" : "add_action_widget,1",
+ "xtype" : "Button",
"$ xns" : "Gtk"
},
{
"label" : "Cancel",
- "* pack" : "add_action_widget,0",
"xtype" : "Button",
+ "* pack" : "add_action_widget,0",
"$ xns" : "Gtk"
}
]