Resending...Still hoping for a nice solution.

At 01:39 AM 11/22/2006, Daniel Yek wrote:
>Hi,
>
>I'm trying to handle Drag_Drop to before the first row and after the last 
>row of a Tree View with a List Store.
>
>In the drag_drop handler, I got a y-coordinate of between 0 and 25, 
>corresponding to the column headers. The drop destination highlight was 
>still turned on. When I called gtk_tree_view_get_dest_row_at_pos(), I got 
>path == NULL.
>
>Because path was NULL, I couldn't tell if this is before the first, or 
>after the last -- both of them yield path == NULL.
>
>I would like to find out the y-coordinates of where the column headers end 
>and the first row starts. How do I do that?
>
>I tried several approaches...still looking for a good solution.
>
>If I can translate between the tree coordinates and the coordinates of the 
>window containing column headers, my problem would be solved. How can I do 
>that? Is there another easier way to do this?
>
>Thanks.
>
>--
>Daniel Yek

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to