-
public uint add_from_file (string filename) throws Error
-
public uint add_from_string (string buffer, size_t length) throws Error
-
public uint add_objects_from_file (string filename, string[] object_ids) throws Error
Parses a file containing a GtkBuilder
UI definition building only the
requested objects and merges them with the current contents of builder.
-
public uint add_objects_from_string (string buffer, size_t length, string[] object_ids) throws Error
Parses a string containing a GtkBuilder
UI definition building only the
requested objects and merges them with the current contents of builder.
-
public void connect_signals (void* user_data)
This method is a simpler variation of
connect_signals_full. It uses GModule's introspective features (by opening the module null) to look at
the application's symbol table. From here it tries to match the signal handler names given in the interface description with symbols
in the application and connects the signals.
-
public void connect_signals_full (BuilderConnectFunc func)
This function can be thought of the interpreted language binding version of
connect_signals, except that it does not require GModule to function
correctly.
-
public weak Object get_object (string name)
Gets the object named name. Note that this function does not increment the reference count
of the returned object.
-
public SList<weak Object> get_objects ()
Gets all objects that have been constructed by builder. Note that this function does not
increment the reference counts of the returned objects.
-
public unowned string get_translation_domain ()
Gets the translation domain of builder.
-
public virtual Type get_type_from_name (string type_name)
Looks up a type by name, using the virtual function that
Builder has for that purpose. This is mainly used when implementing the Buildable
interface on a type.
-
public void set_translation_domain (string domain)
-
public bool value_from_string (ParamSpec pspec, string str, Value value) throws Error
This function demarshals a value from a string. This function calls
Value on the value argument, so it need not be
initialised beforehand.
-
public bool value_from_string_type (Type type, string str, Value value) throws Error
Like value_from_string, this function
demarshals a value from a string, but takes a Type instead of
ParamSpec. This function calls
Value on the value argument, so it need not be
initialised beforehand.