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

gInitableNew

gInitableNew


Description

Helper function for constructing GInitiable object. This is similar to gObjectNew but also initializes the object and returns NULL, setting an error on failure.

Usage

gInitableNew(object.type, cancellable, ..., .errwarn = TRUE)

Arguments

object.type

a GType supporting GInitable.

cancellable

optional GCancellable object, NULL to ignore.

...

the value if the first property, followed by and other property value pairs, and ended by NULL.

.errwarn

Whether to issue a warning on error or fail silently

Details

Since 2.22

Value

A list containing the following elements:

retval

[R object] a newly allocated GObject, or NULL on error

error

a GError location to store the error occuring, or NULL to ignore.

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.