.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "Gtk2::SelectionData 3pm" .TH Gtk2::SelectionData 3pm "2016-10-02" "perl v5.24.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Gtk2::SelectionData \- wrapper for GtkSelectionData .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 2 \& Glib::Boxed \& +\-\-\-\-Gtk2::SelectionData .Ve .SH "METHODS" .IX Header "METHODS" .ie n .SS "scalar = $d\->\fBget_data\fP" .el .SS "scalar = \f(CW$d\fP\->\fBget_data\fP" .IX Subsection "scalar = $d->get_data" .ie n .SS "scalar = $d\->\fBget_data_type\fP" .el .SS "scalar = \f(CW$d\fP\->\fBget_data_type\fP" .IX Subsection "scalar = $d->get_data_type" .ie n .SS "scalar = $d\->\fBget_display\fP" .el .SS "scalar = \f(CW$d\fP\->\fBget_display\fP" .IX Subsection "scalar = $d->get_display" .ie n .SS "scalar = $d\->\fBget_format\fP" .el .SS "scalar = \f(CW$d\fP\->\fBget_format\fP" .IX Subsection "scalar = $d->get_format" .ie n .SS "$selection_data\->\fBset\fP ($type, $format, $data)" .el .SS "\f(CW$selection_data\fP\->\fBset\fP ($type, \f(CW$format\fP, \f(CW$data\fP)" .IX Subsection "$selection_data->set ($type, $format, $data)" .IP "\(bu" 4 \&\f(CW$type\fR (Gtk2::Gdk::Atom) .IP "\(bu" 4 \&\f(CW$format\fR (integer) .IP "\(bu" 4 \&\f(CW$data\fR (Glib::UChar) .ie n .SS "scalar = $d\->\fBget_length\fP" .el .SS "scalar = \f(CW$d\fP\->\fBget_length\fP" .IX Subsection "scalar = $d->get_length" .ie n .SS "pixbuf or undef = $selection_data\->\fBget_pixbuf\fP" .el .SS "pixbuf or undef = \f(CW$selection_data\fP\->\fBget_pixbuf\fP" .IX Subsection "pixbuf or undef = $selection_data->get_pixbuf" Since: gtk+ 2.6 .ie n .SS "boolean = $selection_data\->\fBset_pixbuf\fP ($pixbuf)" .el .SS "boolean = \f(CW$selection_data\fP\->\fBset_pixbuf\fP ($pixbuf)" .IX Subsection "boolean = $selection_data->set_pixbuf ($pixbuf)" .IP "\(bu" 4 \&\f(CW$pixbuf\fR (Gtk2::Gdk::Pixbuf) .PP Since: gtk+ 2.6 .ie n .SS "(tree_model, path) = $selection_data\->\fBget_row_drag_data\fP" .el .SS "(tree_model, path) = \f(CW$selection_data\fP\->\fBget_row_drag_data\fP" .IX Subsection "(tree_model, path) = $selection_data->get_row_drag_data" If \f(CW$selection_data\fR is not of target type \s-1GTK_TREE_MODEL_ROW\s0 then the return is an empty list. .ie n .SS "boolean = $selection_data\->\fBset_row_drag_data\fP ($tree_model, $path)" .el .SS "boolean = \f(CW$selection_data\fP\->\fBset_row_drag_data\fP ($tree_model, \f(CW$path\fP)" .IX Subsection "boolean = $selection_data->set_row_drag_data ($tree_model, $path)" .IP "\(bu" 4 \&\f(CW$tree_model\fR (Gtk2::TreeModel) .IP "\(bu" 4 \&\f(CW$path\fR (Gtk2::TreePath) .ie n .SS "scalar = $d\->\fBget_selection\fP" .el .SS "scalar = \f(CW$d\fP\->\fBget_selection\fP" .IX Subsection "scalar = $d->get_selection" .ie n .SS "scalar = $d\->\fBget_target\fP" .el .SS "scalar = \f(CW$d\fP\->\fBget_target\fP" .IX Subsection "scalar = $d->get_target" .ie n .SS "list = $selection_data\->\fBget_targets\fP" .el .SS "list = \f(CW$selection_data\fP\->\fBget_targets\fP" .IX Subsection "list = $selection_data->get_targets" Gets the contents of selection_data as an array of targets. This can be used to interpret the results of getting the standard \s-1TARGETS\s0 target that is always supplied for any selection. .PP Returns a list of GdkAtoms, the targets. .ie n .SS "boolean = $selection_data\->\fBtargets_include_image\fP ($writable)" .el .SS "boolean = \f(CW$selection_data\fP\->\fBtargets_include_image\fP ($writable)" .IX Subsection "boolean = $selection_data->targets_include_image ($writable)" .IP "\(bu" 4 \&\f(CW$writable\fR (boolean) .PP Since: gtk+ 2.6 .ie n .SS "boolean = $selection_data\->\fBtargets_include_rich_text\fP ($buffer)" .el .SS "boolean = \f(CW$selection_data\fP\->\fBtargets_include_rich_text\fP ($buffer)" .IX Subsection "boolean = $selection_data->targets_include_rich_text ($buffer)" .IP "\(bu" 4 \&\f(CW$buffer\fR (Gtk2::TextBuffer) .PP Since: gtk+ 2.10 .ie n .SS "boolean = $selection_data\->\fBtargets_include_text\fP" .el .SS "boolean = \f(CW$selection_data\fP\->\fBtargets_include_text\fP" .IX Subsection "boolean = $selection_data->targets_include_text" .ie n .SS "boolean = $selection_data\->\fBtargets_include_uri\fP" .el .SS "boolean = \f(CW$selection_data\fP\->\fBtargets_include_uri\fP" .IX Subsection "boolean = $selection_data->targets_include_uri" Since: gtk+ 2.10 .ie n .SS "string = $selection_data\->\fBget_text\fP" .el .SS "string = \f(CW$selection_data\fP\->\fBget_text\fP" .IX Subsection "string = $selection_data->get_text" .ie n .SS "boolean = $selection_data\->\fBset_text\fP ($str, $len=\-1)" .el .SS "boolean = \f(CW$selection_data\fP\->\fBset_text\fP ($str, \f(CW$len\fP=\-1)" .IX Subsection "boolean = $selection_data->set_text ($str, $len=-1)" .IP "\(bu" 4 \&\f(CW$str\fR (string) .IP "\(bu" 4 \&\f(CW$len\fR (integer) .ie n .SS "list = $selection_data\->\fBget_uris\fP" .el .SS "list = \f(CW$selection_data\fP\->\fBget_uris\fP" .IX Subsection "list = $selection_data->get_uris" Since: gtk+ 2.6 .ie n .SS "boolean = $selection_data\->\fBset_uris\fP (...)" .el .SS "boolean = \f(CW$selection_data\fP\->\fBset_uris\fP (...)" .IX Subsection "boolean = $selection_data->set_uris (...)" .IP "\(bu" 4 \&... (list) of strings .PP Since: gtk+ 2.6 .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Boxed .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the \s-1LGPL. \s0 See Gtk2 for a full notice.