---
name: "Gtk2::Drag"
section: "3pm"
platform: "linux"
package: "libgtk2-perl-doc"
version: "2:1.24992-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/Gtk2::Drag"
---

# Gtk2::Drag(3pm)

## NAME

Gtk2::Drag

## METHODS

### dragcontext = Gtk2::Drag-\>begin ($widget, $targets, $actions, $button, $event)

- •

  `$widget` (Gtk2::Widget)

- •

  `$targets` (Gtk2::TargetList)

- •

  `$actions` (Gtk2::Gdk::DragAction)

- •

  `$button` (integer)

- •

  `$event` (Gtk2::Gdk::Event)

## ENUMS AND FLAGS

### flags Gtk2::Gdk::DragAction

- •

  'default' / 'GDK\_ACTION\_DEFAULT'

- •

  'copy' / 'GDK\_ACTION\_COPY'

- •

  'move' / 'GDK\_ACTION\_MOVE'

- •

  'link' / 'GDK\_ACTION\_LINK'

- •

  'private' / 'GDK\_ACTION\_PRIVATE'

- •

  'ask' / 'GDK\_ACTION\_ASK'

## SEE ALSO

Gtk2

## COPYRIGHT

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

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