[Vala] Question about creation methods
- From: Vlad Grecescu <b100dian gmail com>
- To: Vala ML <vala-list gnome org>
- Subject: [Vala] Question about creation methods
- Date: Thu, 07 Feb 2008 15:13:35 +0200
Hello,
If a class has a creation method e.g. VBox(bool homogeneous, int
spacing) and another class is extending it e.g.
public class MyVBox : VBox {
public MyVBox () {}
}
what happends with VBox's creation method? Is MyVBox in an invalid state
because it instantiates the base class with g_object_new without any
properties?
Another question would be if base access of creation methods will be
possible in the future:
public MyVBox () {
base (true, 0); //or base.alternative_creation_method (true, 0)
}
Thank you,
Vlad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]