Re: Question about right click on a gtkclist

Using gtk_clist_get_selection_info () is the way to know which row was clicked

if event is a GdkEventButton,
gtk_clist_get_selection_info (clist, event->x, event->y, &row, &col))

will return selected cell coordinates in row and col.



PS: btw, am I the only one to find GtkClist/tree have a very strange

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]