gladeXMLNewFromBuffer {RGtk2}R Documentation

gladeXMLNewFromBuffer

Description

Creates a new GladeXML object (and the corresponding widgets) from the buffer buffer. 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 document, but not the window it is embedded in.

Usage

gladeXMLNewFromBuffer(buffer, size = nchar(buffer), root = NULL, domain = NULL)

Arguments

buffer [char] the memory buffer containing the XML document.
size [integer] the size of the buffer.
root [char] the widget node in buffer to start building from (or NULL)
domain [char] the translation domain to use for this interface (or NULL)

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]