NEVERSLEEP
Programmer
hi
i just want to know how to center a tk application
or get the screen width & height
curently i use a geometry method to place it on the screen
---------------------------------------
someone knowledge ends where
someone else knowledge starts
i just want to know how to center a tk application
or get the screen width & height
curently i use a geometry method to place it on the screen
Code:
use strict;
require Tk;
use Tk;
my $main = new MainWindow
# ...
$main->geometry('+30+100');
#...

someone knowledge ends where
someone else knowledge starts