|
|
| Author |
Message |
|
|
Warp Familiar Face
Joined: 24 Feb 2007 Posts: 13
|
Posted: Wed Jul 18, 2007 1:29 pm Post subject: Drag&drop tutorial? |
|
|
I would want to support file drag&dropping in my gtk+ application. In other words, that the user could drag&drop a file (from example from windows explorer) and then I could read that filename in my application.
The documentation about drag&dropping is rather obscure. I tried calling gtk_drag_dest_set() for my main window widget and connected its "drag-data-received" signal, but I still can't drag&drop anything into the application, at least not in linux (I'm using kde). |
|
| Back to top |
|
 |
openldev Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 387 Location: Fairfax, Virginia
|
Posted: Wed Jul 18, 2007 6:21 pm Post subject: |
|
|
| Unfortunately, there really isn't any good drag-and-drop instruction out there. Your best bet at this point is really just to go to Google Code Search and see how other people are using the API. |
|
| Back to top |
|
 |
deusvede Familiar Face
Joined: 13 Feb 2007 Posts: 29 Location: Madrid, Spain
|
Posted: Thu Jul 19, 2007 6:17 am Post subject: |
|
|
| Try this. |
|
| Back to top |
|
 |
|