From 95d2a3806a39bb31c9cca38c2c6158ecb77818e9 Mon Sep 17 00:00:00 2001 From: spiralman Date: Mon, 27 May 2002 00:58:49 +0000 Subject: added help for opie-sh --- (limited to 'help/opie-sh/node8.html') diff --git a/help/opie-sh/node8.html b/help/opie-sh/node8.html new file mode 100644 index 0000000..9264660 --- a/dev/null +++ b/help/opie-sh/node8.html @@ -0,0 +1,76 @@ + + + + + +Buttons + + + + + + + + + + + + + + + + + + + + +next + +up + +previous + +contents +
+ Next: Icons + Up: Usage + Previous: General +   Contents +
+
+ + +

+Buttons +

+You can specify up to three buttons to appear on the bottom of the dialog. If you do not specify any buttons, there will be a single ``Ok'' button for the user to press. To specify the text of a button, use ``-n'', where n is the number of the button whose text you want to specify, starting with 0, and ending at 2. If you do not specify the text of a button, it will not be displayed. The number of the button the user presses is the return code of the program (if the user presses either of the built-in buttons on the top of the dialog, you will get a return code of -1). For example, the following will display a message box with two buttons, ``Ok'' and ``Cancel''. If the user presses ``Ok'', the return code is 0, if they press ``Cancel'', it is 1: + +

+

+opie-sh -m -0 "Ok" -1 "Cancel"
+
+ +

+


+
+ +2002-05-15 +
+ + -- cgit v0.9.0.2