I have a gtk builder object, and I’m iterating over widgets and deciding what to do with them based on their type. How do I do this type comparison? If I use:
this_type = type( this_widget )
… I get a gi.overrides.Gtk.Window ( for example ) if this_widget was a Gtk.Window. I just want to be able to go: