pgprompt project lets you pop up simple windows prompting the user to select something from a list, select a file.
pgprompt-gtk2 tell MESSAGE="You have mail" BUTTONS="Exit/Summary/Start $MAILCLIENT"
BUTTONSEP="/" DEFAULTBUTTON="Exit" CANCELBUTTON="Exit"
It tries to apply intuitive behaviours - for example if a CANCELBUTTON is defined, then you can hit Escape and it will act as if you clicked the specified button. Ditto for DEFAULTBUTTON if you hit Return.
For convenience here I've just included the help that the script prints out - it should give you a fair idea of what you can do. Also, take a look at the example command lines and the screenshots below. For other examples of using it you can also look at my porkmail page, my quake3 scripts.
In the case of the file dialogs that it shows - it shows the old simple style of file dialog with keyboard completion that works (ie not the crappy GNOMEified rubbish dialogs).
What's New in This Release:
· Added the ability to put separators among the buttons using '%'
· Fixed bug when list is is empty and LISTSELECTION is browse