FAQ Index - Search - Recent Changes - Everything - Add entry

<< Previous Entry | FAQ Entry 10.8 | Next Entry >>

10.8. How do I get the GtkWindow's title?

Just call the get_title() method of the window:

 >>> w = gtk.Window()
 >>> w.set_title('foo')
 >>> print w.get_title()
 foo

PyGTK FAQ Wizard | PyGTK Homepage | Feedback to faq at pygtk.org