Thanks for: help with GdkCursors
- From: "Daniel J. Kressin" <kressd11 sol acs uwosh edu>
- To: gtk-list redhat com
- Subject: Thanks for: help with GdkCursors
- Date: Wed, 28 Apr 1999 11:40:41 -0500 (CDT)
On Wed, 28 Apr 1999, Norbert Bladt wrote:
>Daniel J. Kressin wrote:
>> I've got a drawing area (part of a more complex layout) created and shown
>> and I'd like to have the mouse cursor change to a custom cursor when it's
>> over the drawing area.  My custom cursor image is 32x32, 3 colors (black,
>> white, transparent) and stored in xpm format.  Can someone please give me
>> a quick rundown on how to make my custom-cursor-in-my-drawing-area dream a
>> reality?
>Its included in the book
>	Developing Linux Applications with GTK+ and GDK
>The sample source code is available from
>	http://www.bcpl.net/~eharlow/book/
>chapter 11 contains a nice example of how to create a cursor from
>a pixmap with exactly your requirements.
Yeah, I'm a putz.  I *have* the book and somehow overlooked the example.
Thanks for pointing it out to me.
Also, thanks to John and Owen for your responses.
Dan 
 ____    Kressin   ____   .-----------------------------------. 
/___ \____________/ __ \  | dkressin@acm.org                  |
    \  \    /      /  \ | | Lead Programmer/Analyst           |
 ___/ __\/\/rench_ \__/ | | University of Wisconsin - Oshkosh |
\____/            \____/  | www.mio.uwosh.edu/~kressd11/      |
                          `-----------------------------------'
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]