in reply to How to embed other GUI into Tk application
Is your non-Tk GUI set up so it can also work by itself (not inside a Tk widget)? If so, and you are looking for a way to make its output accessible to an "outer" Perl-Tk GUI, why not run the "inner" GUI as a pipeline file handle
open(MYGUI,"inner-gui |");then setup a
Tk::Event->fileeventfor that file handle? This would seem to keep everything simpler, and might perform better -- both GUI's do their normal thing, both are handled by the main window manager.
If do have a compelling reason for the "embedded GUI apps" approach, I'd be very interested to learn more about that sort of situation.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to embed other GUI into Tk application
by svad (Pilgrim) on Apr 26, 2002 at 06:07 UTC |