PHP-GTK
Saturday, July 04, 2009 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousdrag-data-get
drag-dropnext

Last updated: Sat, 04 Jul 2009
view this page in English | Bulgarian | Japanese | Brazilian | Simplified Chinese

drag-data-received

The drag-data-received signal is emitted on the drop site when the dragged data has been received. If the data was received in order to determine whether the drop will be accepted, the handler is expected to call drag_status and not finish the drag. If the data was received in response to a "drag-drop" signal (and this is the last target to be received), the handler for this signal is expected to process the received data and then call drag_finish, setting the success parameter depending on whether the data was processed successfully.

The handler may inspect and modify drag_context->action before calling drag_finish, e.g. to implement Gdk::ACTION_ASK.

Callback function

void callback(GtkWidget widget, GdkDragContext context, int x, int y, GtkSelectionData data, int info, int time);


User Contributed Notes
gtk.gtkwidget.signal.drag-data-received.php
add a note about notes
There are no user contributed notes for this page.


previousdrag-data-get
drag-dropnext

Last updated: Sat, 04 Jul 2009
view this page in English | Bulgarian | Japanese | Brazilian | Simplified Chinese


credits 

PHP  Copyright © 2001-2009 The PHP Group
 All rights reserved.
Last updated: Sat Jul 4 01:52:57 2009 UTC