# Gtk drop-drag events dont work

**URL:** <https://www.ruby-forum.com/t/gtk-drop-drag-events-dont-work/239191>\
**Category:** Ruby-Gnome 2\
**Created:** [February 16, 2014, 8:48pm UTC](https://www.ruby-forum.com/t/gtk-drop-drag-events-dont-work/239191 "2014-02-16T20:48:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [February 16, 2014, 8:48pm UTC](https://www.ruby-forum.com/t/gtk-drop-drag-events-dont-work/239191/1 "2014-02-16T20:48:38Z")

</div>

Hi, I want to realize drag-drop events on iconview. I run application  
two times and two same widget open. I want to drop a icon from one to  
other. drag-drop and drag-data-get signals run but I couldn’t drop the  
icon.

drag-drop and drag-data-get signals return some variables I get, but I  
coulnd’t get which icon dragged and dropped through signals. I can get  
iconview variable through the signals, so I dont get which icon dragged  
or dropped.

Can you help me? How can I run drag-drop events?

Thanks.

---

<div class="post-metadata">

**Author:** ![ebruakagunduz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ea666f/32.png) [@ebruakagunduz](https://www.ruby-forum.com/u/ebruakagunduz)\
**Post date:** [February 25, 2014, 6:05pm UTC](https://www.ruby-forum.com/t/gtk-drop-drag-events-dont-work/239191/2 "2014-02-25T18:05:46Z")

</div>

Hi,

Will this help you?:

> <https://github.com/ruby-gnome/ruby-gnome/blob/main/gtk3/sample/misc/dnd.rb#L44>

## Thanks,

myokoym

2014-02-17 4:48 GMT+09:00 Ebru A.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
