Re: how to determine maximum possible window size?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux