Next:
Gtk2::Gdk::Drawable
Previous:
Gtk2::Gdk::DisplayManager
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gtk2::Gdk::DragContext



NAME

Gtk2::Gdk::DragContext

HIERARCHY

  Glib::Object
  +----Gtk2::Gdk::DragContext

METHODS

dragcontext = Gtk2::Gdk::DragContext->new

$context->abort ($time_)

scalar = $dc->action

scalar = $dc->actions

dragcontext = Gtk2::Gdk::DragContext->begin ($window, ...)

scalar = $dc->dest_window

boolean = $context->drag_drop_succeeded

Since: gtk+ 2.6

$context->drop ($time_)

$context->drop_finish ($success, $time_=GDK_CURRENT_TIME)

$context->drop_reply ($ok, $time_=GDK_CURRENT_TIME)

(dest_window, protocol) = $context->find_window ($drag_window, $x_root, $y_root)

(dest_window, protocol) = $context->find_window_for_screen ($drag_window, $screen, $x_root, $y_root)

Since: gtk+ 2.2

$context->finish ($success, $del, $time_)

$context->set_icon_default

$context->set_icon_name ($icon_name, $hot_x, $hot_y)

Since: gtk+ 2.8

$context->set_icon_pixbuf ($pixbuf, $hot_x, $hot_y)

$context->set_icon_pixmap ($colormap, $pixmap, $mask, $hot_x, $hot_y)

$context->set_icon_stock ($stock_id, $hot_x, $hot_y)

$context->set_icon_widget ($widget, $hot_x, $hot_y)

scalar = $dc->is_source

boolean = $context->motion ($dest_window, $protocol, $x_root, $y_root, $suggested_action, $possible_actions, $time_)

scalar = $dc->protocol

(ret, protocol) = Gtk2::Gdk::DragContext->get_protocol_for_display ($display, $xid)

Since: gtk+ 2.2

(ret, protocol) = Gtk2::Gdk::DragContext->get_protocol ($xid)

atom = $context->get_selection

widget = $context->get_source_widget

scalar = $dc->source_window

scalar = $dc->start_time

$context->status ($action, $time_=GDK_CURRENT_TIME)

scalar = $dc->suggested_action

list = $dc->targets

Returns a list of Gtk2::Gdk::Atom's, the targets.

ENUMS AND FLAGS

flags Gtk2::Gdk::DragAction

enum Gtk2::Gdk::DragProtocol

SEE ALSO

Gtk2, Glib::Object

COPYRIGHT

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

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


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:01:35 2009