Re: Stay on top




Niv wrote:
Is there a way to get my wish window/shell to stay on top/ viewable,
regardless of what other apps I may open?

This is in an XP environment.

I tried the following which I found on this group: wm style .
stayontop true
but it doesn't work.

Regards, Kev P.

First question, where are you getting the wm style command from? When
I use that I get:

% wm style
bad option "style": must be aspect, ...

That aside, you can keep a window on top like this:

wm attributes . -topmost 1 ; # for the main Tk window

console eval {wm attributes . -topmost 1} ; # for the console window

This works on WindowsXP

Mark

.