PHP-GTK
Friday, July 25, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousdrag-data-get
drag-dropnext

Last updated: Sun, 12 May 2013
view this page in English

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: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:51:01 2013 CEST