Drag and drop with sorted tree models

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

This entry was posted on Wednesday, February 7th, 2007 at 10:27 am and is filed under Hacking. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

  • February 2007
    M T W T F S S
    « Jan   Mar »
     1234
    567891011
    12131415161718
    19202122232425
    262728  

Be the first to leave a comment.

Leave a Reply