Calculating the clint area size
- From: Robert Roebling <roebling ruf uni-freiburg de>
- To: gtk-list redhat com
- Subject: Calculating the clint area size
- Date: Mon, 22 Dec 1997 11:46:06 +0100
I need to calculate the size of a window, which is actually
visible on screen and not (partially) covered by borders.
scrollbars or any other areas I cannot draw on.
When using a simple widget, this can (I think) be achieved
by subtracting klass->xthickness from the actual size
of the widget.
But I also have a ScrolledWidget. This widget may have
scrollbars or may not have any. It contains a client area
(aka viewport) which can have the style sunken_in,
sunken_out or sunken_none.
How can I then calculate the size of the area, which I can
] [Thread Prev