[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: screen eyedropper
From:       "Emmanuel DELOGET" <pixel () epita ! fr>
Date:       1999-07-06 19:33:12
[Download RAW message or body]

>On Thu, 8 Jul 1999, Michael ROGERS wrote:
>
>>
>> >i guess i'll anounce when i get this new color selection widget done. is
>> >nyone other than myself interested in a color selection that doesn't
>> >necessarily have so much stuff?
>> >
>> >i plan on making it a bit more configurable. ie. everything, hsv sliders
>> >and wheel only, rgb sliders and wheel only, wheel only, etc.
>>
>> Is there any chance you could add en eye dropper (for selecting a colour
>> from elswhere on the screen)?
>>
>>
>> Michael Rogers
>>
>
>hmmm. making an eyedropper to get colors from the screen in general would
>prove diffivult, at least i think that it would. somehow, you'd have to
>grab priority on the pointer so that any clicking will be passed to your
>app rather than whatever is clicked on. is this even possible? maybe
>there's another way?


    This is possible : you can use the gdk_pointer_grab() function
    to grab the mouse pointer (you'll need a call to gdk_pointer_ungrab()
    to release the pointer).

    Yours,

    pixel@epita.fr
>
>thanks
>http://www.op.net/~finklesk/index.html
>
>
>"The problem is not that the world is full of fools. The problem is that
>lightning isn't being distributed right." - Mark Twain



-- 
         To unsubscribe: mail gtk-app-devel-list-request@redhat.com with 
                       "unsubscribe" as the Subject.

	Mailing list concerns should be mailed to <listmaster@redhat.com>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic