How to embed a program inside another using GTK, XLib or any similar?
问题 I'm trying to make a "simple" program, all it does is to list all opened programs and, once you choose one, it opens it inside your window (like a thumbnail you may say, but you can also interact). One thing, it has to be one way only (I can't alter the embbeded program and add a "socket" or "plug" for instance). I want to be able to embbed any program (e.g. Opera, evince, JDownloader etc). Does anyone have any idea of how can I do it? If it can't be done using GTK, can it be done using X or