in reply to tk minimize event

Try super search or even http://perltk.org.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re^2: tk minimize event
by blueberryCoffee (Scribe) on Mar 21, 2005 at 08:33 UTC
    Thanks, found it on perltk.org

    For anyone else who wishes to know. The tags to bind are 'Configure', 'Map', and 'Unmap'.

    The Configure event is fired any time you move or resize the window (this includes maximizing). The Map event happens when you un-minimize a window, and Unmap happens when you minimize the window.

    An example:
    use Tk; my $app = new MainWindow; $app->bind('<Configure>', sub{ print "configure"; }); $app->bind('<Unmap>', sub{ print "Unmap"; }); $app->bind('<Map>', sub{ print "Map"; }); MainLoop;