3 /* the next line is not mandatory, but if gob finds an include in one of
4 the %{ %} sections above the class definitions, it will not put it in
5 the file itself. So you can this way select where the include file is
7 #include "gtk-weird-button.h"
9 static void jjjj(void);
16 class Gtk:Weird:Button from Gtk:Button {
18 argument INT i set { self->i = ARG; } get { ARG = self->i; } ;
24 GtkWeirdButton *but = GTK_WEIRD_BUTTON(object);
28 public GtkWidget * new(int j (check > 0)) {
30 ret = GTK_WIDGET (GET_NEW);
32 GTK_WEIRD_BUTTON(ret)->_priv->j = j;
36 private int blah(self, Gtk:Widget * wid (check null type),
37 int h (check > 0)) onerror -1 {
38 gtk_container_add(GTK_CONTAINER(self),wid);
41 signal last INT (POINTER, INT)
42 int bleh(self, Gtk:Widget * wid (check null type),
44 return blah(self,wid,h);
46 signal first NONE (NONE)
48 virtual void * bah(self, int h (check > 0)) onerror NULL {
52 virtual int beh(self, int h (check > 0));
53 override(Gtk:Container) void add(Gtk:Container * self (check null type),
54 Gtk:Widget * wid (check null type)) {
55 PARENT_HANDLER(self,wid);
57 public int consttest(self, const gchar *text, ...)
61 signal private first NONE (NONE)
62 void googlegoogle(self)
67 signal first private NONE (NONE)
68 void googlegoogle2(self)
71 testprivvirtual(self);
74 void testprivvirtual(self)