Unix/Linux Go Back    


SuSE 11.3 - man page for gtk2::gdk::dragcontext (suse section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


Gtk2::Gdk::DragContext(3)      User Contributed Perl Documentation	Gtk2::Gdk::DragContext(3)

NAME
       Gtk2::Gdk::DragContext

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

METHODS
   dragcontext = Gtk2::Gdk::DragContext->new
   $context->abort ($time_)
       o   $time_ (unsigned)

   scalar = $dc->action
   scalar = $dc->actions
   dragcontext = Gtk2::Gdk::DragContext->begin ($window, ...)
       o   $window (Gtk2::Gdk::Window)

       o   ... (list) of Gtk2::Gdk::Atom's

   scalar = $dc->dest_window
   boolean = $context->drag_drop_succeeded
       Since: gtk+ 2.6

   $context->drop ($time_)
       o   $time_ (unsigned)

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

       o   $time_ (unsigned)

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

       o   $time_ (unsigned)

   (dest_window, protocol) = $context->find_window ($drag_window, $x_root, $y_root)
       o   $drag_window (Gtk2::Gdk::Window)

       o   $x_root (integer)

       o   $y_root (integer)

   (dest_window, protocol) = $context->find_window_for_screen ($drag_window, $screen, $x_root,
       $y_root)
       o   $drag_window (Gtk2::Gdk::Window)

       o   $screen (Gtk2::Gdk::Screen)

       o   $x_root (integer)

       o   $y_root (integer)

       Since: gtk+ 2.2

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

       o   $del (boolean)

       o   $time_ (unsigned)

   $context->set_icon_default
   $context->set_icon_name ($icon_name, $hot_x, $hot_y)
       o   $icon_name (string)

       o   $hot_x (integer)

       o   $hot_y (integer)

       Since: gtk+ 2.8

   $context->set_icon_pixbuf ($pixbuf, $hot_x, $hot_y)
       o   $pixbuf (Gtk2::Gdk::Pixbuf)

       o   $hot_x (integer)

       o   $hot_y (integer)

   $context->set_icon_pixmap ($colormap, $pixmap, $mask, $hot_x, $hot_y)
       o   $colormap (Gtk2::Gdk::Colormap)

       o   $pixmap (Gtk2::Gdk::Pixmap)

       o   $mask (Gtk2::Gdk::Bitmap or undef)

       o   $hot_x (integer)

       o   $hot_y (integer)

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

       o   $hot_x (integer)

       o   $hot_y (integer)

   $context->set_icon_widget ($widget, $hot_x, $hot_y)
       o   $widget (Gtk2::Widget)

       o   $hot_x (integer)

       o   $hot_y (integer)

   scalar = $dc->is_source
   boolean = $context->motion ($dest_window, $protocol, $x_root, $y_root, $suggested_action,
       $possible_actions, $time_)
       o   $dest_window (Gtk2::Gdk::Window)

       o   $protocol (Gtk2::Gdk::DragProtocol)

       o   $x_root (integer)

       o   $y_root (integer)

       o   $suggested_action (Gtk2::Gdk::DragAction)

       o   $possible_actions (Gtk2::Gdk::DragAction)

       o   $time_ (unsigned)

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

       o   $xid (unsigned)

       Since: gtk+ 2.2

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

   atom = $context->get_selection
   widget = $context->get_source_widget
   scalar = $dc->source_window
   scalar = $dc->start_time
   $context->status ($action, $time_=GDK_CURRENT_TIME)
       o   $action (Gtk2::Gdk::DragAction)

       o   $time_ (unsigned)

   scalar = $dc->suggested_action
   list = $dc->targets
       Returns a list of Gtk2::Gdk::Atom's, the targets.

ENUMS AND FLAGS
   flags Gtk2::Gdk::DragAction
       o   'default' / 'GDK_ACTION_DEFAULT'

       o   'copy' / 'GDK_ACTION_COPY'

       o   'move' / 'GDK_ACTION_MOVE'

       o   'link' / 'GDK_ACTION_LINK'

       o   'private' / 'GDK_ACTION_PRIVATE'

       o   'ask' / 'GDK_ACTION_ASK'

   enum Gtk2::Gdk::DragProtocol
       o   'motif' / 'GDK_DRAG_PROTO_MOTIF'

       o   'xdnd' / 'GDK_DRAG_PROTO_XDND'

       o   'rootwin' / 'GDK_DRAG_PROTO_ROOTWIN'

       o   'none' / 'GDK_DRAG_PROTO_NONE'

       o   'win32-dropfiles' / 'GDK_DRAG_PROTO_WIN32_DROPFILES'

       o   'ole2' / 'GDK_DRAG_PROTO_OLE2'

       o   'local' / 'GDK_DRAG_PROTO_LOCAL'

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.

perl v5.12.1				    2010-07-05			Gtk2::Gdk::DragContext(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 01:26 PM.