Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hello Monks,

Here's my story. I want to create a Win32 GUI application, and I started with Perl/Tk, after a while, I found that is really complex to write an interface by purely code, so I look for some GUI builder. Then, I found Tcl/Tk, seems that's the easiest and complete builder I can find.

I tried some search, but don't have a clue at a point is that : Can I build the interface with Tcl, and then finished the code with Perl?

If yes, that still one more question is that who's the host and whose the guest? I mean after the program finish, the script is interpreted by Perl or Tcl ? Coz I need to compile the app to an exe file before I distribute to my colleagues.

But if no, could you suggest any approach for me? I need a GUI builder to build the interface, and write the code with Perl... and I am on WinXP.

Moreover, I would also consider dynamic interface modifies on the fly, eg. Extends tables' rows, real time gen menu items, auto scroll bars etc. I wonder if some module can capture the Tcl interface source as objects, and then Perl can access to its properties or even extends the Tcl windows.

Please help brief me some basic idea/concept or point me to any useful documents. Thank you very very much.

Ps. I know nothing about Tcl language though. UPDATE: I use PerlApp to pack the script.


In reply to TclTk interface with Perl code, is it possible? by exilepanda

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 sharing their wisdom with the Monastery: (3)
As of 2024-04-19 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found