- Subject: Re: read F12
- From: "John E. Davis" <davis>
- Date: Sat, 13 Apr 2002 15:44:28 -0400
On Sat, 13 Apr 2002 21:04:38 +0200, Mirko Koenig <koenig@xxxxxxxx> said:
>I'm using python with PySlang module.
>I meant the function SLkp_getkey().
It looks like I did not add support for F11 and F12 to the SLkp_getkey
interface. I do not know how complete the PySlang module is, but if
it supports the SLkp_define_keysym function, you can do:
SLkp_define_keysym ("^(F1)", F11_KeySym);
SLkp_define_keysym ("^(F2)", F12_KeySym);
where F11_KeySym and F12_KeySym are integers that you want to
associate with those keys. Note also that the keysequence really is
"^(F1)" and NOT "^(F11)".
In the meantime, I will add support for F11 and F12 to slang 1.4.6.
Good luck,
--John
[2002 date index]
[2002 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]