Namespace
Methods
#
A
C
D
E
H
I
L
S
T
Constants
TkCommandNames = ['::blt::drag&drop'.freeze].freeze
 
Class Public methods
__validation_class_list()
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 159
def self.__validation_class_list
  super() << PackageCommand << SiteCommand
end
active()
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 261
def self.active
  bool(tk_call('::blt::drag&drop', 'active'))
end
drag(win, x, y)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 250
def self.drag(win, x, y)
  tk_call('::blt::drag&drop', 'drag', win, x, y)
end
drop(win, x, y)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 253
def self.drop(win, x, y)
  tk_call('::blt::drag&drop', 'drop', win, x, y)
end
errors(cmd=Proc.new)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 257
def self.errors(cmd=Proc.new)
  tk_call('::blt::drag&drop', 'errors', cmd)
end
handle_target(win, type, val=None)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 242
def self.handle_target(win, type, val=None)
  tk_call('::blt::drag&drop', 'target', win, 'handle', type, val)
end
init_source(win)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 220
def self.init_source(win)
  tk_call('::blt::drag&drop', 'source', win)
end
location(x=None, y=None)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 265
def self.location(x=None, y=None)
  list(tk_call('::blt::drag&drop', 'location', x, y))
end
source()
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 224
def self.source()
  list(tk_call('::blt::drag&drop', 'source'))
end
source_handler(win, datatype, cmd=Proc.new, *args)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 206
def self.source_handler(win, datatype, cmd=Proc.new, *args)
  _bind_for_event_class(DnD_Handle,
                        ['::blt::drag&drop', 'source', win, 'handler'],
                        cmd, *args)
end
source_handler_info(win, type)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 231
def self.source_handler_info(win, type)
  tk_tcl2ruby(tk_call('::blt::drag&drop', 'source', win, 'handler', type))
end
source_handler_list(win)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 228
def self.source_handler_list(win)
  simplelist(tk_call('::blt::drag&drop', 'source', win, 'handler'))
end
target()
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 235
def self.target
  list(tk_call('::blt::drag&drop', 'target'))
end
target_handler(win, datatype, cmd=Proc.new, *args)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 212
def self.target_handler(win, datatype, cmd=Proc.new, *args)
  _bind_for_event_class(DnD_Handle,
                        ['::blt::drag&drop', 'target', win, 'handler'],
                        cmd, *args)
end
target_handler_list(win)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 238
def self.target_handler_list(win)
  simplelist(tk_call('::blt::drag&drop', 'target', win, 'handler'))
end
token(win)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 246
def self.token(win)
  window(tk_call('::blt::drag&drop', 'token', win))
end
Instance Public methods
current_source_configinfo(win, slot=nil)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 67
def current_source_configinfo(win, slot=nil)
  current_itemconfiginfo(['source', win], slot)
end
source_configinfo(win, slot=nil)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 64
def source_configinfo(win, slot=nil)
  itemconfiginfo(['source', win], slot)
end
source_configure(win, slot, value=None)
# File ext/tk/lib/tkextlib/blt/dragdrop.rb, line 61
def source_configure(win, slot, value=None)
  itemconfigure(['source', win], slot, value)
end