From df6eb33a118cd306cfbaf3e7b6fccd654aada7d1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 6 May 2014 21:53:00 +0800 Subject: [PATCH] StatusIcon.vala --- StatusIcon.vala | 35 ----------------------------------- 1 file changed, 35 deletions(-) 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; -- 2.39.2