Re: One GnomeCanvasPixbuf, Many Events



I still get y = 0. Thanks for the suggestion, though.

Catherine

On Wed, 2005-07-27 at 21:09 -0400, Tristan Van Berkom wrote:
> 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]