[Vala] Heads-up on upcoming non-null support

2008-04-08 Thread Jürg Billeter
Vala differentiates between non-null and possibly-null types by means of the type suffix `?` since version 0.1.6. The advantages of distinguishing between non-null and possibly-null types are * Interface documentation for method parameters and return values * Automatic generation of r

[Vala] Type of Gtk.Dialog.vbox

2008-04-08 Thread Andrea Bolognani
Hi everybody, I recently started playing with Vala, and as an exercise I started porting a simple GTK+ application to this language. I noticed the vbox property of Gtk.Dialog is declared of type Gtk.Widget, so if I want to add a widget to the dialog I have to explicitly cast it to a Gtk.Container

Re: [Vala] Type of Gtk.Dialog.vbox

2008-04-08 Thread Vlad Grecescu
2008/4/8 Andrea Bolognani <[EMAIL PROTECTED]>: > Hi everybody, > > I recently started playing with Vala, and as an exercise I started porting > a simple GTK+ application to this language. > > I noticed the vbox property of Gtk.Dialog is declared of type Gtk.Widget, > so > if I want to add a widget