Re: problem with motion_event on image



Possible you meant this event Gdk::POINTER_MOTION_MASK under "set up
motion_event". Please provide a part of your code. What you mean under
image. You have created a custom widget containing image? I did
created the custom widget and added the Gdk::POINTER_MOTION_MASK
event. I added the signal handler by using
signal_motion_notify_event().connect() and in the handler recieved
mouse pointer coordinates.

On 10/20/06, Evgeny Rippi <repekto argosoft gmail com> wrote:
Possible you meant this event Gdk::POINTER_MOTION_MASK under "set up
motion_event". Please provide a part of your code. What you mean under
image. You have created a custom widget containing image? I did
created the custom widget and added the Gdk::POINTER_MOTION_MASK
event. I added the signal handler by using
signal_motion_notify_event().connect() and in the handler recieved
mouse pointer coordinates.

On 10/20/06, oedipus <alexander arnoldt gmx de> wrote:
>
> I set up an motion_event on an image. I get also no compiler errors or any
> warnings. But when I try to get the mouse position I get nothing. I tested
> also if there is any event at all, but it is silent. It is like as the
> motion_event is not there. Has anybody an idea, what it could be?
>
> Thank you in advance
> --
> View this message in context: http://www.nabble.com/problem-with-motion_event-on-image-tf2478866.html#a6913240
> Sent from the Gtkmm mailing list archive at Nabble.com.
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>




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