Re: [gtkmm] Gnome Canvas Item not getting Button press event



FHCARRON <FHCARRON terra es> writes:

[...]

> As I understand it, events should travel up the stack of the canvas,
> beginning at the front-most item and ending up in the canvas if noone
> else has taken care of it.
>
> Watching the "arrowhead" demo I can't tell what's wrong. Any help would
> very appreciated.

I'm not sure, but perhaps you need to tell it that you also want
button press events? See:

  http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Widget.html#a52

-- 
Ole Laursen
http://www.cs.aau.dk/~olau/



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