Re: full-screen window?



wm maxsize .
2085 1650
% winfo screenwidth .
2100
% winfo screenheight .
1680


---
The difference should be the size of the titlebar
-- and additional stuff, in this case the Dock.
This output originate from wish 8.4.11 for X11 on OSX.

Does your application realy require the whole screen?
I do very rarely need those --for presentation purposes, only.


BTW: screenwidth & screenheigt return the size of the desktop
and not from a screen (physical monitor)


.



Relevant Pages

  • Re: full-screen window?
    ... % wm maxsize. ... % winfo screenwidth. ... that fits the original description - the maximum "net" window ... 30 pixels for the titlebar. ...
    (comp.lang.tcl)
  • Re: full-screen window?
    ... suchenwi wrote: ... 15 % winfo screenwidth. ... Similar for Linux/KDE, except that maxsize is less than screensize... ...
    (comp.lang.tcl)
  • Re: full-screen window?
    ... Funny... ... on my Win XP box, Tcl 8.4.9, I see the maxsize width is bigger ... 15 % winfo screenwidth. ...
    (comp.lang.tcl)