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.


Cheers,


	Bertrand 

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



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