X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=blobdiff_plain;f=tools%2Fbuild_gtk_tree.js;h=ee5d726e6861a0e3f9bdb186836ce19d64ddc3fb;hp=002dbbf118766079afcf54c489a0657ba85a4a5e;hb=88f4b73dc86b76d988d349da3594db6d83d21050;hpb=be3706921029d2255bd6a70440a7b6ef2ee4b139 diff --git a/tools/build_gtk_tree.js b/tools/build_gtk_tree.js index 002dbbf11..ee5d726e6 100644 --- a/tools/build_gtk_tree.js +++ b/tools/build_gtk_tree.js @@ -133,9 +133,13 @@ function BuildLists () { if (m.memberOf == 'Gtk.Buildable') { return; } - if (m.name =='add_mnemonic_label') { + //"Gtk.Widget:add_accelerator", + //"Gtk.Widget:add_device_events" + + if (m.name.match(/^(add_mnemonic_label|add_accelerator|add_device_events)$/)) { return; } + // in theory you can not add a window to anything.. ??? //if ('Gtk.Window' == addable_type || methods[addable_type].extendsClasses.indexOf('Gtk.Window') > -1) { // return; @@ -348,7 +352,7 @@ right: if (typeof(usage_left[dupe]) == 'undefined') { usage_left[dupe] = []; } - print(par+ ' is a dupe of ' + dupe); + //print(par+ ' is a dupe of ' + dupe); usage_left[dupe].pushUnique(par); break; } @@ -360,9 +364,8 @@ right: } usage = nusage; - print(JSON.stringify(nusage,null,4)); - Seed.exit(); - //print(JSON.stringify(methods['Gtk.Switch'],null,4)); + //print(JSON.stringify(nusage,null,4)); Seed.exit(); + print(JSON.stringify(methods['Gtk.TextView'],null,4)); var str = []; for(var par in usage) {