On Sat, 2003-03-15 at 21:39, James Henstridge wrote: > Christian Reis wrote: > > >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. > >> > >> > > > >Use window['title']. It's a property. (Added FAQ 10.8)
Thanks. > > > >Would anybody find it convenient if I posted a list of all the args for > >Gtk widgets? I had to fish it out of the source code so it might at > >least save you trying to write a custom script. Which source did you find it in? > > > > > For GTK 2.0, run "help(gtk.Window)" and you will get a list of all the > signals and properties for that class. (It will only work correctly in > Python >= 2.2.2 though. For previous releases, try "print > gtk.Window.__gdoc__"). print gtk.Window.__gdoc__: AttributeError: Window print gtk.GtkWindow.__gdoc__: AttributeError: __gdoc__ print gtk.GtkWindow.__doc__: None Thanks again folks, I really appreciate the help. > > James. -- Steve McClure <[EMAIL PROTECTED]> Racemi, Inc.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/