elbumpo has asked for the wisdom of the Perl Monks concerning the following question:
On the other hand: if I copy Japanese into the entry field, everything is fine. But of course I'd like to type in my searched word into the field directly, not having to first write it somewhere and then copy it into the field. Did anybody have the same problem and found a solution?
To simulate this problem, the following programm should be sufficient:
use Tkx; Tkx::ttk__frame(".c", -padding => "3 3 12 12"); Tkx::grid( ".c", -column => 0, -row => 0, -sticky => "nwes"); Tkx::grid_columnconfigure( ".", 0, -weight => 1); Tkx::grid_rowconfigure(".", 0, -weight => 1); Tkx::ttk__entry(".c.feet", -width => 7, -textvariable => \$feet); Tkx::grid(".c.feet", -column => 2, -row => 1, -sticky => "we"); Tkx::ttk__button(".c.calc", -text => "Search", -command => sub {search +();}); Tkx::grid(".c.calc", -column => 3, -row => 3, -sticky => "w"); sub search { #...; } Tkx::MainLoop();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: japanese input fails in Tkx
by vkon (Curate) on Feb 09, 2011 at 08:06 UTC | |
|
Re: japanese input fails in Tkx
by vkon (Curate) on Feb 18, 2011 at 11:28 UTC |