Re: [Vala] calling the parent constructor.
- From: Andrew Higginson <at higginson gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] calling the parent constructor.
- Date: Thu, 08 Mar 2012 15:57:12 +0000
Hi Rodrigo
Hi all!
i wrote a class extending a Gtk.Dialog, on my constructor i use
"this.vbox" to put the widgets, until this comom,
but when i compile i've got a warning "assignment from incompatible pointer
type", i wonder this is because the
Dialog is no initialized at this point, even the program working i's like
to go away with the message, in python i
must call the parent init before can go on like this:
Dialog.__init__(self)
how do i make this in vala?
In Vala you don't need to do this (and cannot), it is done for you when
you compile.
I would not worry too much about warnings, however if it is causing a
problem,please reply to this with the code you use, and the problem that
you have.
HTH
--
Andrew Higginson
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]