Hello there,
Asking James because he might have a good clue. In pygtk0's gtk.py, we
have:
class GtkObject:
[...]
def destroy(self, _obj=None):
_gtk.gtk_object_destroy(self._o)
and then
class GtkWidget:
def destroy(self, obj=None):
_gtk.gtk_widget_destroy(self._o)
If you look closely, we have _obj=None and obj=None. Is this for some
special reason? It happens in some other functions:
[...]
def activate(self, obj=None):
return _gtk.gtk_widget_activate(self._o)
[...]
It happens to not be used anywhere as far as I can see.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/