W Wrapl, The Programming Language

Libraries:Gtk:Glade:Parser

Functions

ParseBuffer(buffer @ Std.String.T, len @ Std.Integer.SmallT, domain @ Std.String.T) : Gtk.Glade.Interface.T

This function is similar to glade_parser_parse_file, except that it parses XML data from a buffer in memory. This could be used to embed an interface into the executable, for instance.

Generally, user code won't need to call this function. Instead, it should go through the GladeXML interfaces.

buffer a buffer in memory containing XML data.
len the length of buffer.
domain the translation domain for the XML file.
Returns the GladeInterface structure for the XML buffer.


ParseFile(file @ Std.String.T, domain @ Std.String.T) : Gtk.Glade.Interface.T

This function parses a Glade XML interface file to a GladeInterface object (which is libglade's internal representation of the interface data).

Generally, user code won't need to call this function. Instead, it should go through the GladeXML interfaces.

file the filename of the glade XML file.
domain the translation domain for the XML file.
Returns the GladeInterface structure for the XML file.