Gtk2::TargetList(3) wrapper for GtkTargetList

HIERARCHY

  Glib::Boxed
  +----Gtk2::TargetList

METHODS

targetlist = Gtk2::TargetList->new (...)

  • ... (list) of Gtk2::TargetEntry's

$list->add ($target, $flags, $info)

  • $target (Gtk2::Gdk::Atom)
  • $flags (integer)
  • $info (integer)

$list->add_image_targets ($info, $writable)

  • $info (integer)
  • $writable (boolean)

Since: gtk+ 2.6

$list->add_rich_text_targets ($info, $deserializable, $buffer)

  • $info (integer)
  • $deserializable (boolean)
  • $buffer (Gtk2::TextBuffer)

Since: gtk+ 2.10

$list->add_table (...)

  • ... (list) of Gtk2::TargetEntry's

$list->add_text_targets ($info)

  • $info (integer)

Since: gtk+ 2.6

$list->add_uri_targets ($info)

  • $info (integer)

Since: gtk+ 2.6

integer = $list->find ($target)

  • $target (Gtk2::Gdk::Atom)

$list->remove ($target)

  • $target (Gtk2::Gdk::Atom)

COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.