+
+ public int testing = 1;
+ argument INT testing link;
+
+ public char * testingstring = {g_strdup("test")}
+ destroywith g_free;
+ argument POINTER testingstring stringlink;
+
+ public Gtk:Weird:Button * testingobj
+ destroywith gtk_object_unref;
+ argument POINTER testingobj objectlink;
+
+ public Gtk:Object * testingobj2
+ destroy {
+ if(VAR)
+ gtk_object_unref(GTK_OBJECT(VAR));
+ };
+ argument POINTER (type Gtk:Object *) testingobj2 objectlink;
+
+ argument POINTER (type GtkObject *) some_object
+ set { /* set some_object */ }
+ get { /* get some_object */
+ ARG=NULL; };
+ argument (CONSTRUCT) LONG (type long) write_only_long
+ set { /* set write_only_long */ };
+ argument POINTER (type char *) read_only_string
+ get { /* get readonly_long */
+ ARG = g_strdup("BLAH"); };