home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
propinterf.tcl
< prev
next >
Wrap
Text File
|
1996-06-05
|
1KB
|
53 lines
#---------------------------------------------------------------------------
#
# (c) Cadre Technologies Inc. 1996
#
# File: @(#)propinterf.tcl /main/2
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)propinterf.tcl /main/2 5 Jun 1996 Copyright 1996 Cadre Technologies Inc.
# Start user added include file section
# End user added include file section
Class PropInterface : {GCObject} {
constructor
method destructor
method parent
attribute _parent
attribute ifElement
attribute definition
}
constructor PropInterface {class this} {
set this [GCObject::constructor $class $this]
# Start constructor user section
# End constructor user section
return $this
}
method PropInterface::destructor {this} {
# Start destructor user section
# End destructor user section
}
# Do not delete this line -- regeneration end marker
method PropInterface::parent {this args} {
if {$args == ""} {
return [$this _parent]
}
set ref [$this _parent]
if {$ref != ""} {
[$ref _childSet] removeValue $this
}
set obj [lindex $args 0]
if {$obj != ""} {
[$obj _childSet] append $this
}
$this _parent $obj
}