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 as in the code below ((Gtk.Container) dialog.vbox).add (label); Is this the intended behaviour, or rather a bug in the GTK+ binding? -- KiyuKo <eof AT kiyuko DOT org> Resistance is futile, you will be garbage collected.
Attachment:
pgpiTjnfjupGK.pgp
Description: PGP signature