On Wed, Mar 12, 2003 at 06:55:18PM -0500, Steve McClure wrote:
> I need to augment titles, at runtime, of dialogs created with Glade. I
> don't see anything in the API to do a get_title, but there is a
> GtkWindow.title attribute in the GTK docs. I can't even get to
> GtkWindow attributes in my code though, I keep getting attribute errors
> when I do a dialog.window_position where dialog is a GtkDialog instance.
>
> I'm using 0.6.8
Upgrade to pygtk2:
[EMAIL PROTECTED]:~$ python
Python 2.2.2 (#1, Jan 18 2003, 10:18:59)
[GCC 3.2.2 20030109 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>> pygtk.require("2.0")
>>> import gtk
>>> gtk.Window().title
>>> w=gtk.Window()
>>> w.set_title("TEST")
>>> w.title
'TEST'Andreas
pgp00000.pgp
Description: PGP signature
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
