in reply to Center a Tk window on the screen
Sweet. How coincidental - I was pondering exactly this the other day. I've been rewritting the old windows video-game Gazillionaire (http://www.lavamind.com/gaz.html) in Perl/Tk for my own amusement recently and I was thinking about how to do a fullscreen mode using just Tk. Between this and your other node on removing decorations, this is perfect!
--
http://www.nule.org
{NULE}$w->{main}->overrideredirect(1); $w->{main}->geometry($w->{main}->screenwidth."x".$w->{main}->screenwid +th."+0+0");
--
http://www.nule.org
|
---|
Replies are listed 'Best First'. | |
---|---|
(bbfu) (fullscreen considerations) Re3: Center a Tk window on the screen
by bbfu (Curate) on Jan 04, 2003 at 20:02 UTC | |
by {NULE} (Hermit) on Jan 04, 2003 at 22:45 UTC |
In Section
Cool Uses for Perl