Re: Flushing Gtk Text Entry
- From: Owen Taylor <otaylor redhat com>
- To: embyte <embyte madlab it>
- Cc: Gtk ml <gtk-list gnome org>
- Subject: Re: Flushing Gtk Text Entry
- Date: Sun, 24 Aug 2003 15:36:56 -0400
On Sun, 2003-08-24 at 14:26, embyte wrote:
> 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.
No, GtkTextBuffer isn't line buffered. I suspect that looking at
question 5.16 in the FAQ (http://www.gtk.org/faq/#AEN566) will help.)
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]