home *** CD-ROM | disk | FTP | other *** search
-
- if {[string compare test [info procs test]] == 1} then \
- {source defs}
-
- # set VERBOSE 1
-
- proc setDirection {dir} {
- .patform*arrow2 setValues -arrowDirection $dir
- .patform*arrow2 getValues -arrowDirection d
- return $d
- }
-
- xtAppInitialize -class Arrow
- . setValues -allowShellResize true
-
-
- xmForm .patform managed
- xmRowColumn .patform.rowcol managed
- xmArrowButton .patform.rowcol.arrow2 managed
-
- . realizeWidget
-
- ##################
- # Arrow Directions
- ##################
-
- if {$XmVersion >= 1002} {
- test arrow2-1.1 {pattern match} {
- setDirection arrow_down
- } {arrow_down}
- }
-
-
- .patform.rowcol.arrow2 destroyWidget
- .patform.rowcol destroyWidget
- .patform destroyWidget
-
- # we don't want to go into interactivity:
- # . mainLoop
-