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

gtkUIManagerAddUiFromString

gtkUIManagerAddUiFromString


Description

Parses a string containing a UI definition and merges it with the current contents of self. An enclosing <ui> element is added if it is missing.

Usage

gtkUIManagerAddUiFromString(object, buffer, length = -1, .errwarn = TRUE)

Arguments

object

a GtkUIManager object

buffer

the string to parse

length

the length of buffer (may be -1 if buffer is nul-terminated)

.errwarn

Whether to issue a warning on error or fail silently

Details

Since 2.4

Value

A list containing the following elements:

retval

[numeric] The merge id for the merged UI. The merge id can be used to unmerge the UI with gtkUIManagerRemoveUi. If an error occurred, the return value is 0.

error

return location for an error

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.