window updating



Hello,

I'm working on an application, which has a GUI but I also want to have a text-based shell (the usual Perl while(<>){eval}). It is enough that the user is working on either the shell or the GUI, I don't want to use threads (probably). The idea is similar to opening a dialog box for the shell.
My question is: "how do I make the GUI to redraw its window from the 
shell?". I tried Gtk2->main_iteration_do(FALSE); but that does not seem 
to do the trick.
Ari




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