home *** CD-ROM | disk | FTP | other *** search
- # CVS $Id: rowtext.tcl,v 1.4 1995/02/17 11:16:59 zibi Exp $
- #
- # This tests a typical use of rowcolumns
- #
-
- set app [VtOpen RowCol]
-
- set dlog [VtFormDialog $app.form]
-
- set rc [VtRowColumn $dlog.rc -packing TIGHT -vertical \
- -rightSide FORM -leftSide FORM -xmArgs "XmNbackground red"]
-
- foreach b { Name Address Country Telephone } {
- VtLabel $rc.$b -label "$b:"
- VtText $rc.Text$b
- }
-
- VtPushButton $dlog.quit -label Quit -callback { VtClose ;exit 0 ;#} \
- -bottomSide FORM
-
- VtShow $dlog
-
- VtMainLoop
-