=head1 NAME

Gtk2::SelectionData

=head1 HIERARCHY

  Glib::Boxed
  +----Gtk2::SelectionData


=head1 METHODS

=head2 scalar = $d-E<gt>B<data> 

=over

=back

=head2 scalar = $d-E<gt>B<display> 

=over

=back

=head2 scalar = $d-E<gt>B<format> 

=over

=back

=head2 $selection_data-E<gt>B<set> ($type, $format, $data)

=over

=over

=item * $type (Gtk2::Gdk::Atom) 

=item * $format (integer) 

=item * $data (Glib::UChar) 

=back

=back

=head2 scalar = $d-E<gt>B<length> 

=over

=back

=head2 pixbuf or undef = $selection_data-E<gt>B<get_pixbuf> 

=over

=back

=head2 boolean = $selection_data-E<gt>B<set_pixbuf> ($pixbuf)

=over

=over

=item * $pixbuf (Gtk2::Gdk::Pixbuf) 

=back

=back

=head2 (tree_model, path) = $selection_data->B<get_row_drag_data>

=over



=back

=head2 boolean = $selection_data-E<gt>B<set_row_drag_data> ($tree_model, $path)

=over

=over

=item * $tree_model (Gtk2::TreeModel) 

=item * $path (Gtk2::TreePath) 

=back

=back

=head2 scalar = $d-E<gt>B<selection> 

=over

=back

=head2 scalar = $d-E<gt>B<target> 

=over

=back

=head2 list = $selection_data-E<gt>B<get_targets> 

=over

Gets the contents of selection_data as an array of targets. This can be used to
interpret the results of getting the standard TARGETS target that is always
supplied for any selection.

Returns a list of GdkAtoms, the targets.

=back

=head2 boolean = $selection_data-E<gt>B<targets_include_image> ($writable)

=over

=over

=item * $writable (boolean) 

=back

=back

=head2 boolean = $selection_data-E<gt>B<targets_include_text> 

=over

=back

=head2 string = $selection_data-E<gt>B<get_text> 

=over

=back

=head2 boolean = $selection_data-E<gt>B<set_text> ($str, $len=-1)

=over

=over

=item * $str (string) 

=item * $len (integer) 

=back

=back

=head2 scalar = $d-E<gt>B<type> 

=over

=back

=head2 list = $selection_data-E<gt>B<get_uris> 

=over

=back

=head2 boolean = $selection_data-E<gt>B<set_uris> (...)

=over

=over

=item * ... (list) of strings

=back



=back


=head1 SEE ALSO

L<Gtk2>, L<Glib::Boxed>

=head1 COPYRIGHT

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

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


=cut

