summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk/text.rb
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-06 09:42:12 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-06 09:42:12 +0000
commiteb6571a860ff8c37c3583145be57287e8af97533 (patch)
treecd0a8b46f0b92608ec8997ca542d99029f28b1c5 /ext/tk/lib/tk/text.rb
parentd9034d23ce8dcb88f310a9e33b79379123c1f7fd (diff)
* ext/tk/lib : improve framework of developping Tcl/Tk extension wrappers
* BWidget extension support on Ruby/Tk git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk/text.rb')
-rw-r--r--ext/tk/lib/tk/text.rb17
1 files changed, 11 insertions, 6 deletions
diff --git a/ext/tk/lib/tk/text.rb b/ext/tk/lib/tk/text.rb
index 7593b59368..b992db5ff0 100644
--- a/ext/tk/lib/tk/text.rb
+++ b/ext/tk/lib/tk/text.rb
@@ -88,11 +88,15 @@ class TkText<TkTextWin
end
def create_self(keys)
- if keys and keys != None
- tk_call_without_enc('text', @path, *hash_kv(keys, true))
- else
- tk_call_without_enc('text', @path)
- end
+ #if keys and keys != None
+ # #tk_call_without_enc('text', @path, *hash_kv(keys, true))
+ # tk_call_without_enc(self.class::TkCommandNames[0], @path,
+ # *hash_kv(keys, true))
+ #else
+ # #tk_call_without_enc('text', @path)
+ # tk_call_without_enc(self.class::TkCommandNames[0], @path)
+ #end
+ super(keys)
init_instance_variable
end
private :create_self
@@ -131,7 +135,8 @@ class TkText<TkTextWin
|| tag.kind_of?(TkTextWindow)
tag.id
else
- tag
+ # tag
+ _get_eval_string(tag)
end
end
private :tagid