in reply to TclTk interface with Perl code, is it possible?
Choices breed complications :) I apologize in advance for this post :)
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?
Sure with Tcl::pTk you can. You can do the whole thing "in perl" or in tcl. example Re: Tk hidden binding
If you use Tkx, I hear ActiveState has a GUI builder in some version of their Komodo product that will generate perl code, and it should be easy to pack with their perlapp
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.
Yeah, packing stuff in a single exe puts you at a slight disadvantage, its not a one-click-world with Tcl::pTk, not that it is with any of the other toolkits, but activetcl is trickier. perl is the host, it embeds tcl, but all the widgets aren't warpped up in a neat single dll like tkkit, you'd have to either copy a bunch of files, or create one , or ...
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.
Sure, its not Tk, but its easy GUI with easy deployment, its http://www.citrusperl.com/ , it comes with Cava Packager + wxPerl, add my wxWidgets / wxPerl / wxGlade tutorial and you're up and running
Ps. I know nothing about Tcl language though.
oh boy, why did you bring it up?
Maybe you'd like to try Tk/ZooZ.pl? Or Prima/VB - Visual Builder for the Prima toolkit? Or Wx/wxGlade?
Those ought to be the easiest to install from sources and pack. I mean they're all equally easy, or hard.. whatever you pick, there will always be some legwork, something to learn, something to get help on ... the smarter you are, the easier it will be :) Most of these are free options, the cash options fare about the same, except you pay someone to listen/help with any problems
All GUI toolkits are about the SAME, work the same way .... hey, you could even use a browser as your GUI, jquery, etc, etc, with a perl webserver backend ( cgi-app / mojo / dancer / catalyst )
You'll want to peruse these to get some ideas of how things work, typical FAQ-y problems, tuts, etc, etc, etc
- GUI for perl on Windows
- Perl/Tk widget removal problem...
- Perl/Tk: For Beginners
- difference sockets in Tk and Tkx
- GUI toolkit+designer for the perl newbie
- Par Packer - gui option problems
- Run a script as GUI using perl\tk
- Unresponsive Perl Tk GUI when using system() calls
- Alternatives to threads for maintaining GUI app responsiveness
- wxperl + PAR::Packer + GUI not working
- Why is wxPerl slower than Win32GUI?
- exe with wx gui - pp/wxpar issues
- Easier GUI
- GUI Toolkit
- GUIs in Tk.:Zinc; a perl module experiment
- clunky Tk GUI
- camelbox - A build of Perl with Gtk+, packaged and ready for use on 32-bit Windows systems
- Camelbox: A build of Gtk2-Perl for Windows
- Re^6: Best strategy to facilitate dependency installation for a Perl-based software distribution
- build-gtk-glib-post.PL
- IDE for GUI?
- Why GUI perl programs on Windows?
- GUI and standalone Perl - can we build a new FAQ please?
- good stable GUI library?
- these win32 tutorials/examples