why Tk* classes are freezed?

F

Ferenc Engard

Hi,

I just wonder why the Tk* classes are freezed? If I can change, say,
Object or Class, why I can't change Tk or TkButton?

Ferenc
 
T

ts

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%



Guy Decoux
 
F

Ferenc Engard

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
 
H

Hidetoshi NAGAI

Hi,

From: Ferenc Engard <[email protected]>
Subject: Re: why Tk* classes are freezed?
Date: Sun, 16 Nov 2003 21:45:26 +0900
Message-ID: said:
# freeze core modules
TclTkLib.freeze
TclTkIp.freeze
TkUtil.freeze
TkKernel.freeze
TkComm.freeze
TkComm::Event.freeze
TkCore.freeze
Tk.freeze

Sorry. Those are debris. Already those were removed.

---------< from ChangeLog ----------------------------------
Thu Nov 13 06:08:54 2003 Hidetoshi NAGAI <[email protected]>

* ext/tk/lib/tk.rb: stop freezing some classes

* ext/tk/lib/multi-tk.rb: ditto.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,139
Messages
2,570,807
Members
47,356
Latest member
Tommyhotly

Latest Threads

Top