Package: gtk

Function gtk-builder-connect-signals

Lambda List

gtk-builder-connect-signals (builder handlers)

Arguments

builder -- a gtk-builder object
handlers -- a list sent in as user data to all signals

Details

This method is a simpler variation of the gtk-builder-connect-signals-full function. It uses introspective features of GModule to look at the symbol table of the application. From here it tries to match the signal handler names given in the interface description with symbols in the application and connects the signals. Note that this function can only be called once, subsequent calls will do nothing.

Note that this function will not work correctly if GModule is not supported on the platform.

When compiling applications for Windows, you must declare signal callbacks with G_MODULE_EXPORT, or they will not be put in the symbol table. On Linux and Unices, this is not necessary.
 

See also

2021-9-23