Ah, the classes generated by the generator, i.e. GObject::Object
and Gtk::Widget
have an annotation, the equivalent of the Skip
annotation in the code snippet, so I can do all this machinery only for user types, not for types generated by the binding generator.