gupnp-igd python bindings
- From: Yann Leboulanger <asterix lagaule org>
- To: gupnp-list gnome org
- Subject: gupnp-igd python bindings
- Date: Mon, 22 Aug 2011 23:23:22 +0200
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]