focus change between two windows

Hi All,
i have create 2 toplevel windows in which i have focus on 1st window. I want when key-press-event takes place the focus must shift to another window and on release-press-event it must come back.

How can it is possible,


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