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"
8 #include "gtk-weird-button-private.h"
10 static void jjjj(void);
17 class Gtk:Weird:Button from Gtk:Button {
19 argument INT i set { self->i = ARG; } get { ARG = self->i; } ;
23 public double array[23][18];
29 public GtkWidget * new(int j (check > 0)) {
31 ret = GTK_WIDGET (GET_NEW);
33 GTK_WEIRD_BUTTON(ret)->_priv->j = j;
37 private int blah(self, Gtk:Widget * wid (check null type),
38 int h (check > 0)) onerror -1 {
39 gtk_container_add(GTK_CONTAINER(self),wid);
42 signal last INT (POINTER, INT)
43 int bleh(self, Gtk:Widget * wid (check null type),
45 return blah(self,wid,h);
47 signal first NONE (NONE)
49 virtual void * bah(self, int h (check > 0)) onerror NULL {
53 virtual int beh(self, int h (check > 0));
54 override(Gtk:Container) void add(Gtk:Container * self (check null type),
55 Gtk:Widget * wid (check null type)) {
56 PARENT_HANDLER(self,wid);
58 public int consttest(self, const gchar *text, ...)
62 signal private first NONE (NONE)
63 void googlegoogle(self)
68 signal first private NONE (NONE)
69 void googlegoogle2(self)
71 int array[5][8][9]={{{0}}};
73 testprivvirtual(self,array);
76 void testprivvirtual(self, int some_array[5][8][9])
81 signal first NONE (POINTER)
82 void testarrsignal(self, long arr[8])
87 /* testing empty func */
88 public void foofoofoo(self) {}
91 int event(Gtk:Widget *self (check null type),
92 GdkEvent *event (check null)) onerror FALSE
96 ret = PARENT_HANDLER(self,event);