From: Alan Knowles Date: Tue, 6 May 2014 13:53:00 +0000 (+0800) Subject: StatusIcon.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=df6eb33a118cd306cfbaf3e7b6fccd654aada7d1 StatusIcon.vala --- diff --git a/StatusIcon.vala b/StatusIcon.vala index ca7368be..448f6c91 100644 --- a/StatusIcon.vala +++ b/StatusIcon.vala @@ -33,42 +33,7 @@ static int main (string[] args) { } - -public class TestButton : Button { - public TestButton() - { - this.set_label("Click me"); - - - this.clicked.connect (() => { - this.label = "Thank you"; - }); - - } - - -} - -public class TestWindow : Window { - - public TestWindow() { - this.title = "First GTK+ Program"; - this.border_width = 10; - this.window_position = WindowPosition.CENTER; - this.set_default_size (350, 70); - - // -- connect all - this.destroy.connect (Gtk.main_quit); - - // add children.. - this.add(new TestButton()); - - } - - - -} pubic StatusIconA statusicon;