gupnp-igd python bindings



Hi all,

I have a question about python binding for gupnp.igd.Simple:

in the C function, the constructor get a glib main context. This is nice in case we run a GTK program, we can give it the current main context.

But with python binding, it seems it's not possible:

>>> s = gupnp.igd.Simple(ctx)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: GObject.__init__() takes exactly 0 arguments (1 given)

how can I use my gtk main contact in gupnp?

Thanks in advance for your help
--
Yann


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]