@dk, thank you for committing the change. I really appreciate it :) But unfortunately the InputLine widget still doesn't work for me :(
I downloaded the dk-Prima-e3c6fd6.zip file, unzipped it and ran the ms_install.pl file. I got Prima installed successfully
But when running a Prima app, Perl gives me the following warnings:
Bareword "km::Unicode" not allowed while "strict subs" in use at C:/Perl/site/li
b/Prima/InputLine.pm line 279.
Compilation failed in require at C:/Perl/site/lib/Prima/MsgBox.pm line 42.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Prima/MsgBox.pm line 42.
Compilation failed in require at (eval 72) line 1.
BEGIN failed--compilation aborted at (eval 72) line 1.
BEGIN failed--compilation aborted at E:\vb.pl line 27.
Okay, that's not a real problem. I commented out the use strict; line in the InputLine.pm and Edit.pm and running my Prima app again. This time the Prima showed up and then I tried to enter some Chinese characters in the InputLine widget but it didn't work. The widget still refused to accept any IME input. By any I mean I can select English words through the IME but English words from the IME can't be entered in the InputLine widget either. I'm not a GTk user and I don't know if I can enter IME characters with GTk. But both wxPerl and Perl Tk accept IME input from my Chinese system. It's just weird. I'll give it some more tries. Anyway thank you for the effort.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.