Builder package:gtk

Build an interface from an XML UI definition All functions in this module are only available in Gtk 2.12 or higher.
Parses a file containing a GtkBuilder UI definition and merges it with the current contents of the Builder.
  • If an error occurs, the computation will throw an exception that can be caught using e.g. catchGErrorJust and one of the error codes in BuilderError.
Parses a string containing a GtkBuilder UI definition and merges it with the current contents of the Builder.
  • If an error occurs, the computation will throw an exception that can be caught using e.g. catchGErrorJust and one of the error codes in BuilderError.
Parses a file containing a GtkBuilder UI definition building only the requested objects and merges them with the current contents of the Builder.
  • If an error occurs, the computation will throw an exception that can be caught using e.g. catchGErrorJust and one of the error codes in BuilderError.
Parses a string containing a GtkBuilder UI definition building only the requested objects and merges them with the current contents of the Builder.
  • If an error occurs, the computation will throw an exception that can be caught using e.g. catchGErrorJust and one of the error codes in BuilderError.
Gets the object with the given name, with a conversion function. Note that this computation does not increment the reference count of the returned object. If the object with the given ID is not of the requested type, an exception will be thrown.
Gets the object with the given name. Note that this computation does not increment the reference count of the returned object.
Gets all objects that have been constructed by builder. Note that this computation does not increment the reference counts of the returned objects.
Gets the translation domain of the Builder.
Creates a new Builder object.
Sets the translation domain of the Builder.