home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
mtoptionme.tcl
< prev
next >
Wrap
Text File
|
1997-07-18
|
2KB
|
57 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)mtoptionme.tcl /main/titanic/1
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)mtoptionme.tcl /main/titanic/1 18 Jul 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
Class MTOptionMenuProcs : {Object} {
constructor
method destructor
}
constructor MTOptionMenuProcs {class this} {
set this [Object::constructor $class $this $name]
# Start constructor user section
# End constructor user section
return $this
}
method MTOptionMenuProcs::destructor {this} {
# Start destructor user section
# End destructor user section
}
proc MTOptionMenuProcs::selectFont {} {
# retrieve M4 variable
set M4_font__mt [m4_var get M4_font -context mt]
busy {
FontChooser new .main.font \
-title "Browser Font" \
-value "$M4_font__mt" \
-cancelPressed {%this delete} \
-okPressed {
[.main infoView] font [%this value]
[.main navigView] font [%this value]
if {"[m4_var get M4_font -context mt]" != "[%this value]"} {
catch {m4_var set M4_font "[%this value]" -context mt}
}
%this delete
}
}
.main.font delHelpButton
.main.font popUp
}
# Do not delete this line -- regeneration end marker