Support GObject property access as direct Python object attributes
Submitted by Simon Feltman
The request for accessing GObject properties directly has come up a few times. Furthermore, both vala and gjs support direct property accessors as follows:
button = Gtk.Button() button.label
Implementing this should be trivial in the sense that we just need to implement getattr and setattr which could be done purely in Python and return the results of get/set_property() with TypeError exceptions translated to AttributeErrors.