
|
84782 packages online
|
|
 |
|
dev/mui/MCC_Readargsgr.lha |
|
No screenshot available
|
|
ABOUT
Readargsgroup.mcc is used by AmigaMesaRTL's prefs program and Mesa.mcc
class. You can use it for free if you find it useful.
The entire GUI is described by a single ReadArgs template line so it's
the most compact representation in the world... Some special argument
names can change GUI element's appearance, eg. "Name" is ordinary
string argument, but "_FN_Filename" would have a filename popup
because of "_FN_" prefix.
See developer documentation for full list of enhancements.
INSTALLATION
Copy Readargsgroup.mcc from 'libs' to your MUI:libs/mui directory.
You can also copy demos/ReadArgsGUI to one of your path locations
if you are going to use it in scripts.
THE DEMO
Supplied ReadArgsGUI is a very simple example of the MUI application
using Readargsgroup. It builds a GUI, based on the supplied template.
After the user fills in the fields and clicks on 'OK', the arguments
string (ReadArgs compatible, of course) is returned to the standard
output. 'Cancel' is indicated by return value of 5 (can be easily
checked by IF WARN or FAILAT 5).
It could be useful in scripts for getting user input. You can even do:
(under v39 only)
Format `ReadArgsGUI DEVICE=DRIVE/K/A,NAME/K/A,OFS/S,FFS/S,INTL=INTERNATIONAL/S,NOINTL=NOINTERNATIONAL/S,DIRCACHE/S,NODIRCACHE/S,NOICONS/S,QUICK/S`
Consequent parameters are parsed with ReadArgs and put into the GUI.
For example:
ReadArgsGUI Your_Name,Age/N John 22
...so you can supply the default values (or preserve the previous ones).
|
Contents of dev/mui/MCC_Readargsgr.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 237 620 38.2% -lh5- b86e Oct 23 1998 Readargsgroup.info
[generic] 234 620 37.7% -lh5- c81a Sep 13 1998 Readargsgroup/demos.info
[generic] 228 496 46.0% -lh5- afd1 Oct 23 1998 Readargsgroup/demos/ComplexGUI
[generic] 230 476 48.3% -lh5- 10a8 Oct 23 1998 Readargsgroup/demos/ComplexGUI.info
[generic] 4675 8252 56.7% -lh5- 5734 Oct 23 1998 Readargsgroup/demos/ReadArgsGUI
[generic] 137 176 77.8% -lh5- 8c09 Oct 23 1998 Readargsgroup/demos/showuserinfo
[generic] 215 301 71.4% -lh5- 7145 Oct 23 1998 Readargsgroup/demos/SimpleGUI
[generic] 248 496 50.0% -lh5- 3524 Oct 23 1998 Readargsgroup/demos/SimpleGUI.info
[generic] 1128 2418 46.7% -lh5- 2fee Sep 13 1998 Readargsgroup/Developer/AutoDocs/MCC_Readargsgroup.doc
[generic] 1176 2723 43.2% -lh5- 3f95 Oct 23 1998 Readargsgroup/Developer/C/examples/ReadArgsGUI.c
[generic] 170 325 52.3% -lh5- 25ab Sep 9 1998 Readargsgroup/Developer/C/include/Readargsgroup_mcc.h
[generic] 238 620 38.4% -lh5- e085 Sep 13 1998 Readargsgroup/libs.info
[generic] 5703 9364 60.9% -lh5- e455 Sep 13 1998 Readargsgroup/libs/Readargsgroup.mcc
[generic] 936 1659 56.4% -lh5- c730 Oct 23 1998 Readargsgroup/README
[generic] 307 831 36.9% -lh5- a2d3 Sep 13 1998 Readargsgroup/README.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 15 files 15862 29377 54.0% Oct 25 1998
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |