[Vala] A couple of Vala questions
- From: Manish Jain <jude obscure yandex com>
- To: vala-list gnome org
- Subject: [Vala] A couple of Vala questions
- Date: Sat, 27 Jan 2018 21:08:11 +0530
Hi,
Being new to Vala, I am trying to understand the difference between
things that look similar but are not.
a) GTK applications written in Vala have constructors labelled as
internal (not public). Why is that so ? If a constructor is internal,
main() should not be able to access it. But main() accesses new
MyApplication() easily.
b) I can't make out any difference between GTK.Window and
GTK.ApplicationWindow. Should an application's window derive from
GTK.Window or from GTK.ApplicationWindow? They both seem to work
perfectly same.
Thanks for any tips.
Manish Jain
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]