[Top]
GTK
GTK.GladeXML
|
Method GTK.GladeXML()->new()
- Method
new
GTK.GladeXML new(string filename, string|void root, string|void domain)
- Description
Creates a new GladeXML object (and the corresponding widgets) from
the XML file filename. Optionally it will only build the interface
from the widget node root. 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. The third optional argument is used to specify a different
translation domain from the default to be used.
|