Here are the available configure options

#!/usr/bin/perl -- use strict; use warnings; use Data::Dump qw/ pp /; $Tkx::TRACE = 64; use Tkx; my $mw = Tkx::widget->new("."); my $calc = $mw->new_ttk__button( -text => "Calculate", -command => \&calculate +); $calc->g_grid( -column => 1, -row => 3, -columnspan => 2, -sticky => " +ew" ); sub calculate { pp [ $calc->configure ]; $calc->configure( -background => 'red' ); } Tkx::MainLoop(); __END__ $ perl tkx-configure.pl Tkx-1-0.0s-tkx-configure.pl-8: winfo children . Tkx-2-0.0s-tkx-configure.pl-8: ttk::button .b -text Calculate -command + perl::callback Tkx-3-0.0s-tkx-configure.pl-10: grid .b -column 1 -row 3 -columnspan 2 + -sticky ew Tkx-4-2.9s-tkx-configure.pl-13: .b configure [ bless([ bless([ "-takefocus", "takeFocus", "TakeFocus", "ttk::takefocus", "ttk::takefocus", ], "Tcl::List"), bless(["-command", "command", "Command", "", "::perl::CODE(0xa84ec +c)"], "Tcl::List"), bless(["-default", "default", "Default", "normal", "normal"], "Tcl +::List"), bless(["-text", "text", "Text", "", "Calculate"], "Tcl::List"), bless(["-textvariable", "textVariable", "Variable", "", ""], "Tcl: +:List"), bless(["-underline", "underline", "Underline", -1, -1], "Tcl::List +"), bless(["-width", "width", "Width", "", ""], "Tcl::List"), bless(["-image", "image", "Image", "", ""], "Tcl::List"), bless(["-compound", "compound", "Compound", "none", "none"], "Tcl: +:List"), bless(["-padding", "padding", "Pad", "", ""], "Tcl::List"), bless(["-state", "state", "State", "normal", "normal"], "Tcl::List +"), bless(["-takefocus", "takeFocus", "TakeFocus", "", "ttk::takefocus +"], "Tcl::List"), bless(["-cursor", "cursor", "Cursor", "", ""], "Tcl::List"), bless(["-style", "style", "Style", "", ""], "Tcl::List"), bless(["-class", "", "", "", ""], "Tcl::List"), ], "Tcl::List"), ] Tkx-5-2.9s-tkx-configure.pl-14: .b configure -background red

In reply to Re: Limitations with Tkx configure options? by Anonymous Monk
in thread Limitations with Tkx configure options? by murrayn

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.