]> git.draconx.ca Git - gob-dx.git/blobdiff - src/test.gob
Release 0.90.4
[gob-dx.git] / src / test.gob
index 42adca4862b36709d5261e5202f138c7b54b1d47..5dd5c2ee00b93aa772304b7c7423ac1a317e7d5a 100644 (file)
@@ -18,7 +18,7 @@ class Gtk:Weird:Button from Gtk:Button {
                GtkWeirdButton *but = GTK_WEIRD_BUTTON(object);
                but->i=0;
        }
-       class_init(class);
+       class_init(klass);
        public GtkWidget * new(int j (check > 0)) {
                GtkWidget *ret;
                ret = GTK_WIDGET (GET_NEW);
@@ -49,6 +49,28 @@ class Gtk:Weird:Button from Gtk:Button {
                if (GTK_CONTAINER_CLASS (parent_class)->add)
                        (* GTK_CONTAINER_CLASS (parent_class)->add) (self,wid);
        }
+       public int consttest(self, const gchar *text, ...)
+       {
+               return 25;
+       }
+       signal private first NONE (NONE)
+       void googlegoogle(self)
+       {
+               puts("TEST1");
+               googlegoogle2(self);
+       }
+       signal first private NONE (NONE)
+       void googlegoogle2(self)
+       {
+               puts("TEST2");
+               testprivvirtual(self);
+       }
+       virtual private
+       void testprivvirtual(self)
+       {
+               puts("TEST3");
+               googlegoogle(self);
+       }
 }
 
 %{