gladeXMLNew {RGtk2}R Documentation

gladeXMLNew

Description

Creates a new GladeXML object (and the corresponding widgets) from the XML file fname. Optionally it will only build the interface from the widget node root (if it is not NULL). This feature is useful if you only want to build say a toolbar or menu from the XML file, but not the window it is embedded in. Note also that the XML parse tree is cached to speed up creating another GladeXML object for the same file

Usage

gladeXMLNew(fname, root = NULL, domain = NULL)

Arguments

fname [char] the XML file name.
root [char] the widget node in fname to start building from (or NULL)
domain [char] the translation domain for the XML file (or NULL for default)

Value

[GladeXML] the newly created GladeXML object, or NULL on failure.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]