Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
As far as I know perl/Tk will be updated soon to support Unicode in perl-5.8.x

But this is entirely different approach.

Normally you do not need Tcl::Tk when you are satisfied with perlTk, but here are cases when I use it and advice it to use for others:

  1. sometimes Perl somes without perl/Tk (Linux, FreeBSD and probably other distribution do not have it unless you managed to build perlTk) and compiling perlTk is much more consuming task than Tcl::Tk, because usually Tcl/Tk already exist in system and Tcl::Tk as a glue is really lightweight
    Being lightweight, it is much easier to port it to another OS, and, as a bright example, currently Tcl::Tk is the only way to get GUI for perl-5.8.x on WinCE, yet the only way to get Unicode-aware GUI for perl-x.x.x on WinCE.
    (OT: FreeBSD has rather old Perl and rather new Tcl/Tk after installing of OS. Why?)
  2. You need some feature that exists in Tcl/Tk but not available in perlTk. Mostly these are Unicode and large set of widgets available in Tcl/Tk.
  3. Not only widgets, but some parts of ready-to-use Tcl/Tk code could be used from Perl, as long as perl has full access to all widgets created in Tcl/Tk.
    (I use this approach quite often)
  4. Elder perls could have Unicode-enabled GUI this way.
    (I'm still using perl-5.6.1 and really will migrate to perl-5.8.1 soon, but until that I have ability to create Unicode-aware GUI)
Also, Tcl/Tk is updated more frequently than perlTk do.

Courage, the Cowardly Dog


In reply to Re: Re: Tcl, Tcl::Tk now much better, but need documentation improvements by Courage
in thread Tcl, Tcl::Tk now much better, but need documentation improvements by Courage

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • 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> <u> <ul>
  • 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 intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found