[Vala] how to call the base class constructor
- From: picca <picca synchrotron-soleil Fr>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] how to call the base class constructor
- Date: Fri, 8 Aug 2008 12:08:28 +0200
re-Hello
I have this
public class Base {
string name;
public Base(string name) {
this.name = name;
}
}
then
public class Child {
public Child(string name) {
/* how to call the Base class constructor */
Base(name)
}
}
so how can I call the base constructor and more generaly a Base class
method ?
Thanks
Frederic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]