PHP-GTK
Wednesday, July 23, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousdrag-data-received
drag-endnext

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

drag-drop

The drag-drop signal is emitted on the drop site when the user drops the data onto the widget. The signal handler must determine whether the cursor position is in a drop zone or not. If it is not in a drop zone, it returns false and no further processing is necessary. Otherwise, the handler returns true. In this case, the handler must ensure that drop_finish() is called to let the source know that the drop is done. The call to drop_finish() can be done either directly or in a "drag-data-received" handler which gets triggered by calling get_data to receive the data for one or more of the supported targets.

Callback function

bool callback(GtkWidget widget, GdkDragContext context, int x, int y, int time);


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


previousdrag-data-received
drag-endnext

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