Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

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


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

Thanks! Although, on "make test" I get this error.

Makefile:644: *** missing separator. Stop.

Not being familiar with this install process I'm at a loss here. Any pointers? ... or else I'll have to research how to solve this problem. I'll also look more into the Win32::API. Thanks


Dean
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


Comment on Re: Re: Re: TK - Best MainWindow management tips
Re: Re: Re: Re: TK - Best MainWindow management tips
by eserte (Deacon) on Mar 26, 2004 at 13:53 UTC
    Maybe you need to use "nmake" or "dmake", depending on your perl version.
      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;

      Dean
      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
        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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://339990]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-09-15 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (146 votes), past polls