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 C#. >> There's some more information here [1]. >> >> Jared >> >> [1] >> http://live.gnome.org/Vala/Tutorial#head-5442d562e53d8d61dad060c5f9a2ddd561d4cf98 > > I already red this part ;). I solved my problem by declaring a method > in the abstract base class and using it from the child > > like this > > public abstract class Base { > public void init(string name); > > public abstract void to_geom(); > public virtual void my_base_virtual(); > } > > public class Child { > public Child(string name) { > this.init(name); > } > > Now how can I call the Base class method in a class wo override a > method ? > public override void my_base_virtual() { > call the real Base::my_base_virtual ???
base.my_base_virtual () More info here: http://live.gnome.org/Vala/Tutorial#head-06af1c39d388981ac5a029321231ec7f041cb3d5 Gr, Thijs > } > } > > Cheers, > > Frederic > _______________________________________________ > Vala-list mailing list > Vala-list@gnome.org > http://mail.gnome.org/mailman/listinfo/vala-list > _______________________________________________ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list