Class: Gdk::DragContext

Inherits:
Object
  • Object
show all
Defined in:
lib/gtk3/deprecated.rb,
lib/gtk3/gdk-drag-context.rb

Instance Method Summary collapse

Instance Method Details

#finish(options = {}) ⇒ Object


20
21
22
23
24
25
26
27
# File 'lib/gtk3/gdk-drag-context.rb', line 20

def finish(options={})
  success = options[:success]
  success = true if success.nil?
  delete = options[:delete]
  delete = false if delete.nil?
  time = options[:time] || Gdk::CURRENT_TIME
  finish_raw(success, delete, time)
end

#finish_rawObject


19
# File 'lib/gtk3/gdk-drag-context.rb', line 19

alias_method :finish_raw, :finish