embedding an xterm .... again



Hi,
Awhile ago it was asked why you lose keyboard focus
when you try to embed an xterm into an Gtk2 Gdk window.
The mouse would work, but not the keyboard.

Well I was checking out the rxvt-unicode program
at  http://software.schmorp.de/pkg/rxvt-unicode

and it had some example Gtk2 Perl scripts, with an
embedded rxvt, in which keyboard focus worked.

The exact same scripts would not work with xterm,
and was wondering if anyone knows why? 

I can embed an xterm ( with keyboard focus working ) into
a Tk app. See attached script. 

The attached Gtk2 script will work with rxvt-unicode, but
will lose keyboard with an xterm.

Anyone know why?
 
Thanks,
zentara

-- 
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html

Attachment: embed-gtk2
Description: Binary data

Attachment: embed-xterm-Tk
Description: Binary data



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