On Thu, Oct 1, 2009 at 7:04 PM, Jan Hudec <b...@ucw.cz> wrote:
> On Thu, Oct 01, 2009 at 09:43:39 +0200, Xavier Bestel wrote:
>> Does that mean that sbuclassing a non-Vala GObject is different from
>> subclassing a Vala one ?
>
> Well, somewhat. For non-vala classes, you can't call non-default
> constructors. They always have a default one (even though none is declared)
> and construct properties, that you set instead of passing parameters to the
> base constructor. That should be the only difference, though.
>
>> Is there a wiki page describing this clearly for simple minds like me ?
>
> The tutorial explains the "GObject-style construction" somewhat, but I am not
> sure it mentions this constraint on deriving non-vala classes.

Yes, it would be great if this could be made somewhat more clear.
Anyway, thanks a lot for the detailed explanation.

regards
Philipp
_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to