.nf
int height;
- gtk_object_set (GTK_OBJECT (object),
+ gtk_object_get (GTK_OBJECT (object),
MY_OBJECT_GET_ARG_HEIGHT (&height),
NULL);
you should call gtk_object_ref on it. For stringlink, get makes a copy of
the string which you should free after use. This is the behaviour since 1.0.2.
.PP
+You can also automatically export get and set methods for each of the arguments
+by appending '(export)' flag before the get and set statements. For example:
+.nf
+
+ public int foo;
+ argument INT (type int) foo (export)
+ get { ARG = self->foo; }
+ set { self->foo = ARG; };
+
+.fi
+Will export public methods get_foo(self) and set_foo(self, int foo) for you
+automatically. Note that this behaviour is new in 1.0.10.
+.PP
Methods:
.PP
There is a whole array of possible methods. The three normal,