Re: how to determine maximum possible window size?
- From: Chris MacGregor <chris-gtk-list bouncingdog com>
- To: Mark Leisher <mleisher math nmsu edu>, "'gtk-list gnome org'" <gtk-list gnome org>
- Subject: Re: how to determine maximum possible window size?
- Date: Tue, 05 Feb 2008 16:36:59 -0800
Thanks, but those functions don't account for the space occupied by
things like panels. Any suggestions for how to deal with that? (That was
the question I was trying to ask.)
On 02/04/2008 07:36 AM, Mark Leisher wrote:
Chris MacGregor wrote:
Hello. I've been doing some work on a GTK+ app (avidemux - see
http://www.avidemux.org/) and it's been fun learning GTK+.
We have a situation where we need to determine the largest possible size
that a window can have and still fit on the screen, after deducting
space taken up by panels and such, so that we can scale down the preview
video size but only when necessary and no smaller than needed.
gdk_screen_width() and gdk_screen_height().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]