summaryrefslogtreecommitdiff
path: root/lib/tkentry.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-07-03 07:06:51 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-07-03 07:06:51 +0000
commitab801dbdb7ff8a99b5e0976516b879b27bcf3e1b (patch)
tree2657a1ca78c166beda5dfb609f9c53c5bae6f85c /lib/tkentry.rb
parent1a2003d1f176001f4c691d14a080e722bb12fc7b (diff)
1.1b9_29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/tkentry.rb')
-rw-r--r--lib/tkentry.rb24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/tkentry.rb b/lib/tkentry.rb
index bcf092a15c..645fc997b1 100644
--- a/lib/tkentry.rb
+++ b/lib/tkentry.rb
@@ -35,23 +35,23 @@ class TkEntry<TkLabel
def dragto(pos)
tk_send 'scan', 'dragto', pos
end
- def select_adjust(index)
- tk_send 'select', 'adjust', index
+ def selection_adjust(index)
+ tk_send 'selection', 'adjust', index
end
- def select_clear
- tk_send 'select', 'clear', 'end'
+ def selection_clear
+ tk_send 'selection', 'clear', 'end'
end
- def select_from(index)
- tk_send 'select', 'from', index
+ def selection_from(index)
+ tk_send 'selection', 'from', index
end
- def select_present()
- tk_send('select', 'present') == 1
+ def selection_present()
+ tk_send('selection', 'present') == 1
end
- def select_range(s, e)
- tk_send 'select', 'range', s, e
+ def selection_range(s, e)
+ tk_send 'selection', 'range', s, e
end
- def select_to(index)
- tk_send 'select', 'to', index
+ def selection_to(index)
+ tk_send 'selection', 'to', index
end
def xview(*index)
tk_send 'xview', *index