Description Usage Arguments Note Author(s)
DEPRECATED!! (compatibility wrappers for RGtk 1!)
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.
1 2 3 | gtkObjectGetArgs(obj, argNames)
gtkObjectGetArg(obj, argName)
gtkObjectSetArgs(obj, ..., .vals)
|
obj |
the Gtk object whose properties are to be accessed |
argNames |
a character vector giving the names of the properties to retrieve. |
argName |
a string (i.e. character vector of length 1) giving the name of the property whose value is to be retrieved. |
... |
for |
.vals |
a named list similar to |
THIS STUFF IS VERY OLD AND DEPRECATED (compatibility wrappers for RGtk 1)
Duncan Temple Lang <duncan@research.bell-labs.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.