On Sat, 22 Jan 2005 12:36:56 +0000, Gustavo J. A. M. Carneiro wrote: > > raise AttributeError, "Unknown property %s" % property.name > > is not raising, when I tried to set wrong properties? > > Please, bug reports should go into bugzilla, not mailing-list.
Sorry, I didn't thought this is a bug of PyGTK. > > What version of pygtk do you have? I am currently using pygtk 2.4.1, but I tested this with CVS pygtk too. >I look at the code now in CVS and > it looks OK. Just one thing: when you raise AttributeError, pygtk just > prints the exception and clears the error indicator. This is because > sometimes do_set_property is called by gtk+/C itself, and C libraries > don't know anything about Python exceptions, so it would be confusing to > have the exception set, only to be noticed by python much later. I am getting : TypeError: the object does not support the given parameter Is it raised by pygtk? Regards, Baiju M _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
