in reply to Tk MainWindow from module Foo on to appear on top

Have you tried using something like in the "help" module:
$mainWin->raise;
and something like this in each of the "non-help" modules:
$mainWin->lower;
I'm not totally sure that will work in all cases, but it's worth a try.

If it was my app, I'd have the help window pop up only at the user's request. Put a "Help" button on one or more of the other windows. When all the "non-help" windows are up, and the user happens to push this button, the help window will certainly be on top -- but if someone uses this app more than a few times, they probably won't need or want to look at the help window every time they start it up.

Replies are listed 'Best First'.
Re: Re: Tk MainWindow from module Foo on to appear on top
by aplonis (Pilgrim) on Oct 25, 2003 at 18:40 UTC
    I just tried that. Thanks! After some few experiments
    it seems to work best if I do this way...

    $other_module::mw_other->lower
    $other_module::mw_other->raise
    $help_module::mw_help->raise

    I first lowered, then raised the other module's
    MainWindow before raising the help module's as I
    wanted the other module's MainWindow to be
    second-from-top, just under that of the help
    module.

    Thanks,

    PS -- The URL for this project (soon to be updated
    for todays meditative realization) is Test Log GUI