On 12/22/2011 11:22 AM, Michael Torrie wrote: > On 12/22/2011 01:03 AM, Gary Kline wrote: >> you're right. i do not want to type anything into the text file. >> instead, i want to fork gvim and use thaat to type into. it >> seems likely to work if i can have buttons in the textfile.
Hmm so reading "gvim" instead of "vim" this time. It is possible to swallow an entire X window app into a widget in GTK+. This is done through the GtkSocket widget. However you can't really drive the app with keystrokes and things. To do that you need to use "XTEST" which is not going to be easy for you. Probably better to use regular "vim" and stick it in a VTE widget. Here's a python example of using vte: http://files.earobinson.org/programs/terminal.0.1.0.1844.tar.gz It's very simple. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list