pgprompt 1.4

pgprompt project lets you pop up simple windows prompting the user to select something from a list, select a file.
pgprompt
  3 Screenshots
pgprompt project lets you pop up simple windows prompting the user to select something from a list, select a file, type in something, or click a button. It does NOT require you to pre-design a gui in XML. You simply pass command line parameters, for example the following snippet would show a window like in the first screenshot below:

export MAILCLIENT="sylpheed-claws"
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).

Requirements:

Perl
GTK2-perl

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

last updated on:
February 26th, 2007, 16:05 GMT
price:
FREE!
homepage:
csincock.customer.netspace.net.au
license type:
GPL (GNU General Public License) 
developed by:
Chris S.
category:
ROOT \ Utilities
pgprompt
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!
3 Screenshots
pgpromptpgprompt

Add your review!

SUBMIT