Flushing Gtk Text Entry



Hi list,
i have the necessity to flush a text entry becouse i want display something
like this:

for (a_lot) {
   do_something();
   gtk_text_buffer_append (TextBuffer, "* ", -1);
}
gtk_text_buffer_append (TextBuffer, "Finished\n", -1);

The problem is that TextBuffer is line-buffered like stdout. Is there a call
like fflush() for stdout? I just tried gdk_flush() but it's not work.

Thanks all.

Embyte


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003




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