.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" 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 .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . 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 .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::Gdk::DragContext 3" .TH Gtk2::Gdk::DragContext 3 2023-07-25 "perl v5.38.0" "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::Gdk::DragContext \- wrapper for GdkDragContext .SH HIERARCHY .IX Header "HIERARCHY" .Vb 2 \& Glib::Object \& +\-\-\-\-Gtk2::Gdk::DragContext .Ve .SH METHODS .IX Header "METHODS" .SS "dragcontext = Gtk2::Gdk::DragContext\->\fBnew\fP" .IX Subsection "dragcontext = Gtk2::Gdk::DragContext->new" .ie n .SS "$context\->\fBabort\fP ($time_)" .el .SS "\f(CW$context\fP\->\fBabort\fP ($time_)" .IX Subsection "$context->abort ($time_)" .IP \(bu 4 \&\f(CW$time_\fR (unsigned) .ie n .SS "scalar = $dc\->\fBaction\fP" .el .SS "scalar = \f(CW$dc\fP\->\fBaction\fP" .IX Subsection "scalar = $dc->action" .ie n .SS "scalar = $dc\->\fBactions\fP" .el .SS "scalar = \f(CW$dc\fP\->\fBactions\fP" .IX Subsection "scalar = $dc->actions" .ie n .SS "dragaction = $context\->\fBget_actions\fP" .el .SS "dragaction = \f(CW$context\fP\->\fBget_actions\fP" .IX Subsection "dragaction = $context->get_actions" Since: gtk+ 2.22 .SS "dragcontext = Gtk2::Gdk::DragContext\->\fBbegin\fP ($window, ...)" .IX Subsection "dragcontext = Gtk2::Gdk::DragContext->begin ($window, ...)" .IP \(bu 4 \&\f(CW$window\fR (Gtk2::Gdk::Window) .IP \(bu 4 \&... (list) of Gtk2::Gdk::Atom's .ie n .SS "scalar = $dc\->\fBdest_window\fP" .el .SS "scalar = \f(CW$dc\fP\->\fBdest_window\fP" .IX Subsection "scalar = $dc->dest_window" .ie n .SS "boolean = $context\->\fBdrag_drop_succeeded\fP" .el .SS "boolean = \f(CW$context\fP\->\fBdrag_drop_succeeded\fP" .IX Subsection "boolean = $context->drag_drop_succeeded" Since: gtk+ 2.6 .ie n .SS "$context\->\fBdrop\fP ($time_)" .el .SS "\f(CW$context\fP\->\fBdrop\fP ($time_)" .IX Subsection "$context->drop ($time_)" .IP \(bu 4 \&\f(CW$time_\fR (unsigned) .ie n .SS "$context\->\fBdrop_finish\fP ($success, $time_=GDK_CURRENT_TIME)" .el .SS "\f(CW$context\fP\->\fBdrop_finish\fP ($success, \f(CW$time_\fP=GDK_CURRENT_TIME)" .IX Subsection "$context->drop_finish ($success, $time_=GDK_CURRENT_TIME)" .IP \(bu 4 \&\f(CW$success\fR (boolean) .IP \(bu 4 \&\f(CW$time_\fR (unsigned) .ie n .SS "$context\->\fBdrop_reply\fP ($ok, $time_=GDK_CURRENT_TIME)" .el .SS "\f(CW$context\fP\->\fBdrop_reply\fP ($ok, \f(CW$time_\fP=GDK_CURRENT_TIME)" .IX Subsection "$context->drop_reply ($ok, $time_=GDK_CURRENT_TIME)" .IP \(bu 4 \&\f(CW$ok\fR (boolean) .IP \(bu 4 \&\f(CW$time_\fR (unsigned) .ie n .SS "(dest_window, protocol) = $context\->\fBfind_window\fP ($drag_window, $x_root, $y_root)" .el .SS "(dest_window, protocol) = \f(CW$context\fP\->\fBfind_window\fP ($drag_window, \f(CW$x_root\fP, \f(CW$y_root\fP)" .IX Subsection "(dest_window, protocol) = $context->find_window ($drag_window, $x_root, $y_root)" .IP \(bu 4 \&\f(CW$drag_window\fR (Gtk2::Gdk::Window) .IP \(bu 4 \&\f(CW$x_root\fR (integer) .IP \(bu 4 \&\f(CW$y_root\fR (integer) .ie n .SS "(dest_window, protocol) = $context\->\fBfind_window_for_screen\fP ($drag_window, $screen, $x_root, $y_root)" .el .SS "(dest_window, protocol) = \f(CW$context\fP\->\fBfind_window_for_screen\fP ($drag_window, \f(CW$screen\fP, \f(CW$x_root\fP, \f(CW$y_root\fP)" .IX Subsection "(dest_window, protocol) = $context->find_window_for_screen ($drag_window, $screen, $x_root, $y_root)" .IP \(bu 4 \&\f(CW$drag_window\fR (Gtk2::Gdk::Window) .IP \(bu 4 \&\f(CW$screen\fR (Gtk2::Gdk::Screen) .IP \(bu 4 \&\f(CW$x_root\fR (integer) .IP \(bu 4 \&\f(CW$y_root\fR (integer) .PP Since: gtk+ 2.2 .ie n .SS "$context\->\fBfinish\fP ($success, $del, $time_)" .el .SS "\f(CW$context\fP\->\fBfinish\fP ($success, \f(CW$del\fP, \f(CW$time_\fP)" .IX Subsection "$context->finish ($success, $del, $time_)" .IP \(bu 4 \&\f(CW$success\fR (boolean) .IP \(bu 4 \&\f(CW$del\fR (boolean) .IP \(bu 4 \&\f(CW$time_\fR (unsigned) .ie n .SS $context\->\fBset_icon_default\fP .el .SS \f(CW$context\fP\->\fBset_icon_default\fP .IX Subsection "$context->set_icon_default" .ie n .SS "$context\->\fBset_icon_name\fP ($icon_name, $hot_x, $hot_y)" .el .SS "\f(CW$context\fP\->\fBset_icon_name\fP ($icon_name, \f(CW$hot_x\fP, \f(CW$hot_y\fP)" .IX Subsection "$context->set_icon_name ($icon_name, $hot_x, $hot_y)" .IP \(bu 4 \&\f(CW$icon_name\fR (string) .IP \(bu 4 \&\f(CW$hot_x\fR (integer) .IP \(bu 4 \&\f(CW$hot_y\fR (integer) .PP Since: gtk+ 2.8 .ie n .SS "$context\->\fBset_icon_pixbuf\fP ($pixbuf, $hot_x, $hot_y)" .el .SS "\f(CW$context\fP\->\fBset_icon_pixbuf\fP ($pixbuf, \f(CW$hot_x\fP, \f(CW$hot_y\fP)" .IX Subsection "$context->set_icon_pixbuf ($pixbuf, $hot_x, $hot_y)" .IP \(bu 4 \&\f(CW$pixbuf\fR (Gtk2::Gdk::Pixbuf) .IP \(bu 4 \&\f(CW$hot_x\fR (integer) .IP \(bu 4 \&\f(CW$hot_y\fR (integer) .ie n .SS "$context\->\fBset_icon_pixmap\fP ($colormap, $pixmap, $mask, $hot_x, $hot_y)" .el .SS "\f(CW$context\fP\->\fBset_icon_pixmap\fP ($colormap, \f(CW$pixmap\fP, \f(CW$mask\fP, \f(CW$hot_x\fP, \f(CW$hot_y\fP)" .IX Subsection "$context->set_icon_pixmap ($colormap, $pixmap, $mask, $hot_x, $hot_y)" .IP \(bu 4 \&\f(CW$colormap\fR (Gtk2::Gdk::Colormap) .IP \(bu 4 \&\f(CW$pixmap\fR (Gtk2::Gdk::Pixmap) .IP \(bu 4 \&\f(CW$mask\fR (Gtk2::Gdk::Bitmap or undef) .IP \(bu 4 \&\f(CW$hot_x\fR (integer) .IP \(bu 4 \&\f(CW$hot_y\fR (integer) .ie n .SS "$context\->\fBset_icon_stock\fP ($stock_id, $hot_x, $hot_y)" .el .SS "\f(CW$context\fP\->\fBset_icon_stock\fP ($stock_id, \f(CW$hot_x\fP, \f(CW$hot_y\fP)" .IX Subsection "$context->set_icon_stock ($stock_id, $hot_x, $hot_y)" .IP \(bu 4 \&\f(CW$stock_id\fR (string) .IP \(bu 4 \&\f(CW$hot_x\fR (integer) .IP \(bu 4 \&\f(CW$hot_y\fR (integer) .ie n .SS "$context\->\fBset_icon_widget\fP ($widget, $hot_x, $hot_y)" .el .SS "\f(CW$context\fP\->\fBset_icon_widget\fP ($widget, \f(CW$hot_x\fP, \f(CW$hot_y\fP)" .IX Subsection "$context->set_icon_widget ($widget, $hot_x, $hot_y)" .IP \(bu 4 \&\f(CW$widget\fR (Gtk2::Widget) .IP \(bu 4 \&\f(CW$hot_x\fR (integer) .IP \(bu 4 \&\f(CW$hot_y\fR (integer) .ie n .SS "scalar = $dc\->\fBis_source\fP" .el .SS "scalar = \f(CW$dc\fP\->\fBis_source\fP" .IX Subsection "scalar = $dc->is_source" .ie n .SS "list = $context\->\fBlist_targets\fP" .el .SS "list = \f(CW$context\fP\->\fBlist_targets\fP" .IX Subsection "list = $context->list_targets" Since: gtk+ 2.22 .ie n .SS "boolean = $context\->\fBmotion\fP ($dest_window, $protocol, $x_root, $y_root, $suggested_action, $possible_actions, $time_)" .el .SS "boolean = \f(CW$context\fP\->\fBmotion\fP ($dest_window, \f(CW$protocol\fP, \f(CW$x_root\fP, \f(CW$y_root\fP, \f(CW$suggested_action\fP, \f(CW$possible_actions\fP, \f(CW$time_\fP)" .IX Subsection "boolean = $context->motion ($dest_window, $protocol, $x_root, $y_root, $suggested_action, $possible_actions, $time_)" .IP \(bu 4 \&\f(CW$dest_window\fR (Gtk2::Gdk::Window) .IP \(bu 4 \&\f(CW$protocol\fR (Gtk2::Gdk::DragProtocol) .IP \(bu 4 \&\f(CW$x_root\fR (integer) .IP \(bu 4 \&\f(CW$y_root\fR (integer) .IP \(bu 4 \&\f(CW$suggested_action\fR (Gtk2::Gdk::DragAction) .IP \(bu 4 \&\f(CW$possible_actions\fR (Gtk2::Gdk::DragAction) .IP \(bu 4 \&\f(CW$time_\fR (unsigned) .ie n .SS "scalar = $dc\->\fBprotocol\fP" .el .SS "scalar = \f(CW$dc\fP\->\fBprotocol\fP" .IX Subsection "scalar = $dc->protocol" .ie n .SS "(ret, protocol) = Gtk2::Gdk::DragContext\->\fBget_protocol_for_display\fP ($display, $xid)" .el .SS "(ret, protocol) = Gtk2::Gdk::DragContext\->\fBget_protocol_for_display\fP ($display, \f(CW$xid\fP)" .IX Subsection "(ret, protocol) = Gtk2::Gdk::DragContext->get_protocol_for_display ($display, $xid)" .IP \(bu 4 \&\f(CW$display\fR (Gtk2::Gdk::Display) .IP \(bu 4 \&\f(CW$xid\fR (unsigned) .PP Since: gtk+ 2.2 .SS "(ret, protocol) = Gtk2::Gdk::DragContext\->\fBget_protocol\fP ($xid)" .IX Subsection "(ret, protocol) = Gtk2::Gdk::DragContext->get_protocol ($xid)" .IP \(bu 4 \&\f(CW$xid\fR (unsigned) .ie n .SS "dragaction = $context\->\fBget_selected_action\fP" .el .SS "dragaction = \f(CW$context\fP\->\fBget_selected_action\fP" .IX Subsection "dragaction = $context->get_selected_action" Since: gtk+ 2.22 .ie n .SS "atom = $context\->\fBget_selection\fP" .el .SS "atom = \f(CW$context\fP\->\fBget_selection\fP" .IX Subsection "atom = $context->get_selection" .ie n .SS "widget = $context\->\fBget_source_widget\fP" .el .SS "widget = \f(CW$context\fP\->\fBget_source_widget\fP" .IX Subsection "widget = $context->get_source_widget" .ie n .SS "scalar = $dc\->\fBsource_window\fP" .el .SS "scalar = \f(CW$dc\fP\->\fBsource_window\fP" .IX Subsection "scalar = $dc->source_window" .ie n .SS "window = $context\->\fBget_source_window\fP" .el .SS "window = \f(CW$context\fP\->\fBget_source_window\fP" .IX Subsection "window = $context->get_source_window" Since: gtk+ 2.22 .ie n .SS "scalar = $dc\->\fBstart_time\fP" .el .SS "scalar = \f(CW$dc\fP\->\fBstart_time\fP" .IX Subsection "scalar = $dc->start_time" .ie n .SS "$context\->\fBstatus\fP ($action, $time_=GDK_CURRENT_TIME)" .el .SS "\f(CW$context\fP\->\fBstatus\fP ($action, \f(CW$time_\fP=GDK_CURRENT_TIME)" .IX Subsection "$context->status ($action, $time_=GDK_CURRENT_TIME)" .IP \(bu 4 \&\f(CW$action\fR (Gtk2::Gdk::DragAction) .IP \(bu 4 \&\f(CW$time_\fR (unsigned) .ie n .SS "scalar = $dc\->\fBsuggested_action\fP" .el .SS "scalar = \f(CW$dc\fP\->\fBsuggested_action\fP" .IX Subsection "scalar = $dc->suggested_action" .ie n .SS "dragaction = $context\->\fBget_suggested_action\fP" .el .SS "dragaction = \f(CW$context\fP\->\fBget_suggested_action\fP" .IX Subsection "dragaction = $context->get_suggested_action" Since: gtk+ 2.22 .ie n .SS "list = $dc\->\fBtargets\fP" .el .SS "list = \f(CW$dc\fP\->\fBtargets\fP" .IX Subsection "list = $dc->targets" Returns a list of Gtk2::Gdk::Atom's, the targets. .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "flags Gtk2::Gdk::DragAction" .IX Subsection "flags Gtk2::Gdk::DragAction" .IP \(bu 4 \&'default' / 'GDK_ACTION_DEFAULT' .IP \(bu 4 \&'copy' / 'GDK_ACTION_COPY' .IP \(bu 4 \&'move' / 'GDK_ACTION_MOVE' .IP \(bu 4 \&'link' / 'GDK_ACTION_LINK' .IP \(bu 4 \&'private' / 'GDK_ACTION_PRIVATE' .IP \(bu 4 \&'ask' / 'GDK_ACTION_ASK' .SS "enum Gtk2::Gdk::DragProtocol" .IX Subsection "enum Gtk2::Gdk::DragProtocol" .IP \(bu 4 \&'motif' / 'GDK_DRAG_PROTO_MOTIF' .IP \(bu 4 \&'xdnd' / 'GDK_DRAG_PROTO_XDND' .IP \(bu 4 \&'rootwin' / 'GDK_DRAG_PROTO_ROOTWIN' .IP \(bu 4 \&'none' / 'GDK_DRAG_PROTO_NONE' .IP \(bu 4 \&'win32\-dropfiles' / 'GDK_DRAG_PROTO_WIN32_DROPFILES' .IP \(bu 4 \&'ole2' / 'GDK_DRAG_PROTO_OLE2' .IP \(bu 4 \&'local' / 'GDK_DRAG_PROTO_LOCAL' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Gtk2 for a full notice.