4 ms·
Hello, World in GTK with Vala
- GrumpyNl 5y agoThats a lot of code to write "Hello world".
- brnt 5y agoMost (all?) GUI frameworks are indeed frameworks, and require a bit of ceremony.
- hactually 5y agoLove Gnome, love Gtk... But damn do I hate Vala. Esp that it compiles to C and you get to debug both I wish that JS/Go/C were where they ended up as the languages for the platform.
- sp1rit 5y ago> For the purpose of the demonstration, we're going to use Gtk.Grid to create a grid container widget. why exactly? a GtkBox is would do just fine, looks better and it's easier to handle programmatically than the grid.
- chauhankiran 5y agoNo specific reason. I just pick Grid and continue with it.
- dylan-m 5y agoI like that this goes straight into more advanced topics after doing the basic “Hello world” thing. One suggestion: once you ended up with three copies of that label I was thinking that’s a good opportunity to do some property binding, which is an extremely useful feature.