1 scrollbar + 2 textfields
- From: Sascha Ziemann <szi aibon ping de>
- To: GTK Mailinglist <gtk-list redhat com>
- Subject: 1 scrollbar + 2 textfields
- Date: Sat, 01 Nov 1997 09:45:58 +0100
Hi,
when I associate 1 vertical adjustment to 2 text fields and 1 scrollbar
(define vadj (gtk-adjustment-new 0.0 0.0 101.0 0.1 1.0 1.0))
(define text1 (gtk-text-new #f vadj))
(define text2 (gtk-text-new #f vadj))
(define vscrollbar (gtk-vscrollbar-new vadj))
and put a different number of lines in the 2 text fields
(gtk-text-freeze text1)
(gtk-widget-realize text1)
(gtk-text-insert text1 #f #f #f "Tach\nMoin\nTuess\n" -1)
(gtk-text-thaw text1)
(gtk-text-freeze text2)
(gtk-widget-realize text2)
(gtk-text-insert text2 #f #f #f "Tach\n" -1)
(gtk-text-thaw text2)
I get this
szi@olivia:/home/szi/gnome/translator$ ./translator.scm
** ERROR **: file gtktext.c: line 2604 (scroll_down):
"text->line_start_cache && text->line_start_cache->next"
IOT trap/Abort
with gtk+0925 when I scroll the smaller text out of its text field.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]