In separate thread of my Gtk app I am sending data and I need to display them in Gtk::Label by set_text(char*) method.
How can I refresh its content?
--------------------- My unsuccessfull tryout:
I have tryed this:
while( Gtk::Main::events_pending() )
         Gtk::Main::iteration (false); 
But got this error messages:
(lt-rtprtcp:10721): GLib-WARNING **: g_main_context_prepare(): main loop already active in another thread
(lt-rtprtcp:10721): GLib-WARNING **: g_main_context_prepare(): main loop already active in another thread
(lt-rtprtcp:10721): GLib-WARNING **: g_main_context_prepare(): main loop already active in another thread
(lt-rtprtcp:10721): GLib-WARNING **: g_main_context_prepare(): main loop already active in another thread
(lt-rtprtcp:10721): GLib-WARNING **: g_main_context_prepare(): main loop already active in another thread
Xlib: unexpected async reply (sequence 0xa0e7)!
GLib-ERROR **: file gmain.c: line 1880 (g_main_dispatch): assertion failed: (source)

And is terminated :-/ 


Thanks in advance.

View this message in context: Refresh Gtk::Label by set_text() ?
Sent from the Gtkmm forum at Nabble.com.
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to