Peter's original HUG effort was done under ScriptBasic GTK-Server. (look at the gtk.bas include file)
I first used GTK-Server in 2005 when Peter wrapped his server as a ScriptBasic extension module. I had asked Peter if the string passing could be done via an extension module rather than via TCP and in a couple days I had a GTK.so for ScriptBasic. You will find a lot of SB code that I posted that uses GTK-Server and not as a Gtk interface but as a FFI (Foreign Function Interface) to access SQLite (before AIR's extension module) and other GNOME libraries.
GTK-Server is a ton of fun if you enjoy dynamic API scripting.
FYI: The new DLLC FFI extension module (currently just for Windows) leaves any other FFI library out there in the dust. Direct COM vTABLE dynamic function/method calling has already been demonstrating with the MS SAPI sound COM object.