Class: Gtk::TargetEntry
- Inherits:
-
Object
- Object
- Gtk::TargetEntry
- Defined in:
- lib/gtk3/target-entry.rb
Instance Method Summary collapse
-
#initialize(target, flags, info) ⇒ TargetEntry
constructor
A new instance of TargetEntry.
- #initialize_raw ⇒ Object
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_raw ⇒ Object
19 |
# File 'lib/gtk3/target-entry.rb', line 19 alias_method :initialize_raw, :initialize |