Re: how to determine maximum possible window size?



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]