> Petr Vileta
> Sent: Saturday, November 26, 2005 8:01 PM
> To: ActivePerl
> Subject: Tk window
> I want to create new window (from MainWindow) but without any border or
> move/close buttons and titlebar and want that this new window
> will be on the
> top of all other windows.
> I was trying SplashScreen but this not comply with my purpose.
> And, of course, for Linux and Windows too :-)
> Any idea?
> Petr Vileta, Czech republic
You're using a Toplevel widget, so try
$toplevel->overrideredirect(1); # removes all decoration
# overrideredirect(0); ensures decoration
Stayontop uses different methods on windoze and *nix but works on both.
You can add whatever content you need to the window by your preferred means,
and probably want to make stayontop the last call, to avoid seeing it