Re: GdkKeyEvent keyval
- From: Tor Lillqvist <tml iki fi>
- To: Roei Azachi <roei zon-networks com>
- Cc: gtk-list gnome org
- Subject: Re: GdkKeyEvent keyval
- Date: Thu, 29 Jan 2009 09:11:54 +0200
> I was wondering if there is a way of knowing if a character is printable or
> not (Like Ctrl, Alt...) using the keyval value?
Convert the key to the corresponding Unicode character, if any, using
gdk_keyval_to_unicode() and test using g_unicode_isprint() ?
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]