Gtk2::Entry - manipulating key-press-event?
- From: Martin Junius <mj+gnome ml m-j-s net>
- To: gtk-perl-list gnome org
- Subject: Gtk2::Entry - manipulating key-press-event?
- Date: Sat, 27 Nov 2004 19:35:27 +0100
Hi all!
For a small application using Gtk2::Entry (for input of ISBNs), I want
the numeric keypad for input of certain other characters (in particular
the letter 'X' which appears in the checksum of ISBNs) instead of the
keypad + - * /.
My idea to achieve this is catching key-press-events, checking for
keypad something, modify the event, and send it on to the application.
Is this the canonical way to do this? Or is there an easier route?
Regards,
Martin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]