class Gtk::DropTarget
Public Class Methods
Source
# File lib/gtk4/drop-target.rb, line 20 def initialize(type, actions) if type.is_a?(Array) initialize_raw(GLib::Type::INVALID, actions) set_gtypes(type) else initialize_raw(type, actions) end end
Also aliased as: initialize_raw