Re: Mouse position on a pixmap
- From: Paul Davis <paul linuxaudiosystems com>
- To: learfox twu net
- Cc: Zhu Yong <yong_zhy hotmail com>, gtk-list gnome org, gtk-app-devel-list gnome org
- Subject: Re: Mouse position on a pixmap
- Date: Tue, 06 Jan 2004 23:10:32 -0500
>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]