Re: Tkx and xml-rpc
[email protected] (Jan Dubois) Wed, 30 Jan 2013 10:19:48 -0800
| Newsgroups | perl.tcltk |
|---|---|
| Message-ID | <CAD-TLz_y=TV4VEibv-RVqW4G7fm3D0fBGj7na6wgRBs_jU3NSg@mail.gmail.com> |
On Wed, Jan 30, 2013 at 7:51 AM, Kevin Walzer <[email protected]> wrote: > As yet another alternative, this package: > > https://sourceforge.net/projects/xmlrpctcl/ > > works flawlessly when run from Tk directly. It enabled my Tk app to serve as > the XMLRPC server and returned data to a Perl-based client with no trouble. > > Its license is GPL, which prevents it from being used in a proprietary app, > but it's food for thought. I wonder how easy it would be to wrap the package > from Perl and call it via Tkx. There is no need to wrap it from Perl; Tkx.pm is using Tcl.pm, which is a generic bridge between Perl and Tcl. So you should already be able to use xmlrpctcl directly from Tkx apps. That's what Jeff meant when he wrote "If there was a way to do this in Tcl, you could do it through Tkx" earlier in this thread. Cheers, -Jan