Re: Re: LuckyB.C.'s reply to GtkDrawingArea "width" and "height"

2018-03-13 Thread Roger Matthews
Big thanks to Eric Cashon and LuckyB.C., the "width" and "height" problem is certainly solved, I have also copied, changed and adapted the code from the link in the email by LuckyBC, included bits of Eric's code, as well a

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 doesn't do that, and

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! > I written an applic

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 exe

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 GtkTextVie