Hi all,
I'm recently writing a library in Vala and want to create bindings for
Python. I'm experiencing a weird problem, at least for me: in Vala I
define a constructor for my object, let's call it Foo:
namespace MyNamespace {
class Foo : Object {
public Foo() {
/* Some code to execute */
}
/* other methods definitions */
}
}
After that I compile my library and use it from Python through the
introspection.. The problem is that in Python creating my object in
this way:
myFoo = MyNamespace.Foo()
my object is successfully created but its constructor code I specified
is never called... Why this? How can I call some code during the
creation of my object?
Thanks in advance,
Regards
--
=.4ndrea.Stagi.=
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list