diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-21 20:45:27 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-21 20:45:27 +0000 |
commit | 56761e29f655407aa7bbbf27072f9ff6bf055757 (patch) | |
tree | 32d75a053657af1e0fd7d0b50956b5e55cdd4e93 /ext/tk/lib/tk/font.rb | |
parent | 11784c2c4b735f77a503c2e7149ba069caf1cf56 (diff) |
* ext/tk/lib/tk.rb: add Tk.appsend_deny and improve Tk.rb_appsend
* ext/tk/lib/tk.rb, ext/tk/lib/tk/*.rb : replace obj.send() -> obj.__send__()
* ext/tk/lib/remote-tk.rb: add a new library which create an object to
control a Tk interpreter on the other process
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk/font.rb')
-rw-r--r-- | ext/tk/lib/tk/font.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/tk/lib/tk/font.rb b/ext/tk/lib/tk/font.rb index b8f7f1b991..9b38531f59 100644 --- a/ext/tk/lib/tk/font.rb +++ b/ext/tk/lib/tk/font.rb @@ -278,7 +278,8 @@ class TkFont private ################################### def initialize(ltn=nil, knj=nil, keys=nil) - @id = Tk_FontID.join('') + # @id = Tk_FontID.join('') + @id = Tk_FontID.join(TkCore::INTERP._ip_id_) Tk_FontID[1].succ! Tk_FontNameTBL[@id] = self |