summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tk.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tk.rb b/lib/tk.rb
index 48a3940fcc..5b258218c5 100644
--- a/lib/tk.rb
+++ b/lib/tk.rb
@@ -707,6 +707,9 @@ class TkListbox<TkTextWin
tk_call 'listbox', path
end
+ def curselection
+ tk_send 'curselection'
+ end
def nearest(y)
tk_send 'nearest', y
end