May 29 2007, 12:41 AM
Post
#1
|
|
|
Group: Members Posts: 4 Joined: 15-March 05 Member No.: 6,632 |
Hi,
I'm writing a small app in Tcl/Tk for pdaxrom. I want a main (top level) window to be always maximized in both portrait and landscape screen orientations. Is there any simple way to do it (without hacking Tk sources etc)? Currently I've found that "wm geometry . [winfo screenwidth .]x[winfo screenheight]+0+0" maximizes main window at start, but I don't know how to catch screen rotation within Tk and get proper geometry to resize my window. |
|
|
|
ivanhoe Pdaxrom, Tcl/tk And Maximized Top Level Window May 29 2007, 12:41 AM
jfv This is a bad hack, but
while {1} {
wm geometry .... May 29 2007, 06:26 AM
ivanhoe QUOTE(jfv @ May 29 2007, 06:26 PM)This is a b... May 30 2007, 09:59 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 09:07 AM |