Class: Gtk::TargetEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/gtk3/target-entry.rb

Instance Method Summary collapse

Constructor Details

#initialize(target, flags, info) ⇒ TargetEntry

Returns a new instance of TargetEntry.



20
21
22
23
24
25
# File 'lib/gtk3/target-entry.rb', line 20

def initialize(target, flags, info)
  unless flags.is_a?(TargetFlags)
    flags = TargetFlags.new(flags)
  end
  initialize_raw(target, flags.to_i, info)
end

Instance Method Details

#initialize_rawObject



19
# File 'lib/gtk3/target-entry.rb', line 19

alias_method :initialize_raw, :initialize