no taskbar icon ... (or some other things) .. see Tk::Wm  perl -MTk -e " tkinit()->overrideredirect(1); MainLoop; "

not sure where i learned it, probably from tk splashscreen or maybe reading Tk::Wm and trying everything :)

$mw->overrideredirect(1); $heightwin ->overrideredirect(1); ... $mw->overrideredirect(0); ## 1 #~ 2 3 4 2 3 4 $mw->deiconify; $mw->geometry('+0+0'); $mw->raise; $mw->state('zoomed'); MainLoop;

It's also pretty slow. It takes about 3 or 4 seconds for 500 rows. I'm thinking about how to speed it up but I'm not sure.

you can always throw up a splashscreen :) but ~3 seconds is reasonable for me, half of that is loading/perl/tk... the other half is the dlineinfo loop ..

If you were to startup spreadsheet program or browser its not significantly faster

You could use dline/bbox on first line, and then guesstimate the width/height for the rest of the lines, but that only probably shaves at most half of ~1.5 seconds (not really sure which part of the dline/matrix equation takes the time, not gonna timeit)


In reply to Re^8: Query the height of Tk::Text widget with word wrap (tk without no tray icon overrideredirect splashscreen state zoomed deiconify by Anonymous Monk
in thread Query the height of Tk::Text widget with word wrap by elef

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.