So this is what I'm currently working on:
[Link: github.com]It's far from being finished; use at your own risk ;)
There's instructions on how to use it in the top comment section of the file.
I'll write up a proper README when it's all done. Probably ;)
I'm using Noel Blackman's Aleera theme for my UI, so I took one of the graphics and cut it up into 10x10 pixel pieces and reduced their transparency a bit.
This is what it looks like in PEP3:
And that's an example how it looks with 3 buttons (without a message text):
var buttons = [ ["B1", "GUI.alert('1')"], ["B2", "GUI.alert('xyz')"], ["Close", "close();"] ];
dbox(400, 200, 'Three Buttons','', buttons);
Sebastian