GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Window size, aspect ratio, and physical screen resolution

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
Dadoo



Joined: 10 May 2008
Posts: 3

PostPosted: Fri May 16, 2008 10:53 pm    Post subject: Window size, aspect ratio, and physical screen resolution Reply with quote

What's the easiest way, regardless of physical screen resolution, to make my application's main window the maximum possible size vertically, when it's started, then set the width of the window so that an image (or drawing area) within the window always has the same aspect ratio? (I don't care about the aspect ratio of the window, itself.)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP