summaryrefslogtreecommitdiff
path: root/lib/tktext.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-07-21 09:18:05 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-07-21 09:18:05 +0000
commit334b2c9f855ca8e4a36d34c6e600f5203ec017a5 (patch)
tree81a3e8889b938217aa68284686b38313241c3f9e /lib/tktext.rb
parent043ec1f18d6e99b73eec029142185019f383f478 (diff)
st.c(rehash)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/tktext.rb')
-rw-r--r--lib/tktext.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/tktext.rb b/lib/tktext.rb
index e0b4f9641ea..02d5a7f3e0e 100644
--- a/lib/tktext.rb
+++ b/lib/tktext.rb
@@ -99,7 +99,7 @@ module TkTreatTextTagFont
tagfontobj(tag).replace(window.tagfontobj(wintag).latin_font,
window.tagfontobj(wintag).kanji_font)
else
- window.tagfont(tag).configinfo.each{|key,value|
+ window.tagfont(wintag).configinfo.each{|key,value|
tagfontobj(tag).configure(key,value)
}
tagfontobj(tag).replace(window.fontobj.latin_font,
@@ -272,7 +272,7 @@ class TkText<TkTextWin
end
def tag_cget(tag, key)
- tk_call @t.path, 'tag', 'cget', tag, "-#{key}"
+ tk_tcl2ruby tk_call @t.path, 'tag', 'cget', tag, "-#{key}"
end
def tag_configure(tag, key, val=None)
@@ -486,7 +486,7 @@ class TkTextTag<TkObject
end
def cget(key)
- tk_call @t.path, 'tag', 'cget', @id, "-#{key}"
+ tk_tcl2ruby tk_call @t.path, 'tag', 'cget', @id, "-#{key}"
end
def configure(key, val=None)
@@ -668,7 +668,7 @@ class TkTextWindow<TkObject
end
def cget(slot)
- tk_call @t.path, 'window', 'cget', @index, "-#{slot}"
+ tk_tcl2ruby tk_call @t.path, 'window', 'cget', @index, "-#{slot}"
end
def configure(slot, value=None)
@@ -758,7 +758,7 @@ class TkTextImage<TkObject
end
def cget(slot)
- tk_call @t.path, 'image', 'cget', @index, "-#{slot}"
+ tk_tcl2ruby tk_call @t.path, 'image', 'cget', @index, "-#{slot}"
end
def configure(slot, value=None)