WmDefault.fs 755 B

1234567891011121314151617181920212223
  1. # -*-mode: tcl; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*-
  2. #
  3. # $Id: WmDefault.fs,v 1.2 2001/12/09 05:03:09 idiscovery Exp $
  4. #
  5. proc tixSetFontset {} {
  6. global tixOption
  7. package require wm_default
  8. if {![info exists ::wm_default::wm]} {
  9. wm_default::setup
  10. wm_default::addoptions
  11. }
  12. set tixOption(font) $::wm_default::system_font
  13. set tixOption(bold_font) [concat $::wm_default::system_font bold]
  14. set tixOption(menu_font) $::wm_default::menu_font
  15. set tixOption(italic_font) [concat $::wm_default::system_font italic]
  16. set tixOption(fixed_font) $::wm_default::fixed_font
  17. set tixOption(text_font) $::wm_default::text_font
  18. set tixOption(border1) $::wm_default::borderwidth
  19. }