| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # $Id: treeview4,v 1.3 2020/11/26 00:05:52 tom Exp $ |
| 3 | |
| 4 | . ./setup-varsscip-shell source . . `./setup-vars`. |
| 5 | |
| 6 | . ./setup-tempfilescip-shell source . . `./setup-tempfile`. |
| 7 | |
| 8 | $DIALOG --title "TREE VIEW DIALOG" \ |
| 9 | --help-button \ |
| 10 | --item-help \ |
| 11 | --treeview "TreeView demo" 0 0 0 \ |
| 12 | tag1 one off 0 first \ |
| 13 | tag2 two off 1 second \ |
| 14 | tag3 three on 2 third \ |
| 15 | tag4 four off 1 fourth \ |
| 16 | tag5 five off 2 fifth \ |
| 17 | tag6 six off 3 sixth \ |
| 18 | tag7 seven off 3 seventh \ |
| 19 | tag8 eight off 4 eighth \ |
| 20 | tag9 nine off 1 ninth 2> $tempfile |
| 21 | |
| 22 | returncode=$? |
| 23 | |
| 24 | . ./report-tempfilescip-shell source . . `./report-tempfile`. |