home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
custedopti.tcl
< prev
next >
Wrap
Text File
|
1996-09-12
|
2KB
|
58 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1996
#
# File: @(#)custedopti.tcl /main/titanic/1
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)custedopti.tcl /main/titanic/1 12 Sep 1996 Copyright 1994 Westmount Technology
# Start user added include file section
# End user added include file section
require "tooloption.tcl"
Class CustEdOptions : {ToolOptions} {
constructor
method destructor
method font
}
constructor CustEdOptions {class this name} {
set this [ToolOptions::constructor $class $this $name]
# Start constructor user section
# End constructor user section
return $this
}
method CustEdOptions::destructor {this} {
# Start destructor user section
# End destructor user section
$this ToolOptions::destructor
}
method CustEdOptions::font {this} {
# retrieve M4 variable
set M4_font__uce [m4_var get M4_font -context uce]
.main busy TRUE
FontChooser new .main.font \
-title "Customization Editor Font" \
-value "$M4_font__uce" \
-cancelPressed {%this delete} \
-okPressed {
[.main editorArea] font [%this value]
if {"[m4_var get M4_font -context uce]" != "[%this value]"} {
catch {m4_var set M4_font "[%this value]" -context uce}
}
%this delete
}
.main busy FALSE
.main.font delHelpButton
.main.font popUp
}
# Do not delete this line -- regeneration end marker