RE: Detecting mouse click in GtkTable

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

 



> -----Original Message-----
> From: me
> 
> I have a GtkTable displaying some data, and I want to pop up a menu when
> the
> user right-clicks a column, dependant on which column the user clicked in.
> Is there a reasonably easy way to detect which column of a table a mouse
> click was in?

I think I probably have the answer / don't need that specific question
answered now. After a bit more work on it, it turns out that a GtkTreeView
is going to be better than a Gtktable for what I'm doing, and I haven't
tried it yet but with that I think I should be able to set an event handler
for button press events on the individual GtkCellView elements.

Ian


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

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux