From: "Fred L." Date: 2012-04-23T15:10:17+09:00 Subject: Re: Wanting to resize tk window depending on resolution, how to obtain resolution? look at Tk winfo : http://www.tcl.tk/man/tcl8.5/TkCmd/winfo.htm and what I found here : http://www.ruby-forum.com/topic/54864 max_x = TkWinfo.screenwidth root max_y = TkWinfo.screenheight root (also working with my window name instead of 'root').. -- Posted via http://www.ruby-forum.com/.