{
- "id": "file-gtk-18",
+ "id": "file-gtk-17",
"name": "Window",
"parent": "",
"title": false,
"listeners": {},
"items": [
{
- "id": "class-list-store",
- "xtype": "ListStore",
- "|init": " function() \n {\n XObject.prototype.init.call(this);\n this.el.set_column_types ( 6, [\n GObject.TYPE_STRING, \n GObject.TYPE_BOOLEAN, \n GObject.TYPE_STRING, \n GObject.TYPE_STRING, \n GObject.TYPE_STRING, \n GObject.TYPE_STRING \n ] );\n \n }",
- "|xns": "Gtk"
+ "xtype": "TreeModelFilter",
+ "|xns": "Gtk",
+ "|init": "function() {\n XObject.prototype.init.call(this);\n}\n",
+ "listeners": {},
+ "items": [
+ {
+ "id": "class-list-store",
+ "pack": false,
+ "xtype": "ListStore",
+ "|init": " function() \n {\n XObject.prototype.init.call(this);\n this.el.set_column_types ( 6, [\n GObject.TYPE_STRING, \n GObject.TYPE_BOOLEAN, \n GObject.TYPE_BOOLEAN, \n GObject.TYPE_STRING, \n GObject.TYPE_STRING, \n GObject.TYPE_STRING \n ] );\n \n }",
+ "|xns": "Gtk"
+ }
+ ]
},
{
"title": "Class",
"xtype": "TreeViewColumn",
"|xns": "Gtk",
+ "expand": true,
+ "listeners": {},
"items": [
{
"xtype": "CellRendererText",
"items": [
{
"listeners": {
- "toggled": "function (self, path) {\n print(\"TOGGLE\");\n // this.list\n return;\n var list = this.get('class-list-store');\n \n var old = list.getValue(path, 1);\n list.setValue(path, 1, !old)\n \n \n \n \n}"
+ "toggled": "function (self, path) {\n print(\"TOGGLE\");\n // this.list\n\n\n \n var old = this.list.getValue(path, 1);\n // print(JSON.stringify(old));\n this.list.setValue(path, 1, old ? false : true)\n \n \n \n \n}"
},
"activatable": true,
"xtype": "CellRendererToggle",
{
"id": "method-list-store",
"xtype": "ListStore",
+ "|init": " function() \n {\n XObject.prototype.init.call(this);\n this.el.set_column_types ( 6, [\n GObject.TYPE_STRING, \n GObject.TYPE_BOOLEAN, \n GObject.TYPE_STRING, \n GObject.TYPE_STRING, \n GObject.TYPE_STRING, \n GObject.TYPE_STRING \n ] );\n \n }",
"|xns": "Gtk"
},
{
"title": "Methods",
"xtype": "TreeViewColumn",
"|xns": "Gtk",
+ "expand": true,
+ "listeners": {},
"items": [
{
"xtype": "CellRendererText",
"listeners": {}
}
]
+ },
+ {
+ "title": "Active",
+ "xtype": "TreeViewColumn",
+ "|xns": "Gtk",
+ "listeners": {},
+ "items": [
+ {
+ "listeners": {
+ "toggled": "function (self, path) {\n print(\"TOGGLE\");\n // this.list\n\n\n \n var old = this.list.getValue(path, 1);\n // print(JSON.stringify(old));\n this.list.setValue(path, 1, old ? false : true)\n \n \n \n \n}"
+ },
+ "activatable": true,
+ "xtype": "CellRendererToggle",
+ "|xns": "Gtk"
+ }
+ ]
}
]
}
{
"id": "children-list-store",
"xtype": "ListStore",
+ "|init": " function() \n {\n XObject.prototype.init.call(this);\n this.el.set_column_types ( 6, [\n GObject.TYPE_STRING, \n GObject.TYPE_BOOLEAN, \n GObject.TYPE_STRING, \n GObject.TYPE_STRING, \n GObject.TYPE_STRING, \n GObject.TYPE_STRING \n ] );\n \n }",
"|xns": "Gtk"
},
{
"title": "Child classes",
"xtype": "TreeViewColumn",
"|xns": "Gtk",
+ "expand": true,
+ "listeners": {},
"items": [
{
"xtype": "CellRendererText",
"listeners": {}
}
]
+ },
+ {
+ "title": "Active",
+ "xtype": "TreeViewColumn",
+ "|xns": "Gtk",
+ "listeners": {},
+ "items": [
+ {
+ "listeners": {
+ "toggled": "function (self, path) {\n print(\"TOGGLE\");\n // this.list\n\n\n \n var old = this.list.getValue(path, 1);\n // print(JSON.stringify(old));\n this.list.setValue(path, 1, old ? false : true)\n \n \n \n \n}"
+ },
+ "activatable": true,
+ "xtype": "CellRendererToggle",
+ "|xns": "Gtk"
+ }
+ ]
}
]
}