On Mon, 2006-11-27 at 17:31 +0000, Stephen English wrote:
> I am struggling to fire suitable events when dragging a row from a
> treeview onto an eventbox. The code at http://phpfi.com/179070 and
> below doesn't run the sig_dropped or drag_data_get functions. What am
> I missing? 
> 
> Cheers,
> 
> Stephen English

Hi,

change:
evbox.drag_dest_set(gtk.DEST_DEFAULT_DROP, [('text/plain',
gtk.TARGET_SAME_APP, 0)], gtk.gdk.ACTION_COPY)

to:
evbox.drag_dest_set(gtk.DEST_DEFAULT_ALL, [('text/plain',
gtk.TARGET_SAME_APP, 0)], gtk.gdk.ACTION_COPY)

mvg,
Dieter

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to