slang-users mailing list

[2002 Date Index] [2002 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: read F12


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]