File: treeview

package info (click to toggle)
dialog 1.2-20140911-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,816 kB
  • ctags: 1,664
  • sloc: ansic: 16,924; sh: 6,901; makefile: 413; perl: 354; python: 164
file content (22 lines) | stat: -rwxr-xr-x 394 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# $Id: treeview,v 1.2 2012/12/04 10:53:09 tom Exp $

. ./setup-vars

. ./setup-tempfile

$DIALOG --title "TREE VIEW DIALOG" \
	--treeview "TreeView demo" 0 0 0 \
		tag1 one off 0 \
		tag2 two off 1 \
		tag3 three on 2 \
		tag4 four off 1 \
		tag5 five off 2 \
		tag6 six off 3 \
		tag7 seven off 3 \
		tag8 eight off 4 \
		tag9 nine off 1 2> $tempfile

retval=$?

. ./report-tempfile