I've looked at the Canvas widget and it is definitely a good thing for me to have in my Tk arsenal, but it feels wrong for this application. But the approach got me thinking and wouldn't this work: I'll have a button that pops open a new TopLevel, and I'll just populate the TopLevel with *radiobuttons*. no need that I can see for an intermediary layer of widgets. Just a simple loop with packing a frame into the TL, then packing *it* with radio buttons in for as long as a max-length column should be, then another frame, more radiobuttons, until I run out. They'll all store their value into the same var and have the same callback to deal with the menu selection. [I'd post sample code, but: 1) not written yet, and 2) it seems simple enough that I can't imagine it won't do what I need (or be all that difficult)). It's feeling like about five lines of Perl to do..:o) Am I missing something or is it really the case that this simple approach will get me what I was looking for?

In reply to Re^3: Multi-column Tk:Optionmenu? by BernieC
in thread Multi-column Tk:Optionmenu? by BernieC

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.