home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
reptoolwmt.tcl
< prev
next >
Wrap
Text File
|
1996-09-25
|
2KB
|
67 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1996
#
# File: @(#)reptoolwmt.tcl /main/hindenburg/2
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)reptoolwmt.tcl /main/hindenburg/2 25 Sep 1996 Copyright 1996 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
Class RepToolWmtArea : {WmtArea} {
method destructor
constructor
}
method RepToolWmtArea::destructor {this} {
# Start destructor user section
# End destructor user section
}
constructor RepToolWmtArea {class this name context} {
set this [WmtArea::constructor $class $this $name]
interface WaColumn $this.pad {
horStretchFactor 100
}
interface WaColumn $this.col {
horStretchFactor 0
WaEntry user {
labelText "User:"
}
WaEntry host {
labelText "Host:"
}
WaEntry pid {
labelText "Process:"
}
}
interface WaColumn $this.pad {
horStretchFactor 5
}
foreach column [$this columnSet] {
foreach entry [$column entrySet] {
$entry labelFont \
[m4_var get M4_contextarea_labelfont -context $context]
$entry valueFont \
[m4_var get M4_contextarea_valuefont -context $context]
}
}
$this.col.user valueText [ORB::currentUser]
$this.col.host valueText [ORB::currentHost]
$this.col.pid valueText [ORB::currentProcessId]
return $this
}
# Do not delete this line -- regeneration end marker