Re: Mouse position on a pixmap



I'd recommend that you create a GtkEventBox or a GtkDrawingArea
and draw the GdkPixmap yourself. Set the GtkEventBox or
GtkDrawingArea's events to receive the "enter_notify_event"
and "motion_notify_event" to find out where the pointer is.

the button press event will describe where the pointer is when it
occurs.



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