builder_load

@accepts(utf8, gpointer)
@returns(Gtk.Builder)
def builder_load(file, user_data)

Locates and reads a GtkBuilder file, automatically connecting signal handlers where possible. The caller can specify a path relative to the shared data directory, or its 'ui' or 'art' subdirectories.

file :

filename, either absolute or relative to the data directory

user_data :

user data to pass to autoconnected signal handlers

Returns :

GtkBuilder object built from the file