openmedialibrary_platform_w.../tcl/tix8.4.3/pref/WmDefault.fs

24 lines
755 B
Forth
Raw Normal View History

2019-01-20 10:35:31 +00:00
# -*-mode: tcl; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*-
#
# $Id: WmDefault.fs,v 1.2 2001/12/09 05:03:09 idiscovery Exp $
#
proc tixSetFontset {} {
global tixOption
package require wm_default
if {![info exists ::wm_default::wm]} {
wm_default::setup
wm_default::addoptions
}
set tixOption(font) $::wm_default::system_font
set tixOption(bold_font) [concat $::wm_default::system_font bold]
set tixOption(menu_font) $::wm_default::menu_font
set tixOption(italic_font) [concat $::wm_default::system_font italic]
set tixOption(fixed_font) $::wm_default::fixed_font
set tixOption(text_font) $::wm_default::text_font
set tixOption(border1) $::wm_default::borderwidth
}