summaryrefslogtreecommitdiff
path: root/lib/tk.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tk.rb')
-rw-r--r--lib/tk.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tk.rb b/lib/tk.rb
index 48a3940..5b25821 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