Dimensioning a scrolled window
- From: andy lysaker kvaerner no (Andrew Walker)
- To: gtk-list redhat com
- Subject: Dimensioning a scrolled window
- Date: Tue, 31 Aug 1999 10:11:37 +0200 (MET DST)
I'm packing a GdkDrawingArea into a GdkScrolledWindow using
The scrollbar policy is GTK_POLICY_ALWAYS for both horizontal
and vertical scrollbars. I know how big the drawing area is,
and I want to set the size of the scrolled window to show the
entire drawing area. However, the scrollbars take up a part of
the scrolled window's size. How do I know how big the scrollbars
are, so I can add that amount onto the the gtk_widget_set_usize()
request? Is the only way to construct the scrolled window manually
from individual scrollbars etc?
Andy Walker Kvaerner Oil & Gas a.s.
email@example.com P.O. Box 222,
Andrew.Walker@kvaerner.com N-1324 Lysaker, Norway
......if the answer isn't violence, neither is your silence......
] [Thread Prev