picca wrote:
so how can I call the base constructor and more generaly a Base class
method ?
Hi,
the base constructor gets called implicitly. If you have construction
parameters you have to set them explicitly in the child class:
public class Base : Object {
public string name { private g
> base.my_base_virtual ()
> More info here:
> http://live.gnome.org/Vala/Tutorial#head-06af1c39d388981ac5a029321231ec7f041cb3d5
Tank you
Sorry I missed the last paragraph...
Cheers, Frerderic
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.g
Hi,
On Fri, Aug 8, 2008 at 3:15 PM, picca <[EMAIL PROTECTED]> wrote:
> Le Fri, 8 Aug 2008 23:03:20 +1000,
> "Jared Moore" <[EMAIL PROTECTED]> a écrit :
>
>> Hi,
>>
>> As far as I know that's not possible at the moment in vala. The way
>> that objects are constructed is quite different from Java or
Le Fri, 8 Aug 2008 23:03:20 +1000,
"Jared Moore" <[EMAIL PROTECTED]> a écrit :
> Hi,
>
> As far as I know that's not possible at the moment in vala. The way
> that objects are constructed is quite different from Java or C#.
> There's some more information here [1].
>
> Jared
>
> [1]
> http://li
Hi,
As far as I know that's not possible at the moment in vala. The way
that objects are constructed is quite different from Java or C#.
There's some more information here [1].
Jared
[1]
http://live.gnome.org/Vala/Tutorial#head-5442d562e53d8d61dad060c5f9a2ddd561d4cf98
On Fri, Aug 8, 2008 at 8:
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)