How to get the pixmap's position?



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]