ts said:
F> I just wonder why the Tk* classes are freezed?
What do you call "freezed?" ?
svg% ruby -rtk -e 'p Tk.frozen?,TkButton.frozen?'
false
false
svg%
fery@domesticus:~$ ruby -rtk -e 'p Tk.frozen?,TkButton.frozen?'
true
false
fery@domesticus:~$ ruby --version
ruby 1.8.1 (2003-11-11) [i386-linux]
This is my tk.rb:
#
# tk.rb - Tk interface module using tcltklib
# $Date: 2003/09/07 07:10:43 $
# by Yukihiro Matsumoto <
[email protected]>
[...]
from line 5621:
# freeze core modules
TclTkLib.freeze
TclTkIp.freeze
TkUtil.freeze
TkKernel.freeze
TkComm.freeze
TkComm::Event.freeze
TkCore.freeze
Tk.freeze
TkButton is indeed not frozen, sorry.
I noticed this because of using the sample Tix.rb from the tcltk-ext
package.
This is a debian unstable.
Ferenc