ObjectGtk.addArgType

Warning gtk_object_add_arg_type is deprecated and should not be used in newly-written code. Deprecated in favor of the GObject property system including GParamSpec. Add a new type of argument to an object class. Usually this is called when registering a new type of object.

class ObjectGtk
static
void
addArgType
(
string argName
,,,
uint argId
)

Parameters

argName string

fully qualify object name, for example GtkObject::user_data.

argType GType

type of the argument.

argFlags uint

bitwise-OR of the GtkArgFlags enum. (Whether the argument is settable or gettable, whether it is set when the object is constructed.)

argId uint

an internal number, passed in from here to the "set_arg" and "get_arg" handlers of the object.

Meta