2 # tkextlib/bwidget/dropsite.rb
3 # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
7 require 'tkextlib/bwidget.rb'
16 module Tk::BWidget::DropSite
20 def self.include(klass, type)
21 tk_call('DropSite::include', klass, type)
24 def self.register(path, keys={})
25 tk_call('DropSite::register', path, *hash_kv(keys))
28 def self.set_cursor(cursor)
29 tk_call('DropSite::setcursor', cursor)
32 def self.set_drop(path, subpath, dropover, drop, force=None)
33 tk_call('DropSite::setdrop', path, subpath, dropover, drop, force)
36 def self.set_operation(op)
37 tk_call('DropSite::setoperation', op)