Compat.tcl 870 B

123456789101112131415161718192021222324252627282930313233
  1. # -*- mode: TCL; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*-
  2. #
  3. # $Id: Compat.tcl,v 1.3 2004/03/28 02:44:57 hobbs Exp $
  4. #
  5. # Compat.tcl --
  6. #
  7. # This file wraps around many incompatibilities from Tix 3.6
  8. # to Tix 4.0.
  9. #
  10. # (1) "box" to "Box" changes
  11. # (2) "DlgBtns" to "ButtonBox" changes
  12. #
  13. # Copyright (c) 1993-1999 Ioi Kim Lam.
  14. # Copyright (c) 2000-2001 Tix Project Group.
  15. #
  16. # See the file "license.terms" for information on usage and redistribution
  17. # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  18. #
  19. foreach {old new} {
  20. tixDlgBtns tixButtonBox
  21. tixStdDlgBtns tixStdButtonBox
  22. tixCombobox tixComboBox
  23. tixFileSelectbox tixFileSelectBox
  24. tixScrolledListbox tixScrolledListBox
  25. } {
  26. interp alias {} $old {} $new
  27. }
  28. proc tixInit {args} {
  29. eval tix config $args
  30. puts stderr "tixInit no longer needed for this version of Tix"
  31. }