# File tk/lib/tkextlib/blt/unix_dnd.rb, line 87
def self.cancel(win)
tk_call('::blt::dnd', 'cancel', *wins)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 39
def cget(win, option)
itemcget(['cget', win], option)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 42
def cget_strict(win, option)
itemcget_strict(['cget', win], option)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 36
def cget_tkstring(win, option)
itemcget_tkstring(['cget', win], option)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 48
def configinfo(win, slot=nil)
itemconfiginfo(['configure', win], slot)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 45
def configure(win, slot, value=None)
itemconfigure(['configure', win], slot, value)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 51
def current_configinfo(win, slot=nil)
current_itemconfiginfo(['configure', win], slot)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 70
def current_token_configinfo(win, slot=nil)
current_itemconfiginfo(['token', 'configure', win], slot)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 80
def current_token_windowconfiginfo(win, slot=nil)
current_itemconfiginfo(['token', 'window', win], slot)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 90
def self.delete(*wins)
tk_call('::blt::dnd', 'delete', *wins)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 93
def self.delete_source(*wins)
tk_call('::blt::dnd', 'delete', '-source', *wins)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 96
def self.delete_target(*wins)
tk_call('::blt::dnd', 'delete', '-target', *wins)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 99
def self.drag(win, x, y, token=None)
tk_call('::blt::dnd', 'drag', win, x, y, token)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 102
def self.drop(win, x, y, token=None)
tk_call('::blt::dnd', 'drop', win, x, y, token)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 105
def self.get_data(win, fmt=nil, cmd=nil)
if fmt
tk_call('::blt::dnd', 'getdata', win, fmt, cmd)
else
list(tk_call('::blt::dnd', 'getdata', win))
end
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 112
def self.names(pat=None)
list(tk_call('::blt::dnd', 'names', pat))
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 121
def self.pull(win, fmt)
tk_call('::blt::dnd', 'pull', win, fmt)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 124
def self.register(win, keys={})
tk_call('::blt::dnd', 'register', win, keys)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 127
def self.select(win, x, y, timestamp)
tk_call('::blt::dnd', 'select', win, x, y, timestamp)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 130
def self.set_data(win, fmt=nil, cmd=nil)
if fmt
tk_call('::blt::dnd', 'setdata', win, fmt, cmd)
else
list(tk_call('::blt::dnd', 'setdata', win))
end
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 115
def self.source_names(pat=None)
list(tk_call('::blt::dnd', 'names', '-source', pat))
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 118
def self.target_names(pat=None)
list(tk_call('::blt::dnd', 'names', '-target', pat))
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 137
def self.token(*args)
tk_call('::blt::dnd', 'token', *args)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 58
def token_cget(win, option)
itemcget(['token', 'cget', win], option)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 61
def token_cget_strict(win, option)
itemcget_strict(['token', 'cget', win], option)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 55
def token_cget_tkstring(win, option)
itemcget_tkstring(['token', 'cget', win], option)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 67
def token_configinfo(win, slot=nil)
itemconfiginfo(['token', 'configure', win], slot)
end
# File tk/lib/tkextlib/blt/unix_dnd.rb, line 64
def token_configure(win, slot, value=None)
itemconfigure(['token', 'configure', win], slot, value)
end
Commenting is here to help enhance the documentation. For example, sample code, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.