JavaScript Gtk widgets support Glade UI Add GJS/JavaScript support to your catalog How to write and install a catalog for a JavaScript widget library Introduction Glade supports loading widgets programed in JavaScript by linking and running GJS from the gladegjs catalog plugin. So in order for glade to support your JavaScript widgets you will have to: a) specify gladegjs support code as your plugin library. b) set glade_gjs_init as you init function. c) make sure your catalog name is the same as your JavaScript import library since glade_gjs_init() will use this name to import your widgets into the interpreter. glade_gjs_init ]]> GJS will look up for your widgets in the same places it looks for regular catalogs plugins, that is $GLADE_ENV_MODULE_PATH environment variable and `pkg-config --variable=moduledir gladeui-2.0` So the easiest thing would be to make a symlink in one of those directory, just do not forget that the name should be the one specified in your catalog name. gjsplugin.js