KnobImageSource: add get_state_hash()
[libprolooks.git] / prolooks / GladeSample.vala
blob85f8469a41f969d7fa6a0a8b3b5e760604a6dc33
1 /* Glade in Vala sample code */
3 using Gtk;
4 using Prolooks;
6 public class GladeSample {
7 Glade.XML xml;
8 public GladeSample () {
9 xml = new Glade.XML ("example.glade", null, null);
10 Led led1 = (Led) xml.get_widget ("led1");
11 var window = xml.get_widget ("window1");
12 window.show_all ();
13 window.destroy += Gtk.main_quit;
14 Gtk.main ();
17 public static int main (string[] args) {
18 Gtk.init (ref args);
19 var sample = new GladeSample ();
20 return 0;