moked has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I need your wisdom,
I want to open a Tk window (no problem here),
but, I want to do it without the windows (blue/gray) frame

can anyone give me and advice??

Thanks in advance,
Moked
  • Comment on How Do I Open A Tk Window without a Frame?

Replies are listed 'Best First'.
Re: How Do I Open A Tk Window without a Frame?
by shmem (Chancellor) on Nov 04, 2007 at 12:30 UTC
    Try
    my $mw = MainWindow->new; $mw->overrideredirect(1);

    (shamelessly stolen from liverpole's excellent Alphabet Blocks Japh)

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
      Thanks shmem

      it wors
      you've been more than helpful

      Moked