suse man page for gtk2::targetentry

Query: gtk2::targetentry

OS: suse

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Gtk2::TargetEntry(3)					User Contributed Perl Documentation				      Gtk2::TargetEntry(3)

NAME
Gtk2::TargetEntry
SYNOPSIS
# as a HASH $target_entry = { target => 'text/plain', # some string representing the drag type flags => [], # Gtk2::TargetFlags info => 42, # some app-defined integer identifier }; # as an ARRAY, for compactness $target_entry = [ $target, $flags, $info ];
DESCRIPTION
A Gtk2::TargetEntry data structure represents a single type of data than can be supplied for by a widget for a selection or for supplied or received during drag-and-drop. It contains a string representing the drag type, a flags field (used only for drag and drop - see Gtk2::TargetFlags), and an application assigned integer ID. The integer ID will later be passed as a signal parameter for signals like "selection_get". It allows the application to identify the target type without extensive string compares.
ENUMS AND FLAGS
flags Gtk2::TargetFlags o 'same-app' / 'GTK_TARGET_SAME_APP' o 'same-widget' / 'GTK_TARGET_SAME_WIDGET' o 'other-app' / 'GTK_TARGET_OTHER_APP' o 'other-widget' / 'GTK_TARGET_OTHER_WIDGET'
SEE ALSO
Gtk2, Gtk2::TargetList
COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::TargetEntry(3)
Related Man Pages
gtk2::selection(3) - suse
gtk2::clipboard(3) - suse
gtk2::filechooserdialog(3) - suse
gtk2::filechooserwidget(3) - suse
gtk2::filechooserwidget(3pm) - debian
Similar Topics in the Unix Linux Community
Dojo Toolkit 1.1.0 (Release branch)
Dojo Toolkit 1.2.0 (Release branch)
Dojo Toolkit 1.2.1 (Release branch)
Theory 0.1.1 (Default branch)
CodeGlide Fusion 1.0 (Default branch)