GtkTextView and anchors and scroll


I did somethink like that :

I create a few GtkTextBuffer with GtkTextView and all them add to
another GtkTextView as anchors (each anchor in one line), works fine,
but.. what is happen with GtkAdjustment.. hm... always show only first
line the last anchored GtkTextBuffer (with iseparated GtkTextView of course)

every GtkTextBuf is created similar to this sample:

buf = gtk_text_view_get_buffer (GTK_TEXT_VIEW (main_text_view));
gtk_text_buffer_get_end_iter (buf, &finito);

GtkTextTagTable *tag_table = gtk_text_buffer_get_tag_table(buf);
GtkTextBuffer *tmp_buf = gtk_text_buffer_new(tag_table);
GtkWidget *tmp_tv = gtk_text_view_new_with_buffer(tmp_buf);

GtkTextChildAnchor *anchor =


why it do not scroll to the end, I mean why it doesn't show fully last


Marcin Krzyzanowski
www   :
email : krzak linux net pl , krzak hakore com
IRC   : [krzyzak] @#linuxnews @#zdrowo_jebnieci

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]