That works, example
#!/usr/bin/perl -- use Tkx; use strict; use warnings; $Tkx::TRACE = 64; Tkx::package_require('tile'); my $mw = Tkx::widget->new('.'); my @days = ( 1 .. 31 ); my $d; my $combo = $mw->new_ttk__combobox( -values => \@days ); $combo->g_grid( -column => 0, -row => 0, -columnspan => 1, -rowspan => 1, -sticky => "nsew" ); use Data::Dumper; warn Dumper( $combo, $combo ); $combo->configure( -values => [ 3, 3, 3 ] ); Tkx::ttk__combobox( ".day", -values => \@days ); Tkx::grid( ".day", -column => 0, -row => 2, -columnspan => 1, -rowspan => 1, -sticky => "nsew" ); Tkx::widget::m_configure( $combo, -values => [ 6, 6, 6 ] ); Tkx::MainLoop(); __END__ Tkx-1-0.0s-tkx-temp.pl-9: package require tile Tkx-2-0.0s-tkx-temp.pl-16: winfo children . Tkx-3-0.0s-tkx-temp.pl-16: ttk::combobox .c -values [list 1 2 3 4 5 6 +7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 +31] Tkx-4-0.0s-tkx-temp.pl-17: grid .c -column 0 -row 0 -columnspan 1 -row +span 1 -sticky nsew $VAR1 = bless( do{\(my $o = '.c')}, 'Tkx::widget' ); $VAR2 = $VAR1; Tkx-5-0.0s-tkx-temp.pl-28: .c configure -values [list 3 3 3] Tkx-6-0.0s-tkx-temp.pl-30: ttk::combobox .day -values [list 1 2 3 4 5 +6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 +0 31] Tkx-7-0.0s-tkx-temp.pl-31: grid .day -column 0 -row 2 -columnspan 1 -r +owspan 1 -sticky nsew Tkx-8-0.0s-tkx-temp.pl-40: .c configure -values [list 6 6 6]

In reply to Re^2: Tkx - configure ttk::combobox by Anonymous Monk
in thread Tkx - configure ttk::combobox by ussuriysk

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.