Re: How do I force a redraw?



Bruce Ide <bruce ide echostar com> writes: 
Is there something global you can emit to force your window to repaint?


Try something like:


  toplevels = gtk_window_list_toplevels ();
      
      for (list = toplevels; list; list = list->next)
        {
          gtk_widget_queue_draw (list->data);
          gtk_widget_unref (list->data);
        }
      g_list_free (toplevels);

Havoc




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