Well, here's a recent example that's near and dear to my heart, I recently discovered that using the widgets as HList items, when one deletes an item using $HList->delete('all'), if the item has any widget entries, they will not be destroyed. Perhaps I am wrong in assuming that this should happen, but there is nothing in the documentation to lead me to believe that behavior should be otherwise. If I destroy a widget, it's children should be destroyed as well. I was under the impression that deleting an item (or an entry) was equivalent to destroying it.

With the Optionmenu widget, if you use an option list like [[label1=>1],[label2=>2]] you cannot simply set the -variable option, if you want the correct value displayed, you must also set the -textvariable option. If you only set the variable, the value in the variable will be overwritten by the first item in the option list.

These may be bugs, or they might be deficiencies in the docs. I don't care, I just don't like having to experiment to discover these behaviors.


TGI says moo


In reply to Re^2: good stable GUI library? by TGI
in thread good stable GUI library? by bcrowell2

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.