home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
parentnode.tcl
< prev
next >
Wrap
Text File
|
1997-03-14
|
2KB
|
63 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)parentnode.tcl /main/titanic/1
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)parentnode.tcl /main/titanic/1 14 Mar 1997 Copyright 1994 Westmount Technology
# Start user added include file section
# End user added include file section
require "menupartno.tcl"
Class ParentNode : {MenuPartNode} {
constructor
method destructor
method open
attribute pinnable
attribute arbiters
}
constructor ParentNode {class this name specification} {
set this [MenuPartNode::constructor $class $this $name $specification]
# Start constructor user section
$this hasChildren 1
$this activated {%this open}
# give pinnable a valid value
if {[$this pinnable] == ""} {
$this pinnable 0
}
# End constructor user section
return $this
}
method ParentNode::destructor {this} {
# Start destructor user section
# End destructor user section
$this MenuPartNode::destructor
}
method ParentNode::open {this} {
.main busy TRUE
set definer [[.main editorArea] parentDefiner]
if {[catch {$definer load $this}]} {
require menuparent.tcl
set definer [MenuParentDialog new .main.parentDefiner]
[.main editorArea] parentDefiner $definer
$definer load $this
}
.main busy FALSE
}
# Do not delete this line -- regeneration end marker