Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Re: Re: Re: Re: TK - Best MainWindow management tips

by crabbdean (Pilgrim)
on Mar 26, 2004 at 22:31 UTC ( #340157=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: Re: TK - Best MainWindow management tips
in thread TK - Best MainWindow management tips

Okay, using nmake worked.

For anyone wanting to know, the documentation is then viewed by typing "perldoc win32util" at a command prompt.

Also, I got the Win32Util function to doing a maximize and not going underneath the taskbar by doing:
#!perl use strict; use Tk; use Win32Util; my $mw = new MainWindow; my ($xx, $yy, $w, $h) = Win32Util::client_window_region($mw); $mw->geometry($w.'x'.$h.'+0+0'); MainLoop;

The Funkster of Mirth
Programming these days takes more than a lone avenger with a compiler. - sam
RFC1149: A Standard for the Transmission of IP Datagrams on Avian Carriers

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: TK - Best MainWindow management tips
by eserte (Deacon) on Mar 29, 2004 at 11:12 UTC
    It's better to write $mw->geometry($w.'x'.$h."+$xx+$yy");, as the taskbar (or any other obscuring bar) may be on top or left of the screen.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://340157]
[Lady_Aleena]: Your Mother, how would that work? I'm having a hard time understanding the pod.
[Your Mother]: $dir->chidren, grep {} $file->slurp &c &c. :P
[Your Mother]: Stick with what you know. Or post a SOPW and if it's not complicated I guarantee someone will answer; me if it's straightforward and no one else gets it better first.
[1nickt]: ++YourMother (Grammar Vigilante of Bristol)

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2017-05-23 19:45 GMT
Find Nodes?
    Voting Booth?