hello,I am using tree view for maintaining logs. After new iters are being added to the tree view, I am calling the above code. I am not seeing the window getting scrolled down automatically.
I am using C language and code is as follows:
GtkAdjustment *vadjust;
vadjust = gtk_scrolled_window_get_vadjustment(scrolled_window_log);
gtk_adjustment_set_value(vadjust,gtk_adjustment_get_upper(vadjust)-gtk_adjustment_get_page_size(vadjust));
gtk_scrolled_window_set_vadjustment(scrolled_window_log,vadjust);
can some body please help me in tracing the problem in above lines of code ?