StatusIcon.vala
authorAlan Knowles <alan@akbkhome.com>
Tue, 6 May 2014 13:53:00 +0000 (21:53 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 6 May 2014 13:53:00 +0000 (21:53 +0800)
StatusIcon.vala

index ca7368b..448f6c9 100644 (file)
@@ -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;