Hello,

i have a tree/listview and as i press a special button i emit the signal "popup-menu".

Done that i get the cell coordinates in the Treeview...

gtk_tree_view_get_cell_area ( GTK_TREE_VIEW ( show_tables_treeview ) ,
        gtk_tree_model_get_path ( GTK_TREE_MODEL
        ( show_tables_treestore ) , &iter ) , gtk_tree_view_get_column
        ( GTK_TREE_VIEW ( show_tables_treeview ) , 0 ) , &area );

...and thought to get the coordinates of the Treeview...

gdk_window_get_position ( gtk_tree_view_get_bin_window
        ( GTK_TREE_VIEW ( show_tables_treeview ) ) , &con_x , &con_y );

...but that doesn't work.


Anyone knows me how to do?

thx
chab





___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
_______________________________________________
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