Re: The "effect" of carriage return in GtkTextView

2018-03-13 Thread arkkimede
Thank you Lucky B.C.: Your suggestion works great!! It is exactly what I was looking for. Obviously if the speed of the incoming messages is to hight, on the TextView you do not see anything (but this is not my case). 2018-03-13 20:16 GMT+01:00 Lucky B.C : > Well GtkTextView

Re: The "effect" of carriage return in GtkTextView

2018-03-13 Thread Lucky B.C
Well GtkTextView doesn't do that, and GtkTextBuffer too but it can delete the range from GtkTextIter start to GtkTextIter end by gtk_text_buffer_delete , then you can insert again your new message by gtk_text_buffer_insert! On Tue, Mar 13, 2018, 23:02 arkkimede wrote: > HI!

Re: The "effect" of carriage return in GtkTextView

2018-03-13 Thread Phil Wolff
In Gtk::TextBuffer, look at get_iter_at_line_offset() or get_iter_at_line_index() followed by place_cursor(). On 03/13/2018 09:02 AM, arkkimede wrote: HI! I written an application GTK3 on Ubuntu 16.04 that essentially, by mean a GUI generates an input file used to feed an executable. This

The "effect" of carriage return in GtkTextView

2018-03-13 Thread arkkimede
HI! I written an application GTK3 on Ubuntu 16.04 that essentially, by mean a GUI generates an input file used to feed an executable. This executable print out messages that inform the user about the status of the run. At the moment I'm able to catch this messages and redirect them on a