On Mon, 04 Aug 2008 00:42:40 +0200
Mario Kemper <[EMAIL PROTECTED]> wrote:

>I am still working on this issue and it seems to me that a
>"pointer_grab" is definitely the easiest way to get motion and button
>events even if your cursor is outside of your own toplevel window.
>
>I've a little demo of "pointer-grabbing" attached. When you grab the
>pointer and hold down the mouse button afterwards all events are
>recognized in the main app until you release the button.
>
>The events are recognized well and pointer grabbing is doing a good job,
>but am trying do draw a rectangle to the root window while moving the
>mouse as described above (like selecting multiple files on the nautilus
>desktop for example) and this is not working. 
>
>Maybe someone has a clue why the rectangle is not drawn (line 121 in
>screeny.pl)?

>Cheers,
>Mario

Nice work on the grab.

I tried and had no luck either, I wonder if it's your while(1) loop that may
be preventing things from working? Or the colors are not showing?

I did manage to draw images to the root window, see attachment. Press the grow 
button
numerous times. :-)


zentara


-- 
I'm not really a human, but I play one on earth.
http://zentara.net/Remember_How_Lucky_You_Are.html 

Attachment: zz-amsterdam-dream
Description: Binary data

_______________________________________________
gtk-perl-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to