Re: how to determine maximum possible window size?
- From: Mark Leisher <mleisher math nmsu edu>
- To: "'gtk-list gnome org'" <gtk-list gnome org>
- Subject: Re: how to determine maximum possible window size?
- Date: Mon, 04 Feb 2008 08:36:15 -0700
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().
--
Mark Leisher
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]