Hi Sandy,
I see you recently posted about this on PerlMonks: 
https://www.perlmonks.org/?node_id=1219968
As mentioned by https://www.perlmonks.org/?node_id=1220185 : if you intend to 
keep using the widgets from Perl, you might be able to use them with Tcl::pTk 
with little to no change, if you haven't already tried that. It tries to allow 
unmodified Perl/Tk programs and pure-perl custom widgets to work with Tcl/Tk. 
Otherwise, as others have said it is possible to use Tcl/Tk syntax from Tcl::Tk 
or Tkx.
I haven't found exactly what you might be looking for, but one source that 
might help with using Tcl/Tk syntax is TkDocs, but the way they do this from 
Perl is using Tkx, which many find a drastic change from Perl/Tk syntax. 
Tcl::Tk allows both Tcl/Tk syntax and some Perl/Tk syntax where possible, but 
is still a light wrapper like Tkx. Tcl::pTk tries to then cover any cases not 
covered by Tcl::Tk to allow running existing Perl/Tk programs. 
There's also this document with a few sections on the differences between 
Tcl/Tk and Perl/Tk: http://phaseit.net/claird/comp.lang.perl.tk/ptkFAQ.html

Hope this helps.
        
        

        Christopher Chavez
    
  




On Sat, Aug 11, 2018 at 5:44 PM -0500, "Sandy L Bultena" 
<sandy.bult...@sympatico.ca> wrote:










Hi,
I am currently trying to port some of my old Perl/Tk programs to Tcl/Tk.  
I have many pure-perl custom widgets.  I am trying online to find a decent 
tutorial(s) on how to create custom widgets using perl Tcl/Tk.
Can you recommend anything?  Any examples? 
Thank you for your time.


Sandy

"If at first you don’t succeed, that’s one data point" 
-http://www.xkcd.com/1154/











  • Custom Widgets Sandy L Bultena
    • Re: Custom Widgets Christopher Chavez

Reply via email to