Keyboard focus
Posted: 2008-07-19T07:53:09-07:00
I need to be able to quickly step thru a number of image files on a CD-ROM. I have written a Perl script to keep track of the directory and file names, and to read the keyboard a single character at a time. When I call the PerlMagick Display(), a window pops up with the first picture, but my script looses its connection to the keyboard. I cannot read the keyboard again unless I close the Display() window. How can I maintain control of the keyboard when the Display() window is open?
I am not very experienced with programming in the X-windows environment. In all the documentation for ImageMagick and PerlMagick, I can't find anything that talks about keyboard interactions. My system is an Ubunutu 7.04. Any advice would be appreciated.
I am not very experienced with programming in the X-windows environment. In all the documentation for ImageMagick and PerlMagick, I can't find anything that talks about keyboard interactions. My system is an Ubunutu 7.04. Any advice would be appreciated.