Bingo, that works. Thanks!
Fredrik Lundh wrote: > [EMAIL PROTECTED] wrote: > > > > The invokation of the foo-function goes somewhere in the line of: > > > > PyObject *up = PyBool_FromLong(1L); > > if (! up) PyErr_Print(); > > > > PyObject *res = PyObject_CallFunction(action.u.button.u.s, > > "(NIH)", > > what happens if you use "(OIH)" instead ? > > </F> -- http://mail.python.org/mailman/listinfo/python-list