Re: One GnomeCanvasPixbuf, Many Events



Catherine Dunn wrote:
Hello,
[...]
event_cb(GnomeCanvasItem *item, GdkEvent *event, gpointer data)
[...]
No matter where I click y is always 0? What am I missing here? Is there
a better way to do what I'm trying to do?

Try:
    event_cb(GnomeCanvasItem *item, GdkEventButton *event, gpointer data)

Cheers,
                            -Tristan



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