- var ns_list = [ 'Gtk' , 'Gdk', 'Pango', 'GtkSource', 'WebKit', 'Vte'] ; //NameSpace.namespaces();
+ var ns_list = [ 'Gtk' , 'Gdk', 'Pango', 'GtkSource', 'WebKit', 'Vte', 'GtkClutter'] ; //NameSpace.namespaces();
ns_list = ns_list.sort();
// let's try and load them, so we find out early what will fail.
if (m.memberOf == 'Gtk.Buildable') {
return;
}
+ if (m.name =='add_mnemonic_label') {
+ 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;
}
var nusage = {};
+ var usage_left = {};
for(var par in usage) {
// see if the parent can be added to something.
if (!canTop(par)) {
continue;
}
+
+ for(var dupe in usage) {
+ if (usage[par].join(',') == usage[dupe].join(',') &&
+ typeof(nusage[par]) != 'undefined') {
+ duped = true;
+ if (usage_left[dupe] == 'undefined') {
+ usage_left[dupe] = [];
+ }
+ usage_left[dupe].pushUnique(par);
+ break;
+ }
+ }
+ if (typeof(usage_left[par]) != 'undefined') {
+ continue;
+ }
nusage[par] = usage[par];
}
print(JSON.stringify(methods['Gtk.Switch'],null,4));
-
+ var str = '';
+ for(var par in usage) {
+ str.push('left');
+ str.push(' ' + par);
+ if (typeof(usage_left[par]) != 'undefined') {
+
+ }
//print(JSON.stringify(implementations ,null,4));
/*