It works! Thanks for your help!
On 10/12/07, Taha Ali <[EMAIL PROTECTED]> wrote: > > Hi, > > Try using Glib::Dispatcher class to report the asynchronous gui events to > the main loop from your thread. Once your main loop gets notified of the > event, you will be able to update the content of TextView. > > Regards, > Taha > > On 10/12/07, Hao Song <[EMAIL PROTECTED]> wrote: > > > Hi, all: > > I'm writing a geometry program in Gtkmm. My program create a new > > thread to carry out a lengthy computation. Meanwhile, I want to show the > > step-by-step computation procedure in a TextView. So I need to update the > > content of the TextView from the computation thread. From experiences on > > other GUI toolkits, I figured out that it can not be done directly, and I > > need something like the Windows PostMessage() function. So what is the gtkmm > > counterpart of PostMessage()? A gtk C API is also OK. > > Thanks in advance. > > > > _______________________________________________ > > gtkmm-list mailing list > > [email protected] > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > > > _______________________________________________ > gtkmm-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gtkmm-list > >
_______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
