Thank you for your reply, Zentara.

>I was musing over it last night, and guessed it has to do with column headers getting counted as a row, maybe ? :-)

When I commented out the code constructing column headers, nothing changed.

>If you want some real consistency in widget design, move up to Perl-Gtk2. All of it's widgets descend from well laid out ancestors, so the style remains the same across widgets.

Unfortunately, I have no enough time to study Gtk2. It's already more than a year that I'm writing this gui on Tk (in free time by evening); imagine how much time will it take from me - total rewriting all the code :)

>so just hack around it, with a few lines of code.

Yes, I'll do it. I have already begun to do it, before creating this page on perlmonks, but then I thought, may be it's not a bug, may be I don't understand something...


In reply to Re^4: Perl/Tk: gridInfo() returns a wrong row number by Shumkar
in thread Perl/Tk: gridInfo() returns a wrong row number by Shumkar

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.