Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Getting Tk::Toplevel window to disply on top

by maa (Pilgrim)
on Dec 23, 2004 at 15:42 UTC ( #417128=note: print w/replies, xml ) Need Help??

in reply to Getting Tk::Toplevel window to disply on top

If you declare/create your $toplevel widget that contains the Progress Bar before the MainWindow it will be in front for it's short life.

HTH- Mark

Replies are listed 'Best First'.
Re^2: Getting Tk::Toplevel window to disply on top
by Anonymous Monk on Dec 23, 2004 at 16:53 UTC
    Can't do that!

    I am using strict, I have to declare $mw before $toplevel!

    I am not exactly sure how you mean!

      Sorry... what I mean is don't make it a child of $mw...

      my $toplevel=MainWindow->new(-title=>'Progress Bar'); my $mw=MainWindow->new(-title=>'Main Window');

      Hope that's clearer, I was just leaving work yesterday when i posted that.

        I see,...Thank you very much Sir

        Mery Christmas and a Happy new year to all.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2023-05-28 17:15 GMT
Find Nodes?
    Voting Booth?

    No recent polls found