Usage
gClass(name, parent = "GObject", ..., abstract = FALSE)
parentHandler(method, obj = NULL, ...)
assignProp(obj, pspec, value)
getProp(obj, pspec)
registerVirtuals(virtuals)
unregisterVirtuals(virtuals)
Arguments
name
The name of the new class
parent
The name of the parent class
abstract
If TRUE
, the class should not be instantiable.
method
The name of the method to invoke in the parent
...
Additional arguments. For parentHandler()
, arguments
to pass to the parent method. For gClass()
, arguments
specifying the class definition (see Details).
value
The value to set on the property
virtuals
An environment containing lists where each list contains
the names of the virtual methods for the class matching the name of the list