Re: [Vala] How to implement gtk textview auto scroll?

2015-01-23 Thread Nor Jaidi Tuah
right now, my solution is : 1.when serialport data coming, insert the data at the end of the textbuffer public void data_report(uint8[] data, int size) { Gtk.TextIter iter; textbuffer_output.get_end_iter(out iter);

[Vala] How to implement gtk textview auto scroll?

2015-01-22 Thread 张诚
Hi: I'm using Vala to write a serialport tool... the window class implement the observer and the serialport class as the subject, so i need the textview could auto scroll to the end... right now, my solution is : 1.when serialport data coming, insert the data at the end of the