gtkBuilderValueFromStringType {RGtk2}R Documentation

gtkBuilderValueFromStringType

Description

Like gtkBuilderValueFromString, this function demarshals a value from a string, but takes a GType instead of GParamSpec. This function calls gValueInit() on the value argument, so it need not be initialised beforehand.

Usage

gtkBuilderValueFromStringType(object, type, string, .errwarn = TRUE)

Arguments

object [GtkBuilder] a GtkBuilder
type [GType] the GType of the value
string [character] the string representation of the value
.errwarn Whether to issue a warning on error or fail silently

Details

Since 2.12

Value

A list containing the following elements:

retval [logical] TRUE on success
value [R object] the R object to store the result in
error [GError] return location for an error, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]