gtkUIManagerAddUiFromFile {RGtk2}R Documentation

gtkUIManagerAddUiFromFile

Description

Parses a file containing a UI definition and merges it with the current contents of self.

Usage

gtkUIManagerAddUiFromFile(object, filename, .errwarn = TRUE)

Arguments

object

a GtkUIManager object

filename

the name of the file to parse

.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


[Package RGtk2 version 2.20.21 Index]