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];
26 GtkWeirdButton *but = GTK_WEIRD_BUTTON(object);
30 public GtkWidget * new(int j (check > 0)) {
32 ret = GTK_WIDGET (GET_NEW);
34 GTK_WEIRD_BUTTON(ret)->_priv->j = j;
38 private int blah(self, Gtk:Widget * wid (check null type),
39 int h (check > 0)) onerror -1 {
40 gtk_container_add(GTK_CONTAINER(self),wid);
43 signal last INT (POINTER, INT)
44 int bleh(self, Gtk:Widget * wid (check null type),
46 return blah(self,wid,h);
48 signal first NONE (NONE)
50 virtual void * bah(self, int h (check > 0)) onerror NULL {
54 virtual int beh(self, int h (check > 0));
55 override(Gtk:Container) void add(Gtk:Container * self (check null type),
56 Gtk:Widget * wid (check null type)) {
57 PARENT_HANDLER(self,wid);
59 public int consttest(self, const gchar *text, ...)
63 signal private first NONE (NONE)
64 void googlegoogle(self)
69 signal first private NONE (NONE)
70 void googlegoogle2(self)
72 int array[5][8][9]={{{0}}};
74 testprivvirtual(self,array);
77 void testprivvirtual(self, int some_array[5][8][9])
82 signal first NONE (POINTER)
83 void testarrsignal(self, long arr[8])