Description Usage Arguments Details Value Author(s) References
GParamSpec
is an object structure that encapsulates the metadata
required to specify parameters, such as e.g. GObject
properties.
1 2 | gParamSpec(type, name, nick = NULL, blurb = NULL, flags = NULL, ...)
as.GParamSpec(x)
|
type |
a string naming the R type (ie 'character', 'numeric', ...) corresponding
to the desired |
name |
the name of the |
nick |
the nickname of the |
blurb |
a short string description of the |
flags |
a vector of values from the |
... |
named arguments specific to the type of |
x |
A list corresponding to a |
As a transparent type, the various GParamSpec
structures should be returned to
R as corresponding lists, and as.GParamSpec
coerces a list to one understandable
by the C wrappers, assuming that the class of the list is the name of the GParamSpec
type.
gParamSpec
is a more user-friendly wrapper to as.GParamSpec
that
constructs the correctly-classed list on the fly from its arguments.
A list representing a GParamSpec
, ready to be passed to the underlying C libraries
Michael Lawrence
https://developer.gnome.org/gobject/stable/gobject-GParamSpec.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.