The author of Albalynx (http://albalynx.com/) recently connected his GUI to Allegro5, at my request. Final version yet to be uploaded. Anyway, connection is through a relatively small header file. I'm sure the same can be done for Leadwerks 3.
I seem to recall that GWEN required some fiddling to compile, though that may have changed since I last looked.