Re: Multiple threads and drawing
- From: "Milosz Derezynski" <internalerror gmail com>
- To: "Germán Diago" <germandiago gmail com>
- Cc: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: Multiple threads and drawing
- Date: Wed, 18 Jun 2008 13:54:19 +0200
This is very hard to answer, but as a general rule and probably
approximation to the truth you should avoid any calls into Gtk+ not
using the GUI/main thread.
2008/6/18 Germán Diago <
germandiago gmail com>:
>Gtk::Label::set_text() definitely causes a redraw of the label in question. Gtk::Table::attach() will probably cause an immediate redraw of the Table in >question as well as the new child. You should check your code for GUI calls from a non-main thread.
Is it specified anywhere which operations imply redrawing? Because
there's a lot overhead in coding all GUI things in the GUI thread.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]