Re: GdkKeyEvent keyval

I can't find a function called "g_unicode_isprint()"
can it be?

Tor Lillqvist wrote:
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() ?


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