Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkBuilderValueFromStringType

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

a GtkBuilder

type

the GType of the value

string

the string representation of the value

.errwarn

Whether to issue a warning on error or fail silently

Details

Upon errors FALSE will be returned and error will be assigned a GError from the GTK_BUILDER_ERROR domain. Since 2.12

Value

A list containing the following elements:

retval

[logical] TRUE on success

value

the R object to store the result in

error

return location for an error, or NULL. [ allow-none ]

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.