resources/RooUsage.txt
[app.Builder.js] / tests / test1.vala
index a5d419c..d897b22 100644 (file)
@@ -9,14 +9,20 @@
 
 static int main (string[] args) {
     Gtk.init (ref args);
+    
+    // must init modules...
     new Xcls_EditorWindow();
-    EditorWindow.showAll();
+    
+    
+    
+    EditorWindow.show_all();
      Gtk.main ();
 
     return 0;
 }
  
 
+
 public static Xcls_EditorWindow  EditorWindow;
 
 
@@ -39,20 +45,22 @@ public class Xcls_EditorWindow : Gtk.Window
         {
              this.pack_start (  new Xcls_Toolbar3(), false,true );
         }
-        public class Xcls_Toolbar3 : Gtk.Toolbar
+    }
+    public class Xcls_Toolbar3 : Gtk.Toolbar
+    {
+        public Xcls_Toolbar3()
         {
-            public Xcls_Toolbar3()
-            {
-                 this.add (  new Xcls_save_button() );
-            }
-            public class Xcls_save_button : Gtk.Button
-            {
-                public Xcls_save_button()
-                {
-                     _this.save_button = this;
-                     this.label = "Save";
-                }
-            }
+             this.add (  new Xcls_save_button() );
+        }
+    }
+    public class Xcls_save_button : Gtk.ToolButton
+    {
+        public Xcls_save_button()
+        {
+             _this.save_button = this;
+             this.label = "Save";
         }
     }
 }
+
+