These functions allow one to both read
and set properties of a Gtk object by
name and also in the usual S-like manner.
gtkObjectGetArgs
retrieves
the values of one or more properties by
specifying their name as a vector.
gtkObjectGetArg
retrieves the value of a single
property and avoids having to worry about whether the result
is a value or a list of values of length 1.
gtkObjectSetArgs
allows one to set
one or more properties by name in the form
gtkObjectSetArgs(obj, x=1, y="a")
.
[.GtkObject
and [[<-.GtkObject
provide S-like accessors.
gtkObjectGetArgs(obj, argNames)
gtkObjectGetArg(obj, argName)
gtkObjectSetArgs(obj, ..., .vals)
[.GtkObject
, this is a character vector
giving the names of the properties of interest.
For gtkObjectSetArgs
, this is a collection of name=value
pairs where name
is the name of the property to set and
value
is the value to which it is to be set....
in gtkObjectSetArgs