[10144] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: scrolled window update
daemon@ATHENA.MIT.EDU (Federico Mena Quintero)
Sun Nov 15 22:16:43 1998
Date: Sun, 15 Nov 1998 22:14:16 -0500
From: Federico Mena Quintero <federico@nuclecu.unam.mx>
To: gtk-list@redhat.com
In-reply-to: <19981115164532.A22547@lemuria.org> (message from Tom Vogt on
Sun, 15 Nov 1998 16:45:32 +0100)
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
> I have a scrolled window with a textbox inside. the textbox is changed from
> outside, and the scrollbars on the scrolled window don't change. how do I
> tell the scrolled window that it's contents have changed and it might have
> to update it's scrollbars?
> shouldn't it notice this automatically?
After you create the text widget, you should get its adjustments and
create scrollbars for them. The text widget does not have hadjustment
and vadjustment object arguments, so you cannot just pop it into a
scrolled window and expect it to work.
Federico
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null