Help.dcl 982 Bytes
Newer Older
Peter Achten's avatar
Peter Achten committed
1
2
3
4
5
6
7
8
9
10
11
12
13
definition module Help

//	**************************************************************************************************
//
//	General utility for handling information about the application and present help.
//
//	This module has been written in Clean 1.3.2 and uses the Clean Standard Object I/O library 1.2
//	
//	**************************************************************************************************

from	StdString	import String
from	StdPSt		import PSt, IOSt

14
showAbout :: String String (PSt .l) -> PSt .l
Peter Achten's avatar
Peter Achten committed
15
16
17
18
19
20
21
22
/*	showAbout opens a window:
	-	it has the title of the application name (argument 1),
	-	it displays the about information of the application (found in the helpfile, argument 2),
	-	it has an Ok button that closes this window, 
	-	it has a Help button that displays the help information (see showHelp).
*/


23
showHelp :: String (PSt .l) -> PSt .l
Peter Achten's avatar
Peter Achten committed
24
25
26
/*	showHelp opens a SDI process that displays the help information found in the helpfile 
	(argument 1).
*/