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

Best way to create a virtual keyboard



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? 

				Nick

--------------------------------------------------------------------------
Nick Busigin  ...Sent from my Debian/GNU Linux Machine...   nick@xwing.org

To obtain my pgp public key, email me with the subject: "get pgp-key"
--------------------------------------------------------------------------

JPEG image



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