this.init_node_defaults();
this.init_child_defaults();
- //foreach(var m in this.map) {
- // GLib.debug("Usage: %s", m.to_string());
- // }
+ foreach(var m in this.map) {
+ GLib.debug("Usage: %s", m.to_string());
+ }
}
public void build_generic_children(Gee.HashMap<string,GirObject> classes)
{
+
+ GLib.debug("Build Generic Children");
foreach(var cls in classes.values) {
var fqn = cls.fqn();
if (is_black) {
continue;
}
+ GLib.debug("Build Generic Children - add %s", fqn);
this.generic_child_widgets.add(fqn);
prop.name == "related_action" || // not sure if we should disable this.
prop.name == "visible_child" ||
prop.name == "attach_widget" || // gtk menu
- prop.name == "relative_to" // popover
-
+ prop.name == "relative_to" || // popover
+ // gtk4
+ prop.name == "default_widget" ||
+ prop.name == "focus_widget" ||
+ prop.name == "root" ||
+ prop.name == "layout_manager" ||
+ 1 == 0
) {
continue;
var propcls = this.getClass(prop.type);
- if (propcls == null) {
+ if (propcls == null || propcls.name == "GLib.Object")) { // no point in adding generic glib objects
continue;
}