I’ve recently been adding drag and drop support to a widget that is basically a GtkTreeView with an associated GtkTreeModelSort. The gtk+ drag and drop API is weird, there are just few samples and is not very well documented.

Furthermore, the GtkTreeView has its own drag and drop functions so my mind was a mess.Then after some study I finally got an idea about all this stuff and decided to code a sample where to test the things I learned. This example is available here for you.

Hope this could help somebody.

BTW, I changed the look of my blog, I like this kind of changes so don’t expect this to be the last one