RE: [gtk-list] Re: Need help with GdkCursors



Good one Norbert you've beat me to it.

For those of you that don't know about this book, it's a good resource.
If I remember correcly it goes for 29.99$ US.

Very good buy.


-----Original Message-----
From: Norbert Bladt [mailto:abladtn@autelca.ascom.ch]
Sent: Wednesday, April 28, 1999 10:17 AM
To: gtk-list@redhat.com
Subject: [gtk-list] Re: Need help with GdkCursors


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.

HTH,

Norbert.

-- 
Norbert Bladt		 Payphone Management System Software Development
ascom Autelca AG
Worbstrasse 201		 CH-3073 Guemligen, Switzerland
abladtn@autelca.ascom.ch VOICE: +41 31 999 6552, FAX: +41 31 999 6575

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]