.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" 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 .. .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 3pm" .TH Gtk2::Gdk::DragContext 3pm "2019-09-16" "perl v5.28.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::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' / '\s-1GDK_ACTION_DEFAULT\s0' .IP "\(bu" 4 \&'copy' / '\s-1GDK_ACTION_COPY\s0' .IP "\(bu" 4 \&'move' / '\s-1GDK_ACTION_MOVE\s0' .IP "\(bu" 4 \&'link' / '\s-1GDK_ACTION_LINK\s0' .IP "\(bu" 4 \&'private' / '\s-1GDK_ACTION_PRIVATE\s0' .IP "\(bu" 4 \&'ask' / '\s-1GDK_ACTION_ASK\s0' .SS "enum Gtk2::Gdk::DragProtocol" .IX Subsection "enum Gtk2::Gdk::DragProtocol" .IP "\(bu" 4 \&'motif' / '\s-1GDK_DRAG_PROTO_MOTIF\s0' .IP "\(bu" 4 \&'xdnd' / '\s-1GDK_DRAG_PROTO_XDND\s0' .IP "\(bu" 4 \&'rootwin' / '\s-1GDK_DRAG_PROTO_ROOTWIN\s0' .IP "\(bu" 4 \&'none' / '\s-1GDK_DRAG_PROTO_NONE\s0' .IP "\(bu" 4 \&'win32\-dropfiles' / '\s-1GDK_DRAG_PROTO_WIN32_DROPFILES\s0' .IP "\(bu" 4 \&'ole2' / '\s-1GDK_DRAG_PROTO_OLE2\s0' .IP "\(bu" 4 \&'local' / '\s-1GDK_DRAG_PROTO_LOCAL\s0' .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 \s-1LGPL.\s0 See Gtk2 for a full notice.