home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
helptocnod.tcl
< prev
next >
Wrap
Text File
|
1996-05-29
|
1KB
|
48 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)helptocnod.tcl 1.3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)helptocnod.tcl 1.3 29 Jun 1995 Copyright 1994 Westmount Technology
# Start user added include file section
# End user added include file section
Class HelpTocNode : {BrowsNode} {
constructor
method destructor
method gotoReference
attribute reference
}
constructor HelpTocNode {class this name} {
set this [BrowsNode::constructor $class $this $name]
# Start constructor user section
$this activated {%this gotoReference}
# End constructor user section
return $this
}
method HelpTocNode::destructor {this} {
# Start destructor user section
# End destructor user section
}
method HelpTocNode::gotoReference {this} {
set ref [$this reference]
set tool [[$this tree] tool]
if {[string range $ref 0 0] != "/"} {
set ref [$tool root]/$ref
}
$tool gotoURL $ref
}
# Do not delete this line -- regeneration end marker