Hi,

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 =
gtk_text_buffer_create_child_anchor(buf,&finito);

gtk_text_buffer_insert(buf,&finito,"\n",-1);
gtk_text_view_add_child_at_anchor(GTK_TEXT_VIEW(main_text_view),GTK_WIDGET(tmp_tv),anchor);


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

-- 

Marcin Krzyzanowski
www   : http://krzak.linux.net.pl
email : [EMAIL PROTECTED] , [EMAIL PROTECTED]
IRC   : [krzyzak] @#linuxnews @#zdrowo_jebnieci
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to