Re: forcing immediate redraw on widget



Marc Santhoff wrote:

How can the immediate redraw of a widget be forced using GTK+ 1.2?

I think the following should work in GTK+ 1.2 and 2.x:

    gtk_widget_queue_draw (widget_to_redraw);
    while (gtk_events_pending ())
        gtk_main_iteration ();



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