hi, i have the following 2 arrays. gfloat pixel[6000][1] = x[n] gfloat pixel[6000][2] = y[n] this 2 arrays contains the x/y values for 6000 rectangles drawn on a pixmap. Now my problem ... with button_press_event i catch the current x/y positions from screen. What i want is to draw the given pixels from my arrays in a different color when i'm close to it with my mouse. i know my english is very confuse. but i hope you understand what i'm concerning. Please hit me to the right way ;-) thanx! Andreas -- 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list