[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Best way to create a virtual keyboard
- From: Erik Mouw <erik it et tudelft nl>
- To: gtk-app-devel-list redhat com
- Subject: Re: Best way to create a virtual keyboard
- Date: Tue, 19 Oct 99 10:13:17 +0200
On Mon, 18 Oct 1999 20:14:15 -0400 (EDT), Nick Busigin wrote:
> I'm new to GTK+ and I'm looking for some advice on the best way to create
> a virtual keyboard similar to the one I've attached a JPEG image for. I
> need to be able to receive mouse button pressed and mouse button released
> events for each individual piano key. ie. Each piano key needs to be
> treated as if it were a button. Also, I want to change the color of each
> key whenever the user "presses" it with his mouse. Would using GDK
> drawing functions in the drawing area widget be the best way to go for
> this application?
IIRC, Eric Harlow's book has examples for this. There is a link from the
GTK homepage (www.gtk.org) to the example code.
Erik
PS: I have some MIDI stuff available in case you need it.
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2785859 Fax: +31-15-2781843 Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]