> From: Sascha Manns <sascha.ma...@mailbox.org> > Sent: Wednesday, 5 April 2017, 11:57 > Subject: Re: [Vala] Button not visible
> To work with signals i like to use *.clicked.connect. So i tried > box_pack_start (Gtk.Button revision = new Gtk.Button.with_label ("Add > new Revision")); Now you have a grasp of the basic concepts - top level window, layout containers, widgets and signals - you might want to look at GTK+ composite templates in Vala. You write a GtkBuildable UI file (XML in an editor or using Glade). This lets you group your windows/dialogs with their child widgets and identify the signals. You then use GResource to embed the UI files and the [GtkTemplate], [GtkChild] and [GtkCallback] attributes in Vala to wire up the UI code. For an example see: https://mail.gnome.org/archives/vala-list/2016-June/msg00075.html Regards, Al _______________________________________________ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list