pgprompt

pgprompt project lets you pop up simple windows prompting the user to select something from a list, select a file.
Download

pgprompt Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Chris S.
  • Publisher web site:
  • http://csincock.customer.netspace.net.au/scripts.htm

pgprompt Tags


pgprompt Description

pgprompt project lets you pop up simple windows prompting the user to select something from a list, select a file. 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-perlWhat'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


pgprompt Related Software