Simple Gtk app.



Hi,
    I'm having problems writing a simple Gtk app.

What I want to do is open a window and place a pixmap
image in the window. I would then like to use the
keyboard arrow keys to move the image around the
window.

I can get as far as displaying thr pixmap in the
window, but I do not know how to capture and interpret
the keystrokes or move the pixmap position.

Can anyone help?

Many thanks,
Mark.

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie




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