Description
Allows dynamic loading of user interfaces from XML descriptions.Methods and Functions
gladeXMLNew(fname, root = NULL, domain = NULL)
gladeXMLNewFromBuffer(buffer, size = nchar(buffer), root = NULL, domain = NULL)
gladeXMLConstruct(object, fname, root = NULL, domain = NULL)
gladeXMLSignalConnect(object, handlername, func)
gladeXMLSignalConnectData(object, handlername, func, user.data)
gladeXMLSignalAutoconnect(object)
gladeXMLGetWidget(object, name)
gladeXMLGetWidgetPrefix(object, name)
gladeGetWidgetName(widget)
gladeGetWidgetTree(widget)
gladeXMLSignalConnectFull(object, handler.name, func, user.data)
gladeXMLSignalAutoconnectFull(object, func, user.data)
gladeSetCustomHandler(handler, user.data)
gladeXML(root = NULL, domain = NULL, fname, buffer, size = nchar(buffer))
Hierarchy
GObject
+----GladeXMLDetailed Description
This object represents an `instantiation' of an XML interface description.
When one of these objects is created, the XML file is read, and the
interface is created. The GladeXML object then provides an interface for
accessing the widgets in the interface by the names assigned to them
inside the XML description.
The GladeXML object can also be used to connect handlers to the named
signals in the description. Libglade also provides an interface by which
it can look up the signal handler names in the program's symbol table and
automatically connect as many handlers up as it can that way.Convenient Construction
gladeXML
is the result of collapsing the constructors of GladeXML
(gladeXMLNew
, gladeXMLNewFromBuffer
) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.References
http://library.gnome.org/devel//libglade/GladeXML.html