Learn R Programming

RGtk2 (version 2.20.4)

GParamSpec: Parameter metadata in GObject

Description

GParamSpec is an object structure that encapsulates the metadata required to specify parameters, such as e.g. GObject properties.

Usage

gParamSpec(type, name, nick = NULL, blurb = NULL, flags = NULL, ...)
as.GParamSpec(x)

Arguments

Value

A list representing a GParamSpec, ready to be passed to the underlying C libraries

Details

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.

References

http://developer.gnome.org/doc/API/2.0/gobject/gobject-GParamSpec.html