Hi,

I am facing problem in calling a gui function from a thread. It goes this
way. The thread is calling an API function which is taking around 15 seconds
to execute. During execution this function itself uses a callback funtion
(which I have regisated in the beginning of the program with the library I
am using) for continuously reporting the progress. I am trying to set_text
these messages in a label but after first normal execution of this thread,
the gui hangs on the next call.  I am creating the thread on button_clicked
event. I am also using Glib::Dispatcher for communicationg with the GUI
thread from my worker thread but all the tricks are failing. When I dont try
to set_text any thing from this callback function, it works just fine
showing me the display (std::cout) on the screen.

Need help.

Thanks and Regards,
Taha
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to