How to get the pixmap's position?
- From: =?big5?q?anukeey?= <anukeey yahoo com tw>
- To: gtk-list gnome org
- Subject: How to get the pixmap's position?
- Date: Fri, 8 Nov 2002 14:16:36 +0800 (CST)
Hi all:
I had designed a GtkPixmap widget, and set eventbox
for the pixmap widget, now I captured the button ress
event when user clicked the pixmap to load another
pixmap. As we know, the pixmap widget is rectangle
shape, but the pixmap that we loaded may be polygon
shape, so how to make sure the mouse pointer is only
on the top of pixmap not the else part of pixmap
widget?
Thanks~~~
anukeey
-----------------------------------------------------------------
¨C¤Ñ³£ Yahoo!©_¼¯
¼eÀW¤Wºô- ºÉ±¡¨É¨ü¹CÀ¸¡Bµ¼Ö»P¹q¼vªºÁn¥ú¥ ¬É
adsl.yahoo.com.tw
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]