Re: Getting a gtk label to draw immediatly?

Did you try:

while (gtk_events_pending())


learfox furry ao net wrote:

I need to use gtk_label_set_text() on a gtk label that is to have text
changed in the middle of a while() loop.

I tried using gtk_widget_draw_default() on the label after setting its
text and then gtk_main_iteration() in the loop but it dosen't seem to
update the label at all.

I also tried gdk_flush() and a bunch of other functions, they don't seem
to work, what's the trick needed?


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