[pygtk] not enough arguments?

Felix Rabe (public) public at felixrabe.textdriven.com
Sat Aug 5 08:56:32 WST 2006


Hi,

Christopher Spears wrote:
 > def get_path(self, widget, entry, path):

Just remove the "path" argument.  Also, since it is a callback, you 
won't ever see your return value again (it is just dismissed to 
nowhere).  Either print base_path, or set_text(base_path) on a widget.

Greetings,
Felix


More information about the pygtk mailing list