| FAQ Index - Search - Recent Changes - Everything - Add entry |
5.15. How do I access one of these properties in a GObject?
Use the get_property method:
>>> w = gtk.Window()
>>> w.set_title('My Window')
>>> w.show_all()
>>> print w.get_property('modal')
False
>>> print w.get_property('title')
'My Window'
