Class: Gtk::TargetList
- Inherits:
-
Object
- Object
- Gtk::TargetList
- Defined in:
- lib/gtk3/target-list.rb
Instance Method Summary collapse
Instance Method Details
#find(target) ⇒ Object
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/gtk3/target-list.rb', line 20 def find(target) target = Gdk::Atom.intern(target) if target.is_a?(String) found, info = find_raw(target) if found info else nil end end |
#find_raw ⇒ Object
19 |
# File 'lib/gtk3/target-list.rb', line 19 alias_method :find_raw, :find |