perl.tcltk
https://www.nntp.perl.org/group/perl.tcltk/
...Copyright 1998-2025 perl.orgSun, 26 Jan 2025 05:46:33 +0000ask@perl.orghelp Keyboard and Tk (2 messages)Hi all,
<br/>
<br/>I have a litle Script perl Tk.
<br/>
<br/>It's simple,
<br/>I press a key in my keyboard, and I can see the name key in the terminal with a print.
<br/>
<br/>All key good, but I have a problem with the key f10.
<br/>
<br/>I can see F10 in the consol, no problem.
<br/>But in windows 10, f10 open the menu.
<br/>
<br/>Can you help me to solve the problem?
<br/>Thanks!
<br/>This is my script.
<br/>
<br/>use Tk;
<br/>
<br/>$mw = MainWindow->new;
<br/>
<br/>$mw->bind("<Key>", [ sub {
<br/>print "Touche : $_[1]\n";
<br/> },
<br/> Ev('K')] );
<br/>MainLoop;https://www.nntp.perl.org/group/perl.tcltk/2021/11/msg850.htmlMon, 08 Nov 2021 05:04:45 +0000Trying to use Tk 8.6 (4 messages)On MacOS 10.13.6 I have Perl 5.28 installed in /opt/local/ using<br/>MacPorts. This works well and no problems installing modules using<br/>`cpanm`. I installed ActiveState's v8.6 of Tcl which is saved to<br/>`/Library/Frameworks/Tcl.framework/Versions/8.6` and then installed<br/>Tkx. My problem is I don't know how to make Tkx use the v8.6 version<br/>of Tcl/Tk. Here is how I think I know that it is not.<br/><br/>$ perl -MTkx -e 'print Tkx::info("patchlevel");'<br/>8.5.9<br/><br/>Any tips on how I can wire in the latest version of Tcl/Tk for Perl usage?<br/><br/>-- <br/>Bill.Costa@alumni.unh.edu<br/>No good deed goes unpunished.<br/>https://www.nntp.perl.org/group/perl.tcltk/2021/05/msg846.htmlSat, 15 May 2021 22:14:01 +0000Tkx 1.10, new maintainer (2 messages)Howdy,<br/><br/>I am now the maintainer of Tkx; it was put up for adoption a few months ago [1].<br/>Thanks to PAUSE admins for their help.<br/><br/>I published Tkx 1.10, which will allow installation despite the known test failure [2].<br/><br/>I have set the repository and bugtracker to my fork [3].<br/><br/>[1] http://blogs.perl.org/users/neilb/2020/09/gisle-aass-cpan-distributions-are-available-for-adoption.html<br/>[2] https://rt.cpan.org/Ticket/Display.html?id=115662<br/>[3] https://github.com/chrstphrchvz/tkx<br/><br/>Christopher A. Chavez<br/>https://www.nntp.perl.org/group/perl.tcltk/2021/02/msg844.htmlSat, 06 Feb 2021 10:37:58 +0000Linking to correct Tcl/Tk frameworks on macOS (1 message)Hello all,<br/><br/>I've seen a few email queries on this list (cf.<br/>https://www.nntp.perl.org/group/perl.tcltk/2018/08/msg770.html ) about how<br/>to link to specific versions of the Tcl/Tk frameworks on macOs if you are<br/>using one of the Perl libraries that interface to these frameworks (tkx,<br/>tcl::tk, etc.), and especially if you are deploying a standalone app<br/>bundle.<br/><br/>What has worked for me is to set specific environmental flags at the start<br/>of my main Perl script in my app bundle, which I am currently using in<br/>FileMorph (https://www.codebykevin.com/filemorph.html). Here is the code<br/>snippet I use:<br/><br/>use FindBin qw($Bin);<br/>use File::Basename;<br/>use Config;<br/><br/>BEGIN {<br/> if ( $Config{osname} eq "darwin" && $ENV{PAR_TEMP} ) {<br/> my $frameworkpath =<br/> dirname($Bin) . "/Frameworks/Tcl.framework/Versions/8.6/Tcl";<br/> $ENV{'PERL_TCL_DL_PATH'} = $frameworkpath;<br/> $helpdir = dirname($Bin) . '/Resources/FileMorph\\ User\\<br/>Help.help';<br/> }<br/> if ( $Config{osname} eq "MSWin32" ) {<br/> my $frameworkpath = "$Bin/Tcl86/bin/tcl86t.dll";<br/> $ENV{'PERL_TCL_DL_PATH'} = $frameworkpath;<br/> }<br/>}<br/><br/>This code has a couple of extra references to PAR/pp environmental<br/>variables, but essentially, on the Mac I use FindBin to locate the<br/>installation of my application, map the Tcl framework within that<br/>installation, and then set that as the library path for Tcl/Tk for Perl to<br/>interface with.<br/><br/>I hope this is helpful to others.<br/><br/>--Kevin<br/>https://www.nntp.perl.org/group/perl.tcltk/2020/11/msg843.htmlMon, 30 Nov 2020 01:06:58 +0000Call For Presentations - SQLite & Tcl 2020 (Virtual Event) (1 message)<br/>Hello tcltk-perl, fyi ...<br/><br/>SQLite & Tcl 2020 (Virtual Event)<br/>https://www.tcl-lang.org/community/tcl2020/<br/><br/>This year the Tcl conference of past years has been re-imaged as a<br/>virtual event titled __S&T 2020 (SQLite & TCL)__, to be held<br/>__Tuesday, November 10 from 10am to 3pm CDT__. The exact timing is<br/>subject to change depending on the amount of people who sign up to<br/>present a WIP (work in progress) presentation.<br/><br/>The event will be hosted through Zoom.<br/>To register please go to the<br/>[event details on eventbrite](https://www.eventbrite.com/e/st-2020-tickets-122293825123).<br/><br/>Given the Covid-19 virus and all the disruption it's causing, we<br/>thought rather than requiring people to put all the work and time into<br/>creating a full-fledged academic paper, we'd instead make it easier on<br/>contributors by asking for shorter, less formal talks.<br/><br/>Have you done interesting work that you would like to share?<br/><br/>How about a cool idea that's not yet baked or just in the prototype<br/>stage but seems like something others would be interested in?<br/><br/>The SQLite & TCL audience would like to hear about it, and can provide<br/>valuable discussion and feedback. We are particularly interested in<br/>new ideas, to hear about novel solutions to problems you've faced, or<br/>to see your work in progress.<br/><br/>To schedule your talk, please send email to<br/>[violet.diaz@flightaware.com](mailto:violet.diaz@flightaware.com)<br/><br/>Sincerly.<br/>https://www.nntp.perl.org/group/perl.tcltk/2020/10/msg842.htmlThu, 08 Oct 2020 00:56:06 +0000Check Tcl/Tk using Tcl.pm from Makefile.PL? (2 messages)I often have multiple Tcl/Tk installations on a system for testing
<br/>purposes, and quite a few times I have accidentally specified --tclsh
<br/>for the wrong Tcl/Tk installation to Tcl::pTk, rather than whichever one
<br/>Tcl.pm is currently using.
<br/>
<br/>I wonder if this could be prevented: when installing Tcl.pm dependents
<br/>(Tcl::pTk, Tcl::Tk, etc.), why not have them go through Tcl.pm to check
<br/>for Tcl/Tk versions and extensions, rather than relying on a
<br/>possibly-incorrect path to tclsh? Would it be okay for Tcl.pm dependents
<br/>to `require Tcl` from inside Makefile.PL (only when the --test-for-tk
<br/>check is requested), or is it considered universally "bad" for
<br/>Makefile.PL files to try using dependencies this way? Was there a reason
<br/>this approach was not used in the first place?
<br/>
<br/>
<br/>Christopher A. Chavez
<br/>https://www.nntp.perl.org/group/perl.tcltk/2020/07/msg840.htmlSat, 18 Jul 2020 17:42:42 +0000Possible bug in Tcl.pm exposed by Tktable? (16 messages)Here's an issue I've known about for several months but hadn't reported.
<br/>I'm curious if there are any ideas here for debugging or what the cause
<br/>might be (if obviously in Tcl.pm), or if I should go ahead and report it
<br/>to Debian package maintainers.
<br/>
<br/>Christopher A. Chavez
<br/>
<br/>-------------------------------------------------------------------------
<br/>
<br/>Using Debian 10 buster amd64, and packages provided by Debian:
<br/>
<br/>perl 5.28.1-6
<br/>tk 8.6.9-2
<br/>tk-table 2.10-4 (borrowed from testing/bullseye; I can't find debug
<br/>symbols for 2.10-3)
<br/>
<br/>plus Tcl.pm 1.27 (either Debian's libtcl-perl 1.27+ds-1, or from GitHub
<br/>master branch).
<br/>
<br/>(I'm not sure which package might be responsible for this issue.
<br/>I believe I also observed this issue on a recent version of Ubuntu.)
<br/>
<br/>Any normal usage of Tktable from Perl (e.g. with a wrapper like Tkx,
<br/>Tcl::Tk, or Tcl::pTk) will seem to work fine, but an error occurs when
<br/>the program is closed:
<br/>
<br/> munmap_chunk(): invalid pointer
<br/> Aborted (core dumped)
<br/>
<br/>This error does not occur when using Tktable directly from Tcl/Tk
<br/>(e.g. tclsh/wish), so I suspect the issue may be in Tcl.pm or Perl.
<br/>
<br/>Example Perl script that exhibits the error:
<br/>
<br/> use Tcl;
<br/> my $i = new Tcl;
<br/> $i->Init;
<br/> $i->Eval('package require Tk');
<br/> $i->Eval('package require Tktable');
<br/> $i->Eval('destroy .');
<br/>
<br/>Valgrind indicates the error is due to an invalid free, but the exact
<br/>code responsible for the issue is unclear to me:
<br/>
<br/>$ valgrind --num-callers=100 perl tktable-test.pl
<br/>==17734== Memcheck, a memory error detector
<br/>==17734== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
<br/>==17734== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
<br/>==17734== Command: perl -Mblib tktable-test.pl
<br/>...
<br/>[omitting "Invalid read of size 1" error -- known behavior when Tk
<br/>is loaded, https://core.tcl-lang.org/tk/tktview?name=e42eef33ee ]
<br/>...
<br/>==17734== Invalid free() / delete / delete[] / realloc()
<br/>==17734== at 0x48369AB: free (vg_replace_malloc.c:530)
<br/>==17734== by 0x162304: perl_destruct (in /usr/bin/perl)
<br/>==17734== by 0x13C3DB: main (in /usr/bin/perl)
<br/>==17734== Address 0x52012a0 is 8,400 bytes inside a block of size
<br/>16,384 alloc'd
<br/>==17734== at 0x483577F: malloc (vg_replace_malloc.c:299)
<br/>==17734== by 0x5550DFE: GetBlocks (tclThreadAlloc.c:1044)
<br/>==17734== by 0x5550549: TclpAlloc (tclThreadAlloc.c:358)
<br/>==17734== by 0x5459272: newstate (regc_nfa.c:135)
<br/>==17734== by 0x54548B8: parseqatom (regcomp.c:1136)
<br/>==17734== by 0x5453FA3: parsebranch (regcomp.c:760)
<br/>==17734== by 0x5453DF2: parse (regcomp.c:689)
<br/>==17734== by 0x545365E: TclReComp (regcomp.c:382)
<br/>==17734== by 0x5542841: CompileRegexp (tclRegexp.c:934)
<br/>==17734== by 0x5542404: Tcl_GetRegExpFromObj (tclRegexp.c:593)
<br/>==17734== by 0x547FCF4: Tcl_RegexpObjCmd (tclCmdMZ.c:268)
<br/>==17734== by 0x5467FB6: TclNRRunCallbacks (tclBasic.c:4461)
<br/>==17734== by 0x54693AE: TclEvalEx (tclBasic.c:5330)
<br/>==17734== by 0x5468D12: Tcl_EvalEx (tclBasic.c:4995)
<br/>==17734== by 0x54078CB: XS_Tcl_Eval (Tcl.xs:1097)
<br/>==17734== by 0x1F4360: Perl_pp_entersub (in /usr/bin/perl)
<br/>==17734== by 0x1EA685: Perl_runops_standard (in /usr/bin/perl)
<br/>==17734== by 0x166116: perl_run (in /usr/bin/perl)
<br/>==17734== by 0x13C401: main (in /usr/bin/perl)
<br/>==17734==
<br/>==17734== Invalid free() / delete / delete[] / realloc()
<br/>==17734== at 0x48369AB: free (vg_replace_malloc.c:530)
<br/>==17734== by 0x162322: perl_destruct (in /usr/bin/perl)
<br/>==17734== by 0x13C3DB: main (in /usr/bin/perl)
<br/>==17734== Address 0x536add0 is 8,720 bytes inside a block of size
<br/>16,384 alloc'd
<br/>==17734== at 0x483577F: malloc (vg_replace_malloc.c:299)
<br/>==17734== by 0x5550DFE: GetBlocks (tclThreadAlloc.c:1044)
<br/>==17734== by 0x5550549: TclpAlloc (tclThreadAlloc.c:358)
<br/>==17734== by 0x5471A87: Tcl_Alloc (tclCkalloc.c:1059)
<br/>==17734== by 0x5512900: AllocChannelBuffer (tclIO.c:2453)
<br/>==17734== by 0x5512900: GetInput (tclIO.c:6843)
<br/>==17734== by 0x5511B5C: DoReadChars (tclIO.c:5867)
<br/>==17734== by 0x5522605: TclNREvalFile (tclIOUtil.c:1920)
<br/>==17734== by 0x5480DE5: TclNRSourceObjCmd (tclCmdMZ.c:1013)
<br/>==17734== by 0x5467FB6: TclNRRunCallbacks (tclBasic.c:4461)
<br/>==17734== by 0x54693AE: TclEvalEx (tclBasic.c:5330)
<br/>==17734== by 0x5468D12: Tcl_EvalEx (tclBasic.c:4995)
<br/>==17734== by 0x54078CB: XS_Tcl_Eval (Tcl.xs:1097)
<br/>==17734== by 0x1F4360: Perl_pp_entersub (in /usr/bin/perl)
<br/>==17734== by 0x1EA685: Perl_runops_standard (in /usr/bin/perl)
<br/>==17734== by 0x166116: perl_run (in /usr/bin/perl)
<br/>==17734== by 0x13C401: main (in /usr/bin/perl)
<br/>https://www.nntp.perl.org/group/perl.tcltk/2020/03/msg824.htmlSun, 08 Mar 2020 04:07:04 +0000Using break in callback function with Tcl::Tk (3 messages)<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div class="signature">Hello everybody,</div><br/><br/><div class="signature">&nbsp;</div><br/><br/><div class="signature"><br/><div>Does anybody know, how to use the tcl &quot;break&quot; function in a Tcl::Tk event callback. I saw https://www.perlmonks.org/?node_id=1026146 but I cannot make head or tail of it.<br/><br/>&nbsp;<br/><br/>Here is my simple try, that doesn&#39;t work:<br/><br/>&nbsp;</div><br/><br/><div>use Tcl::Tk;<br/><br/>my &#36;int = Tcl::Tk-&gt;new();<br/><br/>my &#36;mw = &#36;int-&gt;mainwindow();<br/><br/>my &#36;b = &#36;mw-&gt;Text()-&gt;pack();<br/><br/>&#36;b-&gt;bind(&#39;&lt;Enter&gt;&#39; =&gt; &#92;&amp;enter);<br/><br/>&#36;b-&gt;bind(&#39;all&#39;,&#39;&lt;Enter&gt;&#39; =&gt; sub {print &quot;This shouldn&#39;t be printed&#92;n&quot;;});<br/><br/>&#36;int-&gt;MainLoop;<br/><br/>sub enter {<br/><br/>&nbsp;&nbsp; &nbsp;print &quot;hello&#92;n&quot;;<br/><br/>&nbsp;&nbsp; &nbsp;eval {<br/><br/>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&#36;int-&gt;Eval(&#39;-code break&#39;);&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br/><br/>&nbsp;&nbsp; &nbsp;};<br/><br/>&nbsp;&nbsp; &nbsp;<br/><br/>}<br/><br/>&nbsp;<br/><br/>Without the eval in the function enter, I get an error: &quot;command bound to event&quot;..<br/><br/>&nbsp;<br/><br/>Thanks in advance for any help,<br/><br/>Max<br/><br/>&nbsp;<br/><br/>PS.: Appending a binding with &quot;bind &#36;w +command&quot; works as follows ;-) :<br/><br/>&#36;int-&gt;CreateCommand(&#39;ent&#39;,&#92;&amp;enter);<br/><br/>&#36;b-&gt;bind(&#39;&lt;Enter&gt;&#39; =&gt; &#39;+ent&#39;);</div><br/></div></div></body></html><br/>https://www.nntp.perl.org/group/perl.tcltk/2020/01/msg821.htmlSun, 19 Jan 2020 09:59:31 +0000Call perl subroutine from $int->Eval (3 messages)I have some portion of codes written in Tcl inside my Perl script (here a<br/>Drag&Drop I can not write in Perl).<br/><br/>#creating Dropper<br/>$int->Eval("bind $Widgetname <<Drop>> {<br/>$Widgetname configure -state normal<br/> # .drop_target delete 0 end<br/> $Widgetname insert end %D<br/>focus $Widgetname<br/>#.drop_target configure -state disabled<br/>set x -2000<br/> }"<br/>);<br/><br/>Is there a way to call a Perl subroutine from within the $int->Eval?<br/>Best,<br/>Welle<br/>https://www.nntp.perl.org/group/perl.tcltk/2019/12/msg818.htmlThu, 05 Dec 2019 21:32:07 +0000trouble installing Tkx (5 messages)There's a bug #115662 for Tkx on rt.cpan.org that was opened three<br/>years ago with no response. I appended my log to it yesterday, since I<br/>seem to be encountering the same problem with newer software (I'm on<br/>openSUSE Leap 15.0)<br/><br/>https://rt.cpan.org/Public/Bug/Display.html?id=115662<br/><br/>I'd appreciate any suggestions. Let me know if you need any more<br/>information.<br/><br/>Thanks and regards,<br/>Dave Howorth<br/>https://www.nntp.perl.org/group/perl.tcltk/2019/11/msg813.htmlWed, 20 Nov 2019 18:14:22 +0000Schedule Up - 26th Annual Tcl/Tk Conference (Tcl'2019) (1 message)<br/>Hello tcltk-perl, fyi ...<br/><br/>26th Annual Tcl/Tk Conference (Tcl'2019)<br/>https://www.tcl-lang.org/community/tcl2019/<br/><br/>November 05 - 08, 2019<br/>Crowne Plaza Houston River Oaks<br/>2712 Southwest Freeway, 77098<br/>Houston, Texas, USA<br/><br/>[ NEWS<br/> * Our keynote speaker is [Will Duquette](https://github.com/wduquette)<br/> talking about "Tcl, Rust, and the Death of Rube Goldberg"<br/><br/> * Registration is open. Please have a look at<br/><br/> https://www.tcl-lang.org/community/tcl2019/register.html<br/><br/> * The tutorials are known. See<br/><br/> https://www.tcl-lang.org/community/tcl2019/tutorials.html<br/>]<br/><br/>And our schedule for this year is now available at<br/><br/> https://www.tcl-lang.org/community/tcl2019/schedule.html<br/><br/>This is the last general mail for the year.<br/><br/>Conference Committee<br/><br/> * Andreas Kupries<br/> * Arjen Markus Deltares<br/> * Brian Griffin Mentor - A Siemens Business<br/> * Gerald Lester KnG Consulting LLC<br/> * Joe Mistachkin Mistachkin Systems<br/> * Ronald Fox CAEN Technologies<br/> NSCL @ Michigan State University<br/><br/>Contact Information tclconference@googlegroups.com<br/><br/>Tcl'2019 would like to thank those who are sponsoring the conference:<br/><br/> * FlightAware<br/> * Mentor - A Siemens Business<br/> * Noumena Corp<br/>https://www.nntp.perl.org/group/perl.tcltk/2019/09/msg812.htmlMon, 23 Sep 2019 20:10:51 +00004th Call For Papers - Extended Deadline - 26th Annual Tcl/TkConference (Tcl'2019) (1 message)<br/>Today is the original deadline for paper submissions. We are __extending__<br/>this deadline_by one week, to __Sep 16, 2019, i.e. next Monday__.<br/><br/>Hello tcltk-perl, fyi ...<br/><br/>26th Annual Tcl/Tk Conference (Tcl'2019)<br/>https://www.tcl-lang.org/community/tcl2019/<br/><br/>November 05 - 08, 2019<br/>Crowne Plaza Houston River Oaks<br/>2712 Southwest Freeway, 77098<br/>Houston, Texas, USA<br/><br/>[ NEWS<br/> * Our keynote speaker is [Will Duquette](https://github.com/wduquette)<br/> talking about "Tcl, Rust, and the Death of Rube Goldberg"<br/><br/> * [Submission is open](https://www.tcl-lang.org/community/tcl2019/cfp.html)<br/><br/> We are at the original deadline for submissions. It has been extended<br/> by one week.<br/><br/> * Registration is open. Please have a look at<br/><br/> https://www.tcl-lang.org/community/tcl2019/register.html<br/><br/> * The tutorials are known. See<br/><br/> https://www.tcl-lang.org/community/tcl2019/tutorials.html<br/>]<br/><br/>Important Dates:<br/><br/>Abstracts and proposals due September 09, 2019 ** Extended by a week **<br/>Notification to authors September 16, 2019<br/>WIP and BOF reservations open August 12, 2019<br/>Registration opens September 09, 2019 ** open already **<br/>Author materials due October 14, 2019<br/>Tutorials Start November 04, 2019<br/>Conference starts November 06, 2019<br/><br/>Email Contact: tclconference@googlegroups.com<br/><br/>Submission of Summaries<br/><br/>Tcl/Tk 2019 will be held in Houston, Texas, USA from November 05, 2019 to November 08, 2019.<br/><br/>The program committee is asking for papers and presentation proposals<br/>from anyone using or developing with Tcl/Tk (and extensions). Past<br/>conferences (Proceedings: https://www.tcl-lang.org/community/conferences.html)<br/>have seen submissions covering a wide variety of topics including:<br/><br/>* Scientific and engineering applications<br/>* Industrial controls<br/>* Distributed applications and Network Managment<br/>* Object oriented extensions to Tcl/Tk<br/>* New widgets for Tk<br/>* Simulation and application steering with Tcl/Tk<br/>* Tcl/Tk-centric operating environments<br/>* Tcl/Tk on small and embedded devices<br/>* Medical applications and visualization<br/>* Use of different programming paradigms in Tcl/Tk and proposals for new<br/> directions.<br/>* New areas of exploration for the Tcl/Tk language<br/><br/>Submissions should consist of an abstract of about 100 words and a<br/>summary of not more than two pages, and should be sent as plain text<br/>to tclconference@googlegroups.com no later than September 09, 2019. Authors of accepted<br/>abstracts will have until October 14, 2019 to submit their final<br/>paper for the inclusion in the conference proceedings. The proceedings<br/>will be made available on digital media, so extra materials such as<br/>presentation slides, code examples, code for extensions etc. are<br/>encouraged.<br/><br/>Printed proceedings will be produced as an on-demand book at lulu.com<br/>Online proceedings will appear via<br/> https://www.tcl-lang.org/community/conferences.html<br/><br/>The authors will have 30 minutes to present their paper at<br/>the conference.<br/><br/>The program committee will review and evaluate papers according to the<br/>following criteria:<br/><br/>* Quantity and quality of novel content<br/>* Relevance and interest to the Tcl/Tk community<br/>* Suitability of content for presentation at the conference<br/><br/>Proposals may report on commercial or non-commercial systems, but<br/>those with only blatant marketing content will not be accepted.<br/><br/>Application and experience papers need to strike a balance between<br/>background on the application domain and the relevance of Tcl/Tk to<br/>the application. Application and experience papers should clearly<br/>explain how the application or experience illustrates a novel use of<br/>Tcl/Tk, and what lessons the Tcl/Tk community can derive from the<br/>application or experience to apply to their own development efforts.<br/><br/>Papers accompanied by non-disclosure agreements will be returned to<br/>the author(s) unread. All submissions are held in the highest<br/>confidentiality prior to publication in the Proceedings, both as a<br/>matter of policy and in accord with the U. S. Copyright Act of 1976.<br/><br/>The primary author for each accepted paper will receive registration<br/>to the Technical Sessions portion of the conference at a reduced rate.<br/><br/>Other Forms of Participation<br/><br/>The program committee also welcomes proposals for panel discussions of<br/>up to 90 minutes. Proposals should include a list of confirmed<br/>panelists, a title and format, and a panel description with position<br/>statements from each panelist. Panels should have no more than four<br/>speakers, including the panel moderator, and should allow time for<br/>substantial interaction with attendees. Panels are not presentations<br/>of related research papers.<br/><br/>Slots for Works-in-Progress (WIP) presentations and Birds-of-a-Feather<br/>sessions (BOFs) are available on a first-come, first-served basis<br/>starting in August 12, 2019. Specific instructions for reserving WIP<br/>and BOF time slots will be provided in the registration information<br/>available in August 12, 2019. Some WIP and BOF time slots will be held open<br/>for on-site reservation. All attendees with an interesting work in<br/>progress should consider reserving a WIP slot.<br/><br/>Registration Information<br/><br/>More information on the conference is available the conference Web<br/>site (https://www.tcl-lang.org/community/tcl2019/) and will be<br/>published on various Tcl/Tk-related information channels.<br/><br/>To keep in touch with news regarding the conference, subscribe to the<br/>tclconference@googlegroups.com list. See:<br/>https://groups.google.com/forum/#!forum/tclconference for list<br/>information, archive, and subscription.<br/><br/>To keep in touch with Tcl events in general, subscribe to the<br/>tcl-announce list. See: https://code.activestate.com/lists/tcl-announce<br/>for list information, archive, and subscription.<br/><br/>Conference Committee<br/><br/> * Andreas Kupries<br/> * Arjen Markus Deltares<br/> * Brian Griffin Mentor - A Siemens Business<br/> * Gerald Lester KnG Consulting LLC<br/> * Joe Mistachkin Mistachkin Systems<br/> * Ronald Fox CAEN Technologies<br/> NSCL @ Michigan State University<br/><br/>Contact Information tclconference@googlegroups.com<br/><br/>Tcl'2019 would like to thank those who are sponsoring the conference:<br/><br/> * FlightAware<br/> * Mentor - A Siemens Business<br/> * Noumena Corp<br/>https://www.nntp.perl.org/group/perl.tcltk/2019/09/msg811.htmlMon, 09 Sep 2019 17:52:52 +0000Using PAR/pp with Tcl::Tk (1 message)
<br/>
<br/>Hello everybody,
<br/>
<br/>I wanted to share with you, how I could use pp with Tcl::Tk. This topic was discussed here some years ago (see https://www.nntp.perl.org/group/perl.tcltk/2015/09/msg682.html), but the proposed solutions didn't work for me.
<br/>
<br/>The problem is, that one has to change the shell environment variabe $ENV{TCL_Library}. But this is not simple, because the child process (the perl program) cannot change the environment variables of the parent process.
<br/>
<br/>My solution was the following BEGIN block:
<br/>
<br/>BEGIN {
<br/> if ($ENV{PAR_TEMP} && $ENV{TCL_Library} ne "$ENV{PAR_TEMP}/inc/lib/tcl8.6") {
<br/> print "Starting a Tcl::Tk PAR-exe file\n";
<br/> print "We need to set shell environment variables first \n";
<br/> $ENV{TCL_Library} = "$ENV{PAR_TEMP}/inc/lib/tcl8.6";
<br/> # I don't know whether this is really necessary?
<br/> $ENV{TK_Library} = "$ENV{PAR_TEMP}/inc/lib/tcl8.6";
<br/> system($0);
<br/> exit();
<br/> }
<br/>}
<br/>
<br/>To pack the perl script I use this command:
<br/>
<br/>pp -l "C:/Tcl/bin/tcl86.dll" -l "c:/Tcl/bin/tk86.dll" -l "c:/Tcl/bin/zlib1.dll" -a "C:/Tcl;./" -o tktest.exe ./tktest.pl
<br/>
<br/>Important is to rename the directory C:/Tcl to "./". Especially you must have the point before the "/". I don't know why ;-) but it works ...
<br/>
<br/>Perhaps this is helpful for someone...
<br/>
<br/>Best wishes,
<br/>Max
<br/>https://www.nntp.perl.org/group/perl.tcltk/2019/08/msg810.htmlWed, 14 Aug 2019 02:23:21 +00003rd Call For Papers - 26th Annual Tcl/Tk Conference (Tcl'2019) (1 message)<br/>Hello tcltk-perl, fyi ...<br/><br/>26th Annual Tcl/Tk Conference (Tcl'2019)<br/>https://www.tcl-lang.org/community/tcl2019/<br/><br/>November 04 - 08, 2019<br/>Crowne Plaza Houston River Oaks<br/>2712 Southwest Freeway, 77098<br/>Houston, Texas, USA<br/><br/>[ NEWS<br/> * Our keynote speaker is [Will Duquette](https://github.com/wduquette)<br/> talking about "Tcl, Rust, and the Death of Rube Goldberg"<br/><br/> * [Submission is open](https://www.tcl-lang.org/community/tcl2019/cfp.html)<br/><br/> It is 4 weeks to the deadline.<br/><br/> * Registration is open. Please have a look at<br/><br/> https://www.tcl-lang.org/community/tcl2019/register.html<br/><br/> * The tutorials are known. See<br/><br/> https://www.tcl-lang.org/community/tcl2019/tutorials.html<br/>]<br/><br/>Important Dates:<br/><br/>Abstracts and proposals due September 09, 2019<br/>Notification to authors September 16, 2019<br/>WIP and BOF reservations open August 12, 2019 ** may change **<br/>Registration opens September 09, 2019 ** open already **<br/>Author materials due October 14, 2019<br/>Tutorials Start November 04, 2019<br/>Conference starts November 06, 2019<br/><br/>Email Contact: tclconference@googlegroups.com<br/><br/>Submission of Summaries<br/><br/>Tcl/Tk 2019 will be held in Houston, Texas, USA from November 04, 2019 to November 08, 2019.<br/><br/>The program committee is asking for papers and presentation proposals<br/>from anyone using or developing with Tcl/Tk (and extensions). Past<br/>conferences (Proceedings: https://www.tcl-lang.org/community/conferences.html)<br/>have seen submissions covering a wide variety of topics including:<br/><br/>* Scientific and engineering applications<br/>* Industrial controls<br/>* Distributed applications and Network Managment<br/>* Object oriented extensions to Tcl/Tk<br/>* New widgets for Tk<br/>* Simulation and application steering with Tcl/Tk<br/>* Tcl/Tk-centric operating environments<br/>* Tcl/Tk on small and embedded devices<br/>* Medical applications and visualization<br/>* Use of different programming paradigms in Tcl/Tk and proposals for new<br/> directions.<br/>* New areas of exploration for the Tcl/Tk language<br/><br/>Submissions should consist of an abstract of about 100 words and a<br/>summary of not more than two pages, and should be sent as plain text<br/>to tclconference@googlegroups.com no later than September 09, 2019. Authors of accepted<br/>abstracts will have until October 14, 2019 to submit their final<br/>paper for the inclusion in the conference proceedings. The proceedings<br/>will be made available on digital media, so extra materials such as<br/>presentation slides, code examples, code for extensions etc. are<br/>encouraged.<br/><br/>Printed proceedings will be produced as an on-demand book at lulu.com<br/>Online proceedings will appear via<br/> https://www.tcl-lang.org/community/conferences.html<br/><br/>The authors will have 30 minutes to present their paper at<br/>the conference.<br/><br/>The program committee will review and evaluate papers according to the<br/>following criteria:<br/><br/>* Quantity and quality of novel content<br/>* Relevance and interest to the Tcl/Tk community<br/>* Suitability of content for presentation at the conference<br/><br/>Proposals may report on commercial or non-commercial systems, but<br/>those with only blatant marketing content will not be accepted.<br/><br/>Application and experience papers need to strike a balance between<br/>background on the application domain and the relevance of Tcl/Tk to<br/>the application. Application and experience papers should clearly<br/>explain how the application or experience illustrates a novel use of<br/>Tcl/Tk, and what lessons the Tcl/Tk community can derive from the<br/>application or experience to apply to their own development efforts.<br/><br/>Papers accompanied by non-disclosure agreements will be returned to<br/>the author(s) unread. All submissions are held in the highest<br/>confidentiality prior to publication in the Proceedings, both as a<br/>matter of policy and in accord with the U. S. Copyright Act of 1976.<br/><br/>The primary author for each accepted paper will receive registration<br/>to the Technical Sessions portion of the conference at a reduced rate.<br/><br/>Other Forms of Participation<br/><br/>The program committee also welcomes proposals for panel discussions of<br/>up to 90 minutes. Proposals should include a list of confirmed<br/>panelists, a title and format, and a panel description with position<br/>statements from each panelist. Panels should have no more than four<br/>speakers, including the panel moderator, and should allow time for<br/>substantial interaction with attendees. Panels are not presentations<br/>of related research papers.<br/><br/>Slots for Works-in-Progress (WIP) presentations and Birds-of-a-Feather<br/>sessions (BOFs) are available on a first-come, first-served basis<br/>starting in August 12, 2019. Specific instructions for reserving WIP<br/>and BOF time slots will be provided in the registration information<br/>available in August 12, 2019. Some WIP and BOF time slots will be held open<br/>for on-site reservation. All attendees with an interesting work in<br/>progress should consider reserving a WIP slot.<br/><br/>Registration Information<br/><br/>More information on the conference is available the conference Web<br/>site (https://www.tcl-lang.org/community/tcl2019/) and will be<br/>published on various Tcl/Tk-related information channels.<br/><br/>To keep in touch with news regarding the conference, subscribe to the<br/>tclconference@googlegroups.com list. See:<br/>https://groups.google.com/forum/#!forum/tclconference for list<br/>information, archive, and subscription.<br/><br/>To keep in touch with Tcl events in general, subscribe to the<br/>tcl-announce list. See: https://code.activestate.com/lists/tcl-announce<br/>for list information, archive, and subscription.<br/><br/>Conference Committee<br/><br/> * Andreas Kupries<br/> * Arjen Markus Deltares<br/> * Brian Griffin Mentor - A Siemens Business<br/> * Gerald Lester KnG Consulting LLC<br/> * Joe Mistachkin Mistachkin Systems<br/> * Ronald Fox CAEN Technologies<br/> NSCL @ Michigan State University<br/><br/>Contact Information tclconference@googlegroups.com<br/><br/>Tcl'2019 would like to thank those who are sponsoring the conference:<br/><br/> * FlightAware<br/> * Mentor - A Siemens Business<br/> * Noumena Corp<br/>https://www.nntp.perl.org/group/perl.tcltk/2019/08/msg809.htmlTue, 13 Aug 2019 02:52:58 +0000High DPI on Windows with Tk (3 messages)Hi everyone,
<br/>
<br/>I wanted to share a way for using high-DPI appearance on Windows that I found, in case anyone was interested. I have posted it to
<br/>https://www.perlmonks.org/?node_id=11101747
<br/>
<br/>
<br/>Before calling MainWindow->new in Tk, use Win32::API to invoke SetProcessDPIAware():
<br/>
<br/>if ($^O eq 'MSWin32') {
<br/> use Win32::API;
<br/> # See https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-setprocessdpiaware
<br/> my $SetProcessDPIAware = Win32::API::More->new('User32', 'BOOL SetProcessDPIAware()');
<br/> $SetProcessDPIAware->Call() or warn 'Failed to set process DPI awareness';
<br/>}
<br/>
<br/>
<br/>This isn't the approach Microsoft recommends (they suggest using an application manifest instead), but this seems to be an easy enough approach for standalone scripts.
<br/>
<br/>
<br/>Recent Tcl/Tk will enable high-DPI by default for scripts run using tclsh/wish, but not the Tcl C API. I'm not sure this behavior should be the default in Tcl::pTk, for compatibility (i.e. since Perl/Tk does not enable high-DPI) and because certain elements like images will not be resized automatically.
<br/>
<br/>Maybe Tcl::Tk would be more in favor of having this behavior by default (for consistency with Tcl/Tk), but it might require XS or dependency on another module like Win32::API.
<br/>
<br/>
<br/>Christopher A. Chavez
<br/>https://www.nntp.perl.org/group/perl.tcltk/2019/06/msg805.htmlSun, 23 Jun 2019 02:10:49 +0000Tcl::pTk release 1.00 (2 messages)Hi all,
<br/>
<br/>I have released Tcl::pTk 1.00.
<br/>
<br/>
<br/>One of the main changes is that I have attempted a two-line fix for RT
<br/>#125049 and #129505 to make menu entries legible on macOS Aqua when the
<br/>dark menu bar or dark mode is enabled. This change also affects the
<br/>appearance of derived widgets so that they are consistent with
<br/>non-derived widgets, especially when used with dark mode and the
<br/>upcoming Tk 8.6.10 release.
<br/>
<br/>However, I am not certain that the approach I used doesn't introduce any
<br/>new issues, so any feedback on the approach I used is appreciated. So
<br/>far I do not observe any difference in appearance at all on Windows or
<br/>X11. The code originally responsible for the issue was borrowed from
<br/>Perl/Tk; and likewise I observe no differences under Perl/Tk if I apply
<br/>the same change.
<br/>
<br/>
<br/>Some other issues resolved:
<br/>
<br/> - Add missing Tile availability check to tileLabelFont.t (in case
<br/>anyone is still running Tk 8.4; RT #128813)
<br/> - photo.t: proceed with remaining test cases after errors (RT #128803)
<br/> - Print slightly more useful test reports by showing more of the tests
<br/>which are skipped completely along with reasons why.
<br/> - Fix POD errors (`=cut` outside POD block) reported by CPANTS
<br/>(contribution from Mohammad S Anwar)
<br/>
<br/>
<br/>Christopher A. Chavez
<br/>https://www.nntp.perl.org/group/perl.tcltk/2019/06/msg804.htmlWed, 19 Jun 2019 03:14:11 +00002nd Call For Papers - 26th Annual Tcl/Tk Conference (Tcl'2019) (1 message)<br/>Hello tcltk-perl, fyi ...<br/><br/>26th Annual Tcl/Tk Conference (Tcl'2019)<br/>https://www.tcl-lang.org/community/tcl2019/<br/><br/>November 04 - 08, 2019<br/>Crowne Plaza Houston River Oaks<br/>2712 Southwest Freeway, 77098<br/>Houston, Texas, USA<br/><br/>[ NEWS<br/> * Our keynote speaker is [Will Duquette](https://github.com/wduquette)<br/> talking about "Tcl, Rust, and the Death of Rube Goldberg"<br/><br/> * [Submission is open](https://www.tcl-lang.org/community/tcl2019/cfp.html)<br/>]<br/><br/>Important Dates:<br/><br/>Abstracts and proposals due September 09, 2019<br/>Notification to authors September 16, 2019<br/>WIP and BOF reservations open August 12, 2019 ** may change **<br/>Registration opens September 09, 2019 ** may change **<br/>Author materials due October 14, 2019<br/>Tutorials Start November 04, 2019<br/>Conference starts November 06, 2019<br/><br/>Email Contact: tclconference@googlegroups.com<br/><br/>Submission of Summaries<br/><br/>Tcl/Tk 2019 will be held in Houston, Texas, USA from November 04, 2019 to November 08, 2019.<br/><br/>The program committee is asking for papers and presentation proposals<br/>from anyone using or developing with Tcl/Tk (and extensions). Past<br/>conferences (Proceedings: https://www.tcl-lang.org/community/conferences.html)<br/>have seen submissions covering a wide variety of topics including:<br/><br/>* Scientific and engineering applications<br/>* Industrial controls<br/>* Distributed applications and Network Managment<br/>* Object oriented extensions to Tcl/Tk<br/>* New widgets for Tk<br/>* Simulation and application steering with Tcl/Tk<br/>* Tcl/Tk-centric operating environments<br/>* Tcl/Tk on small and embedded devices<br/>* Medical applications and visualization<br/>* Use of different programming paradigms in Tcl/Tk and proposals for new<br/> directions.<br/>* New areas of exploration for the Tcl/Tk language<br/><br/>Submissions should consist of an abstract of about 100 words and a<br/>summary of not more than two pages, and should be sent as plain text<br/>to tclconference@googlegroups.com no later than September 09, 2019. Authors of accepted<br/>abstracts will have until October 14, 2019 to submit their final<br/>paper for the inclusion in the conference proceedings. The proceedings<br/>will be made available on digital media, so extra materials such as<br/>presentation slides, code examples, code for extensions etc. are<br/>encouraged.<br/><br/>Printed proceedings will be produced as an on-demand book at lulu.com<br/>Online proceedings will appear via<br/> https://www.tcl-lang.org/community/conferences.html<br/><br/>The authors will have 30 minutes to present their paper at<br/>the conference.<br/><br/>The program committee will review and evaluate papers according to the<br/>following criteria:<br/><br/>* Quantity and quality of novel content<br/>* Relevance and interest to the Tcl/Tk community<br/>* Suitability of content for presentation at the conference<br/><br/>Proposals may report on commercial or non-commercial systems, but<br/>those with only blatant marketing content will not be accepted.<br/><br/>Application and experience papers need to strike a balance between<br/>background on the application domain and the relevance of Tcl/Tk to<br/>the application. Application and experience papers should clearly<br/>explain how the application or experience illustrates a novel use of<br/>Tcl/Tk, and what lessons the Tcl/Tk community can derive from the<br/>application or experience to apply to their own development efforts.<br/><br/>Papers accompanied by non-disclosure agreements will be returned to<br/>the author(s) unread. All submissions are held in the highest<br/>confidentiality prior to publication in the Proceedings, both as a<br/>matter of policy and in accord with the U. S. Copyright Act of 1976.<br/><br/>The primary author for each accepted paper will receive registration<br/>to the Technical Sessions portion of the conference at a reduced rate.<br/><br/>Other Forms of Participation<br/><br/>The program committee also welcomes proposals for panel discussions of<br/>up to 90 minutes. Proposals should include a list of confirmed<br/>panelists, a title and format, and a panel description with position<br/>statements from each panelist. Panels should have no more than four<br/>speakers, including the panel moderator, and should allow time for<br/>substantial interaction with attendees. Panels are not presentations<br/>of related research papers.<br/><br/>Slots for Works-in-Progress (WIP) presentations and Birds-of-a-Feather<br/>sessions (BOFs) are available on a first-come, first-served basis<br/>starting in August 12, 2019. Specific instructions for reserving WIP<br/>and BOF time slots will be provided in the registration information<br/>available in August 12, 2019. Some WIP and BOF time slots will be held open<br/>for on-site reservation. All attendees with an interesting work in<br/>progress should consider reserving a WIP slot.<br/><br/>Registration Information<br/><br/>More information on the conference is available the conference Web<br/>site (https://www.tcl-lang.org/community/tcl2019/) and will be<br/>published on various Tcl/Tk-related information channels.<br/><br/>To keep in touch with news regarding the conference, subscribe to the<br/>tclconference@googlegroups.com list. See:<br/>https://groups.google.com/forum/#!forum/tclconference for list<br/>information, archive, and subscription.<br/><br/>To keep in touch with Tcl events in general, subscribe to the<br/>tcl-announce list. See: https://code.activestate.com/lists/tcl-announce<br/>for list information, archive, and subscription.<br/><br/>Conference Committee<br/><br/> * Andreas Kupries<br/> * Arjen Markus Deltares<br/> * Brian Griffin Mentor - A Siemens Business<br/> * Gerald Lester KnG Consulting LLC<br/> * Joe Mistachkin Mistachkin Systems<br/> * Ronald Fox CAEN Technologies<br/> NSCL @ Michigan State University<br/><br/>Contact Information tclconference@googlegroups.com<br/><br/>Tcl'2019 would like to thank those who are sponsoring the conference:<br/><br/> * FlightAware<br/> * Mentor - A Siemens Business<br/> * Noumena Corp<br/>https://www.nntp.perl.org/group/perl.tcltk/2019/06/msg803.htmlMon, 17 Jun 2019 19:54:17 +0000Linking to Extensions (1 message)Hello,<br/><br/>my application is deployed as macOS .app This has some stringent criteria<br/>on data structure. I use Tcl/Tk as Frameworks.<br/><br/>To link Tcl.pm to my frameworks I set the following two variables:<br/><br/>$ENV{'PERL_TCL_DL_PATH'}<br/>$ENV{'TCLLIBPATH} -> directory containing the frameworks (needed to find Tk)<br/><br/>This works fine. If I install my extensions in the directory containing the<br/>frameworks, the extensions are also correctly loaded. However, this is not<br/>allowed by the .app folder structure. So I need to move the extensions to<br/>another location of the .app folder.<br/><br/>Does Tcl.pm has the possibility to set a second $ENV to look - in my case -<br/>for extensions? (It gowns without saying that I can not move my Frameworks<br/>from the directory they are...)<br/><br/>In TCL it seems it is possible to set a list (see:<br/>https://wiki.tcl-lang.org/page/TCLLIBPATH).<br/><br/>Welle<br/>https://www.nntp.perl.org/group/perl.tcltk/2019/06/msg801.htmlSat, 01 Jun 2019 08:24:09 +0000Likely Tcl.pm issue on PerlMonks (3 messages)Just want to share a recent question I found on PerlMonks, in case anyone else wants to take a look or can help: https://www.perlmonks.org/?node_id=1233609
<br/>
<br/>The user was initially trying to get Tkx working with DWIM Perl + ActiveTcl but the error looks like it might be coming from Tcl.pm — “failed dlopen(…)”.https://www.nntp.perl.org/group/perl.tcltk/2019/05/msg798.htmlSun, 12 May 2019 23:28:11 +00001st Call For Papers - 26th Annual Tcl/Tk Conference (Tcl'2019) (1 message)<br/>Hello tcltk-perl, fyi ...<br/><br/>26th Annual Tcl/Tk Conference (Tcl'2019)<br/>https://www.tcl-lang.org/community/tcl2019/<br/><br/>November 04 - 08, 2019<br/>Crowne Plaza Houston River Oaks<br/>2712 Southwest Freeway, 77098<br/>Houston, Texas, USA<br/><br/>[ NEWS<br/> * [Submission is open](https://www.tcl-lang.org/community/tcl2019/cfp.html)<br/>]<br/><br/>Important Dates:<br/><br/>Abstracts and proposals due September 09, 2019<br/>Notification to authors September 16, 2019<br/>WIP and BOF reservations open August 12, 2019 ** may change **<br/>Registration opens September 09, 2019 ** may change **<br/>Author materials due October 14, 2019<br/>Tutorials Start November 04, 2019<br/>Conference starts November 06, 2019<br/><br/>Email Contact: tclconference@googlegroups.com<br/><br/>Submission of Summaries<br/><br/>Tcl/Tk 2019 will be held in Houston, Texas, USA from November 04, 2019 to November 08, 2019.<br/><br/>The program committee is asking for papers and presentation proposals<br/>from anyone using or developing with Tcl/Tk (and extensions). Past<br/>conferences (Proceedings: https://www.tcl-lang.org/community/conferences.html)<br/>have seen submissions covering a wide variety of topics including:<br/><br/>* Scientific and engineering applications<br/>* Industrial controls<br/>* Distributed applications and Network Managment<br/>* Object oriented extensions to Tcl/Tk<br/>* New widgets for Tk<br/>* Simulation and application steering with Tcl/Tk<br/>* Tcl/Tk-centric operating environments<br/>* Tcl/Tk on small and embedded devices<br/>* Medical applications and visualization<br/>* Use of different programming paradigms in Tcl/Tk and proposals for new<br/> directions.<br/>* New areas of exploration for the Tcl/Tk language<br/><br/>Submissions should consist of an abstract of about 100 words and a<br/>summary of not more than two pages, and should be sent as plain text<br/>to tclconference@googlegroups.com no later than September 09, 2019. Authors of accepted<br/>abstracts will have until October 14, 2019 to submit their final<br/>paper for the inclusion in the conference proceedings. The proceedings<br/>will be made available on digital media, so extra materials such as<br/>presentation slides, code examples, code for extensions etc. are<br/>encouraged.<br/><br/>Printed proceedings will be produced as an on-demand book at lulu.com<br/>Online proceedings will appear via<br/> https://www.tcl-lang.org/community/conferences.html<br/><br/>The authors will have 30 minutes to present their paper at<br/>the conference.<br/><br/>The program committee will review and evaluate papers according to the<br/>following criteria:<br/><br/>* Quantity and quality of novel content<br/>* Relevance and interest to the Tcl/Tk community<br/>* Suitability of content for presentation at the conference<br/><br/>Proposals may report on commercial or non-commercial systems, but<br/>those with only blatant marketing content will not be accepted.<br/><br/>Application and experience papers need to strike a balance between<br/>background on the application domain and the relevance of Tcl/Tk to<br/>the application. Application and experience papers should clearly<br/>explain how the application or experience illustrates a novel use of<br/>Tcl/Tk, and what lessons the Tcl/Tk community can derive from the<br/>application or experience to apply to their own development efforts.<br/><br/>Papers accompanied by non-disclosure agreements will be returned to<br/>the author(s) unread. All submissions are held in the highest<br/>confidentiality prior to publication in the Proceedings, both as a<br/>matter of policy and in accord with the U. S. Copyright Act of 1976.<br/><br/>The primary author for each accepted paper will receive registration<br/>to the Technical Sessions portion of the conference at a reduced rate.<br/><br/>Other Forms of Participation<br/><br/>The program committee also welcomes proposals for panel discussions of<br/>up to 90 minutes. Proposals should include a list of confirmed<br/>panelists, a title and format, and a panel description with position<br/>statements from each panelist. Panels should have no more than four<br/>speakers, including the panel moderator, and should allow time for<br/>substantial interaction with attendees. Panels are not presentations<br/>of related research papers.<br/><br/>Slots for Works-in-Progress (WIP) presentations and Birds-of-a-Feather<br/>sessions (BOFs) are available on a first-come, first-served basis<br/>starting in August 12, 2019. Specific instructions for reserving WIP<br/>and BOF time slots will be provided in the registration information<br/>available in August 12, 2019. Some WIP and BOF time slots will be held open<br/>for on-site reservation. All attendees with an interesting work in<br/>progress should consider reserving a WIP slot.<br/><br/>Registration Information<br/><br/>More information on the conference is available the conference Web<br/>site (https://www.tcl-lang.org/community/tcl2019/) and will be<br/>published on various Tcl/Tk-related information channels.<br/><br/>To keep in touch with news regarding the conference, subscribe to the<br/>tclconference@googlegroups.com list. See:<br/>https://groups.google.com/forum/#!forum/tclconference for list<br/>information, archive, and subscription.<br/><br/>To keep in touch with Tcl events in general, subscribe to the<br/>tcl-announce list. See: https://code.activestate.com/lists/tcl-announce<br/>for list information, archive, and subscription.<br/><br/>Conference Committee<br/><br/> * Andreas Kupries<br/> * Arjen Markus Deltares<br/> * Brian Griffin Mentor - A Siemens Business<br/> * Gerald Lester KnG Consulting LLC<br/> * Joe Mistachkin Mistachkin Systems<br/> * Ronald Fox CAEN Technologies<br/> NSCL @ Michigan State University<br/><br/>Contact Information tclconference@googlegroups.com<br/><br/>Tcl'2019 would like to thank those who are sponsoring the conference:<br/><br/> * FlightAware<br/> * Mentor - A Siemens Business<br/> * Noumena Corp<br/>https://www.nntp.perl.org/group/perl.tcltk/2019/04/msg797.htmlTue, 23 Apr 2019 03:09:12 +0000merge of Tcl::Tk and Tcl::pTk (RE: Drop support for Tcl/Tk 8.4?) (1 message)> They currently do support 8.4 and I am planning to continue support; > Even
<br/>> 8.0 I supported > > Any signs that they don't?
<br/>>
<br/>> Not to my knowledge.
<br/>>
<br/>> One
<br/>> reason I ask though is in consideration of the possibility of merging Tcl::pTk
<br/>> and Tcl::Tk, which I have not made progress on. Even if I leave in
<br/>> compatibility with 8.4, I might only be willing to "actively support" and test
<br/>> on 8.5 or later.
<br/>
<br/>Good point
<br/>
<br/>However even if Tcl::Tk will drop 8.4, Tcl.pm still should support it;
<br/>
<br/>OTOH for now we should elaborate a plan of "merging" of Tcl::Tk and Tcl::pTk.
<br/>
<br/>In my opinion, nowadays the picture is this:
<br/>- I see lots of "good" activity on github Tcl::pTk project; I pretty much like it
<br/>- however IMO there is some, say, 5% of incompatibilities, which will never go away,
<br/> So if you take random perl/Tk program - will it just run, after you'll replace "use Tk" with "use Tcl::pTk"? mostly - no (correct me if I am wrong)
<br/>- but perlTk itself is "Tk-804.034" <-- it even mentions 8.4, which you intended to drop, so I see no very deep reason on having 100% compatibility. Syntax is good, but no more than that, 95 is enough (of course other people could have different opinion, I respect that other opinion)
<br/>
<br/>
<br/>Yet, there is another point:
<br/>
<br/>Now Tcl::Tk is a single-file perl module, which fully allows perl-tk syntax; it is very tempting to have it single and thin and very lightweight.
<br/>For me, perl/Tk syntax is preferable (together with pure-tcl) over some perl/Tk module that I could potentially use.
<br/>
<br/>To make both projects happy, I would think about following proposal:
<br/>
<br/>- I will move that single file of current Tcl::Tk Tcl/Tk.pm into Tcl.pm, renamed somehow.
<br/>- ... which will be optionally called from Tcl, such as "use Tcl ':perltk';
<br/>- (while doing that I will remove lots of unneeded methods from there and will modernize it (no, this does not mean ''use warnings'' at all))
<br/>- then you could use Tcl::Tk namespace freely; merge and/or refer /or alias to each other;
<br/>
<br/>IDK whether this wins something, all these thoughts are fresh;
<br/>
<br/>So perl/Tk syntax will be (optionally) provided by "tcl.pm"; no care of perl/tk compat at all.
<br/>This will mean Tcl::Tk in its current stage could leave and free space for better compatibility.
<br/>
<br/>PS.
<br/>I must admit I haven't touched codebase of tcl.pm for several months already, but surely I am planning to return to this, soon :)
<br/>
<br/>https://www.nntp.perl.org/group/perl.tcltk/2019/03/msg796.htmlWed, 27 Mar 2019 19:37:19 +0000Drop support for Tcl/Tk 8.4? (4 messages)Hi all,
<br/>
<br/>I am proposing to drop support for Tcl/Tk 8.4 from Tcl::pTk. This is mainly because:
<br/>
<br/> 1. the developers of Tcl/Tk have no longer supported 8.4 for some time, and have encouraged anyone using it to upgrade;
<br/> 2. many binary Tcl/Tk distributions and OS package managers no longer provide 8.4; and
<br/> 3. I personally have not tested Tcl::pTk on Tcl/Tk 8.4 for these reasons.
<br/>
<br/>I have not thought of any immediate or significant benefits to the Tcl::pTk codebase other than being able to remove checks for whether Tcl/Tk 8.5+ is present before using features such as Tile/Ttk.
<br/>
<br/>I will go ahead and bump the Tcl::pTk version to 1.00 if I drop Tcl/Tk 8.4.
<br/>
<br/>I do not suspect that any of the active Tcl::pTk users I have heard from over the past several months are using Tcl/Tk 8.4, but please respond in case of objections to (or approval of :^) ) this proposal.
<br/>
<br/>I currently do not have any plans to drop support for Tcl/Tk 8.5, since some platforms still ship with 8.5 (e.g. macOS).
<br/>
<br/>
<br/>Christopher A. Chavezhttps://www.nntp.perl.org/group/perl.tcltk/2019/03/msg792.htmlWed, 27 Mar 2019 08:30:13 +0000Buttons with icons but without boxes on macOS and Tcl::pTk (2 messages)Hello,<br/><br/>using Tcl::pTk I want to move from the ttkButton to a plain clickable (png)<br/>icon on gray background. I do not want the icon in a box, which is the<br/>standard rendering of buttons, as far as I understand. This looks very odd<br/>nowadays. At best, the icon should be accompanied by a test, as this<br/>screenshot shows: https://ibb.co/dfYwKvM<br/><br/>On a mailing list I get the following Tcl/Tk answers:<br/><br/>1) If you add -style Toolbutton to the ttk::button, the button will look<br/>flat and modern. Adding "-compound top" will allow to specify both image<br/>and text.<br/><br/>2) set i1 [image create photo -file icon.png]<br/> button .b -image $i1 -text Open -compound top -relief flat<br/> pack .b<br/> Note that colors for the button widget and/or colors/transparency in<br/> the png image will need to be adjusted so the icon and the button area<br/> fit together seamlessly.<br/><br/>No matter how many combinations I tried, I could not achieve my result (I<br/>always had boxes around the icons, so that I think that Tcl::pTk does not<br/>support much tweaking of the buttons. Has I guess this is the simplest way<br/>to display icons on modern interfaces, maybe somebody here has already<br/>achieved this result.<br/><br/>Welle<br/>https://www.nntp.perl.org/group/perl.tcltk/2019/02/msg790.htmlWed, 27 Feb 2019 08:59:18 +0000Tcl::pTk release 0.95; Help wanted for known issues (1 message)Hi everyone,
<br/>
<br/>I have uploaded Tcl::pTk 0.95. In addition to the notable changes below, it is mainly an accumulation of minor or non-functional changes.
<br/>
<br/>Many test failures have been addressed, either by fixing bugs (usually in the tests themselves) or skipping/marking as TODO any tests with expected failures; see RT #119754, #125662, and #125908. An important note to CPAN Testers: UNKNOWN reports will no longer be generated if Tcl/Tk is not present when running Makefile.PL.
<br/>
<br/>Other reported issues addressed in 0.95:
<br/>- Right-click causes selected text to be pasted on older Tk Aqua (RT #127120)
<br/>- `Can't locate object method "findINC" via package "Tk"` error (RT #127529)
<br/>- `Tcl procedure 'winfo' not found` error shown if "package require Tk" fails, e.g. Tk not installed (RT #127552)
<br/>
<br/>There are still a quite few known issues; some are due to upstream issues in Tcl/Tk. In particular, I am stumped by two major usability issues on macOS Aqua: RT #125049 (unreadable menu items) and #125987 ("dictation"/speech-to-text not working as expected). I would greatly appreciate any advice or assistance in debugging these. See the bug tracker for more info: https://rt.cpan.org/Public/Dist/Display.html?Name=Tcl-pTk
<br/>
<br/>
<br/>Christopher A. Chavezhttps://www.nntp.perl.org/group/perl.tcltk/2019/02/msg789.htmlMon, 25 Feb 2019 05:24:05 +0000Re: [macOS] Tcl::pTk Drag&Drop (2 messages)(Trying to send this to the list again for reference and to see if I can send emails now. It didn’t go through the first time because GMX had been blocked by perl.org <http://perl.org/>)
<br/>
<br/>> On Sep 21, 2018, at 6:01 AM, welle Ozean via tcltk <tcltk@perl.org <mailto:tcltk@perl.org>> wrote:
<br/>>
<br/>> Using Tcl::pTk I am trying to implement Drag&Drop on macOS without success. According to its documentation, Tcl::pTk should support it. This is what I am trying now (slightly adapted from my version for Windows and Perl/Tk):
<br/>>
<br/>> $MyWidget->DropSite(-dropcommand => [\&accept_drop, $tap], -droptypes => (['Local', 'tkdnd']));
<br/>>
<br/>> sub accept_drop {
<br/>> my ($tab) = @_;
<br/>> my $filePath;
<br/>> eval {
<br/>> if ($^O eq 'MSWin32') {
<br/>> $filePath = $tab->SelectionGet(-selection => $selection,
<br/>> 'STRING');
<br/>> }
<br/>> else {
<br/>> $filePath = $tab->SelectionGet(-selection => $selection,
<br/>> 'FILE_NAME');
<br/>> }
<br/>> }
<br/>> #DO THINGS with $filePath
<br/>> }
<br/>>
<br/>> I have downloaded a binary of tkdnd (libtkdnd2.8.dylib). How do I let Tcl::pTk know of this library? Or there is any way to implement it without adding new libraries (I am using the Tcl shipped with macOS).
<br/>>
<br/>> Thanks
<br/>> Welle
<br/>
<br/>Hi Welle,
<br/>
<br/>As Vadim stated, neither Tcl::pTk nor Tcl.pm do much to be aware of Tcl/Tk modules; Tcl::pTk currently only looks for a few that are required (Tklib, Tix, TkTable) or have Perl-wrapper syntax for (BLTNotebook). Ideally, tkdnd should be installed where `package require` is all that’s needed to use it; I don’t know my way around the other `package ifneeded` or other commands that might be needed if Tcl/Tk needs to manually be told where it is. There is at least one undocumented subroutine in Tcl::pTk that might be useful, `$MW->interp->pkg_require()`, however I do not know what its advantages or limitations are over just using `$MW->interp->Eval("package require tkdnd”)`. Though this step might be done automatically by Tcl::pTk depending on the syntax used.
<br/>
<br/>Someone recently added tkdnd to MacPorts, so I might give it a try soon. I wonder if tkdnd support might be something to include in Tcl::pTk, similar to what’s done for TkTable and other Tk extensions.
<br/>
<br/>Also, be aware that there have been some recent changes since tkdnd 2.8 was released which address issues on macOS; https://github.com/petasis/tkdnd/commits/master <https://github.com/petasis/tkdnd/commits/master>
<br/>
<br/>Christopher A. Chavezhttps://www.nntp.perl.org/group/perl.tcltk/2019/02/msg788.htmlSat, 02 Feb 2019 07:07:37 +0000merging Tcl::Tk and Tcl::pTk (3 messages)Hi there,
<br/>
<br/>Al long as full compatibility between Tcl::pTk and perl/Tk haven't happened, I propose to spend some efforts on joining Tcl::Tk and Tck::pTk so to have some reasonable compatibility and single module so to not spread efforts among these?
<br/>
<br/>Regards,
<br/>Vadim
<br/>https://www.nntp.perl.org/group/perl.tcltk/2018/11/msg785.htmlSat, 10 Nov 2018 12:07:19 +0000[macOS] Tcl::pTk Drag&Drop (2 messages)Using Tcl::pTk I am trying to implement Drag&Drop on macOS without success.<br/>According to its documentation, Tcl::pTk should support it. This is what I<br/>am trying now (slightly adapted from my version for Windows and Perl/Tk):<br/><br/>$MyWidget->DropSite(-dropcommand => [\&accept_drop, $tap], -droptypes =><br/>(['Local', 'tkdnd']));<br/><br/>sub accept_drop {<br/> my ($tab) = @_;<br/> my $filePath;<br/> eval {<br/>if ($^O eq 'MSWin32') {<br/>$filePath = $tab->SelectionGet(-selection => $selection,<br/> 'STRING');<br/>}<br/>else {<br/>$filePath = $tab->SelectionGet(-selection => $selection,<br/> 'FILE_NAME');<br/>}<br/> }<br/>#DO THINGS with $filePath<br/>}<br/><br/>I have downloaded a binary of tkdnd (libtkdnd2.8.dylib). How do I let<br/>Tcl::pTk know of this library? Or there is any way to implement it without<br/>adding new libraries (I am using the Tcl shipped with macOS).<br/><br/>Thanks<br/>Welle<br/>https://www.nntp.perl.org/group/perl.tcltk/2018/09/msg783.htmlFri, 21 Sep 2018 11:01:55 +0000Escaping $tclsh in Makefile.PL (4 messages)In the Makefile.PL's for Tcl.pm, Tcl::Tk, and Tcl::pTk, the path to <br/>tclsh should probably be escaped somehow. That way, any characters like <br/>spaces get passed properly to the shell. I don't know what the best <br/>portable way to do this would be, nor whether surrounding it with double <br/>quotes (i.e. `"$tclsh" ...`) is sufficient.<br/><br/><br/>---<br/>This email has been checked for viruses by Avast antivirus software.<br/>https://www.avast.com/antivirus<br/>https://www.nntp.perl.org/group/perl.tcltk/2018/08/msg779.htmlWed, 22 Aug 2018 09:21:50 +0000Error running Makefile.PL on Windows (5 messages)I have a machine with Windows 10 64-bit 1803, ActivePerl* 5.24.3, and <br/>ActiveTcl 8.6.7.<br/><br/>*(Uses dmake and doesn't have gnu make. I'm not constrained to <br/>ActivePerl; I just didn't know about Strawberry until recently.)<br/><br/>I tried installing Tcl.pm 1.25 from cpanm as well as running the latest <br/>tcl.pm/Makefile.PL on git, but get errors:<br/><br/> > error starting tclsh: $?=-1; $!=Inappropriate I/O control operation<br/> > error writing "stdout": broken pipe<br/> > while executing<br/> > "puts "tclsh=[info nameofexecutable]""<br/> > (file "tclcfg.tcl" line 1)<br/><br/>I.e. from the first error it appears to be dying at line 115:<br/><br/> _die "error starting $tclsh: \$?=$?; \$!=$!\n" if $?!=0;<br/><br/>and the second error is just stderr from tclsh (complaining it couldn't <br/>write to stdout because Perl died)…<br/><br/><br/>But running `tclsh tclcfg.tcl` both manually and from Perl seems to give <br/>the correct output. In fact if I comment out line 115 (`_die … if <br/>$?!=0`), then the tclsh output gets put in $tclcfg, and Makefile.PL <br/>seems to finish as expected.<br/><br/><br/>I'm not sure what's wrong here. The only thing that seems strange to me <br/>is that $?=-1 for opening a command pipe on Windows (I can get $?=-1 for <br/>something like `open(my $fh, "echo hello |")`) but not on other OSes <br/>(e.g. macOS, where $?=0 when open() works). I have not found if/where <br/>this is explained in `perldoc open` or `perldoc perlipc`.<br/><br/>---<br/>This email has been checked for viruses by Avast antivirus software.<br/>https://www.avast.com/antivirus<br/>https://www.nntp.perl.org/group/perl.tcltk/2018/08/msg774.htmlMon, 20 Aug 2018 16:06:05 +0000partial photo/image tests without Img extension? (2 messages)I notice that both Tcl::Tk and Tcl::pTk have some tests that currently require the Img extension to handle image formats not included in Tcl/Tk. Would it be desirable to still test the formats that are available (gif; png on Tk 8.6), or is the test more about exercising the capabilities in Img? Is it even possible to plan a certain number of tests and then skip a subset of them?
<br/>
<br/>This is low/“wishlist” priority; I ask only because at the moment MacPorts doesn’t have the Img extension.
<br/>https://www.nntp.perl.org/group/perl.tcltk/2018/08/msg772.htmlSun, 19 Aug 2018 07:22:08 +0000configuring Tcl.pm to use given tk.framework and tcl.framework (2 messages)Hello,<br/><br/>my macOS application (written with Tcl::pTk) uses at the moment the macOS<br/>default Tcl/Tk frameworks, i.e. the highest version it finds on the<br/>machine. I would like to link Tcl::pTk to use a specific Tcl/Tk framework<br/>so that I can include it in the macOS .app bundle and distribute the<br/>framework with the application.<br/><br/>I admit I am not a Tcl expert, only recently switched to Tcl::pTk to be<br/>able to use Tk on a macOS. Can somebody guide me (or point me to some info)<br/>on how I can make Tcl.pm link to my:<br/><br/>tk.framework<br/>tcl.framework<br/><br/>Both frameworks will be inserted in the .app bundle and have a static<br/>position in relation to the executable.<br/><br/>PS: It is possible to use with Tcl.pm the Kit executables generated by<br/>http://kitcreator.rkeene.org/kitcreator<br/><br/>Than you for any advice<br/>Welle<br/>https://www.nntp.perl.org/group/perl.tcltk/2018/08/msg770.htmlFri, 17 Aug 2018 18:13:38 +0000Tcl::pTk overwrite About [macOS] (3 messages)Hello,<br/><br/>I have a Tk application for macOS written with Tcl::pTk and packed as a<br/>normal macOS bundle. In the macOS menu, under the name of the application<br/>bundle there is a menu item called "About + Name of application". This is<br/>created auotmatically and contains the Tcl version. In this About menu, I<br/>would like to replace/integrate the default values with information about<br/>my App. Is this possible? If yes, how? I couldn't find any information<br/>online.<br/><br/>Best,<br/>Welle<br/>https://www.nntp.perl.org/group/perl.tcltk/2018/08/msg767.htmlMon, 13 Aug 2018 18:22:57 +0000Custom Widgets (2 messages)Hi,
<br/>
<br/>I am currently trying to port some of my old Perl/Tk programs to Tcl/Tk.
<br/>
<br/>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.
<br/>
<br/>Can you recommend anything? Any examples?
<br/>
<br/>Thank you for your time.
<br/>
<br/>
<br/>Sandy
<br/>"If at first you don’t succeed, that’s one data point" -http://www.xkcd.com/1154/ <http://www.xkcd.com/1154/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>https://www.nntp.perl.org/group/perl.tcltk/2018/08/msg765.htmlSat, 11 Aug 2018 22:44:27 +0000Re: [rt.cpan.org #125577] Memory loss : the perl memory for a sub{...} never gets freed. (1 message)At 01:23 AM 8/7/2018, you wrote:<br/>><URL: https://rt.cpan.org/Ticket/Display.html?id=125577 ><br/>><br/>>If your goal is to make a pull request to the Tcl.pm git repository <br/>>(the one on<br/>>GitHub), that's something that has to be done at least partly from a web<br/>>browser; it can't be done completely from the command line. You have to fork<br/>>the repository on GitHub, and have the clone on your computer know <br/>>of your fork<br/>>as a remote; then you can push your commit to your fork, and open a pull<br/>>request from a browser.<br/>><br/>>This seems to be a good overview of the process (see steps "Creating a fork",<br/>>"Doing your work", and "Submitting a pull request"):<br/>>https://gist.github.com/Chaser324/ce0505fbed06b947d962<br/>><br/>>Or the official help: https://help.github.com/articles/fork-a-repo/ and<br/>>https://help.github.com/articles/creating-a-pull-request-from-a-fork/<br/>><br/>>Or, if you'd like, someone can apply the patch and/or open a PR on your behalf<br/>>(you still get credit for authoring the work in the commit).<br/>><br/>>Hope this helps<br/><br/>i did realize my terminology was a bit off, but i never intended to <br/>make a github account. I had always planned to do it on only my local <br/>machines and submit a patch file, but i did not realize the patch <br/>file method was not considered a "pull" at first.<br/><br/>This is the process i used for my last patch file.<br/><br/># clone orig and lock down at a point<br/># so i could restart the working copy at the same point<br/>cd ~/cvs/gits/github<br/>rm -rf ~/cvs/gits/github/tcl.pm<br/>git clone https://github.com/gisle/tcl.pm.git<br/>cd ~/cvs/gits/github/tcl.pm<br/>git checkout origin<br/><br/># make working copy<br/>cd ~/cvs/gits/tcl-tk<br/>rm -rf ~/cvs/gits/tcl-tk/tcl.pm<br/>git clone "file:///home/huck/cvs/gits/github/tcl.pm"<br/>cd ~/cvs/gits/tcl-tk/tcl.pm<br/>git checkout -b doc1.16 e926aa6ea07298dbc1f1dda94c5943ecc5eda4ab<br/><br/>### make changes<br/>vi Tcl.pm<br/><br/># test changes<br/>perl Makefile.PL<br/>make<br/>make test<br/><br/># lock down changes<br/>git commit -m 'typo fix and rname/current_r to descrname' Tcl.pm<br/><br/># apply to main branch<br/>git checkout master<br/>git merge -m 'doc/typo fix and rname/current_r to descrname' doc1.16<br/>perl Makefile.PL<br/>make<br/>make test<br/><br/># make patch<br/>git format-patch --stdout -1 > ~/cvs/pmlib-linkpatch/doc1.16.patch<br/>cvs commit -m '' doc1.16.patch<br/><br/># test patch against newest master<br/>cd ~/cvs/gits/github<br/>rm -rf ~/cvs/gits/github/strp-tcl<br/>git clone https://github.com/gisle/tcl.pm.git strp-tcl<br/>cd ~/cvs/gits/github/strp-tcl<br/>git checkout master<br/>git am ~/cvs/pmlib-linkpatch/doc1.16.patch<br/>perl Makefile.PL<br/>make<br/>make test<br/><br/>I ran the "test patch" procedure on ubuntu 12.04, 14.04, 16.04 and <br/>18.04 boxes just to make sure.<br/><br/>for my first patches i tested via a more complicated testing <br/>procedure shown at<br/>https://rt.cpan.org/Public/Bug/Display.html?id=125472#txn-1791081<br/>but while it showed the added branches in gitk, the result to the <br/>master line was the same as just running the 'git am' commands <br/>against the master.<br/><br/>Thank you for the pointers but by the time i had submitted the <br/>patches i had already digested all that material and more and <br/>realized that submitting the patch files was not considered a pull, <br/>but like i opened with i never had any thought of opening a online <br/>git account anywhere, nor did i ever plan on making my repository net <br/>accessible. At the beginning i was just confused that submitting <br/>patch files was not considered a "pull"<br/>https://www.nntp.perl.org/group/perl.tcltk/2018/08/msg764.htmlTue, 07 Aug 2018 07:43:00 +0000Tcl::pTk: replace ROText with approach from Tcl::Tk? (1 message)The ROText approach in Tcl::pTk has some issues that prevent it from being read-only: https://rt.cpan.org/Ticket/Display.html?id=125420
<br/>
<br/>- text is removed by keyboard shortcut for cut
<br/>- enter/return/tabs aren’t ignored
<br/>
<br/>The ROText in Tcl::Tk seems to not have any of these issues. I would be interested in copying it over to Tcl::pTk, but would like to check if there’s any known issues that might affect its compatibility with Perl/Tk. I think the snit requirement is fine especially if the fallback approach can be incorporated.
<br/>
<br/>
<br/>(Sometimes I think it would be great if there was a better way to reuse things in Tcl::pTk from Tcl::Tk and Perl/Tk besides copying them, i.e. a way that keeps track of any changes upstream. It would probably require significant restructuring of all 3 modules, though.)https://www.nntp.perl.org/group/perl.tcltk/2018/08/msg763.htmlThu, 02 Aug 2018 21:49:12 +00004th Call For Papers - 25th Annual Tcl/Tk Conference (Tcl'2018) (1 message)<br/>Hello tcltk-perl, fyi ...<br/><br/>25th Annual Tcl/Tk Conference (Tcl'2018)<br/>http://www.tcl.tk/community/tcl2018/<br/><br/>October 15 - 19, 2018<br/>Crowne Plaza Houston River Oaks<br/>2712 Southwest Freeway, 77098<br/>Houston, Texas, USA<br/><br/>Important Dates:<br/><br/>[[ Attention!<br/><br/> Counting down we are now bit a shy of 4 weeks to the submission<br/> deadline.<br/><br/> * [Registration is open](https://www.tcl.tk/community/tcl2018/register.html)<br/><br/> * [Submission is open](https://www.tcl.tk/community/tcl2018/cfp.html)<br/><br/> * Our Keynote speaker is<br/> [Andrea Casotto](https://www.tcl.tk/community/tcl2018/bios.html#acasotto)<br/><br/> * [The tutorials are known](http://www.tcl.tk/community/tcl2018/tutorials.html)<br/> Just follow the link.<br/>]]<br/><br/>Important Dates:<br/><br/>Abstracts and proposals due August 20, 2018<br/>Notification to authors August 27, 2018<br/>WIP and BOF reservations open July 23, 2018 ** may change **<br/>Registration opens IS OPEN<br/>Author materials due September 24, 2018<br/>Tutorials Start October 15, 2018<br/>Conference starts October 17, 2018<br/><br/>Email Contact: tclconference@googlegroups.com<br/><br/>Submission of Summaries<br/><br/>Tcl/Tk 2018 will be held in Houston, Texas, USA from October 15, 2018 to October 19, 2018.<br/><br/>The program committee is asking for papers and presentation proposals<br/>from anyone using or developing with Tcl/Tk (and extensions). Past<br/>conferences (Proceedings: http://www.tcl.tk/community/conferences.html)<br/>have seen submissions covering a wide variety of topics including:<br/><br/>* Scientific and engineering applications<br/>* Industrial controls<br/>* Distributed applications and Network Managment<br/>* Object oriented extensions to Tcl/Tk<br/>* New widgets for Tk<br/>* Simulation and application steering with Tcl/Tk<br/>* Tcl/Tk-centric operating environments<br/>* Tcl/Tk on small and embedded devices<br/>* Medical applications and visualization<br/>* Use of different programming paradigms in Tcl/Tk and proposals for new<br/> directions.<br/>* New areas of exploration for the Tcl/Tk language<br/><br/>Submissions should consist of an abstract of about 100 words and a<br/>summary of not more than two pages, and should be sent as plain text<br/>to tclconference@googlegroups.com no later than August 20, 2018. Authors of accepted<br/>abstracts will have until September 24, 2018 to submit their final<br/>paper for the inclusion in the conference proceedings. The proceedings<br/>will be made available on digital media, so extra materials such as<br/>presentation slides, code examples, code for extensions etc. are<br/>encouraged.<br/><br/>Printed proceedings will be produced as an on-demand book at lulu.com<br/>Online proceedings will appear via<br/> http://www.tcl.tk/community/conferences.html<br/><br/>The authors will have 30 minutes to present their paper at<br/>the conference.<br/><br/>The program committee will review and evaluate papers according to the<br/>following criteria:<br/><br/>* Quantity and quality of novel content<br/>* Relevance and interest to the Tcl/Tk community<br/>* Suitability of content for presentation at the conference<br/><br/>Proposals may report on commercial or non-commercial systems, but<br/>those with only blatant marketing content will not be accepted.<br/><br/>Application and experience papers need to strike a balance between<br/>background on the application domain and the relevance of Tcl/Tk to<br/>the application. Application and experience papers should clearly<br/>explain how the application or experience illustrates a novel use of<br/>Tcl/Tk, and what lessons the Tcl/Tk community can derive from the<br/>application or experience to apply to their own development efforts.<br/><br/>Papers accompanied by non-disclosure agreements will be returned to<br/>the author(s) unread. All submissions are held in the highest<br/>confidentiality prior to publication in the Proceedings, both as a<br/>matter of policy and in accord with the U. S. Copyright Act of 1976.<br/><br/>The primary author for each accepted paper will receive registration<br/>to the Technical Sessions portion of the conference at a reduced rate.<br/><br/>Other Forms of Participation<br/><br/>The program committee also welcomes proposals for panel discussions of<br/>up to 90 minutes. Proposals should include a list of confirmed<br/>panelists, a title and format, and a panel description with position<br/>statements from each panelist. Panels should have no more than four<br/>speakers, including the panel moderator, and should allow time for<br/>substantial interaction with attendees. Panels are not presentations<br/>of related research papers.<br/><br/>Slots for Works-in-Progress (WIP) presentations and Birds-of-a-Feather<br/>sessions (BOFs) are available on a first-come, first-served basis<br/>starting in July 23, 2018. Specific instructions for reserving WIP<br/>and BOF time slots will be provided in the registration information<br/>available in July 23, 2018. Some WIP and BOF time slots will be held open<br/>for on-site reservation. All attendees with an interesting work in<br/>progress should consider reserving a WIP slot.<br/><br/>Registration Information<br/><br/>More information on the conference is available the conference Web<br/>site (http://www.tcl.tk/community/tcl2018/) and will be published on<br/>various Tcl/Tk-related information channels.<br/><br/>To keep in touch with news regarding the conference, subscribe to the<br/>tclconference@googlegroups.com list. See:<br/>https://groups.google.com/forum/#!forum/tclconference for list<br/>information, archive, and subscription.<br/><br/>To keep in touch with Tcl events in general, subscribe to the<br/>tcl-announce list. See: http://code.activestate.com/lists/tcl-announce<br/>for list information, archive, and subscription.<br/><br/>Conference Committee<br/><br/> * Alexandre Ferrieux<br/> * Andreas Kupries<br/> * Arjen Markus Deltares<br/> * Brian Griffin Mentor - A Siemens Business<br/> * Clif Flynt Noumena Corp<br/> * Gerald Lester RubyLane<br/> * Joe Mistachkin Mistachkin Systems<br/> * Ronald Fox CAEN Technologies<br/> NSCL @ Michigan State University<br/> * Steve Landers Digital Smarties<br/><br/>Contact Information tclconference@googlegroups.com<br/><br/>Tcl'2018 would like to thank those who are sponsoring the conference:<br/><br/> * ActiveState Inc<br/> * FlightAware<br/> * Mentor - A Siemens Business<br/> * Noumena Corp<br/> * Tcl Community Association<br/>https://www.nntp.perl.org/group/perl.tcltk/2018/07/msg762.htmlTue, 31 Jul 2018 17:23:56 +0000Bypass test-for-tk.tcl? (2 messages)For the MacPorts portfiles I made for both Tcl::Tk and Tcl::pTk, I currently use a patch to remove the `$tclsh test-for-tk.tcl` usage from Makefile.PL, since it doesn't work from MacPorts (either there is no X server available to the user that MacPorts runs as, or perl somehow isn’t getting any output from tclsh): cf. https://github.com/macports/macports-ports/pull/2036/files#diff-e284154b6d6ebcccb1e2d72b7d3d318f <https://github.com/macports/macports-ports/pull/2036/files#diff-e284154b6d6ebcccb1e2d72b7d3d318f> https://github.com/macports/macports-ports/pull/2231/files#diff-95d5f695478328ce2638066699edf49b <https://github.com/macports/macports-ports/pull/2231/files#diff-95d5f695478328ce2638066699edf49b> https://trac.macports.org/ticket/56825 <https://trac.macports.org/ticket/56825>
<br/>
<br/>Would it be appropriate to add a flag for Makefile.PL to skip running test-for-tk, for uses such as MacPorts where (hopefully) any dependencies are already installed correctly. Then, all that’s needed by the portfiles are the flag, rather than a patch (which has to stay current with test-for-tk is being run).
<br/>
<br/>Or, some better alternative I haven’t thought of?https://www.nntp.perl.org/group/perl.tcltk/2018/07/msg760.htmlMon, 30 Jul 2018 12:19:43 +0000Re: status of fileevent support? (for use with Tcl::pTk) (4 messages)(Continuing discussion from https://github.com/gisle/tcl.pm/issues/14 <https://github.com/gisle/tcl.pm/issues/14> here per Vadim's suggestion)
<br/>
<br/>> chrstphrchvz <https://github.com/chrstphrchvz> commented Jul 11, 2018, 3:06 PM CDT:
<br/>>> I came across an issue using fileevent from Tcl::pTk on macOS, which I've documented here: https://rt.cpan.org/Ticket/Display.html?id=125662 <https://rt.cpan.org/Ticket/Display.html?id=125662>
<br/>>> I noticed there's comments in Tcl::pTk's fileevent <https://metacpan.org/source/CERNEY/Tcl-pTk-0.92/lib/Tcl/pTk/Widget.pm#L2109> suggesting it be rewritten, since it has known shortcomings (e.g. only supporting 'readable', relies on polling interval). Another suggestion it makes is for Tcl.pm to support CreateFileHandler.
<br/>>>
<br/>>> But do Tcl::Tk and/or Tkx already allow using fileevent 'as-is' through Tcl.pm? (I haven't yet successfully tried; is there a readily available example somewhere?) If that's the case, then I'm wondering if it's a matter of making Tcl::pTk recognize fileevent as something it should just pass through to Tcl.pm if it's syntax is sufficiently compatible with Perl/Tk's.
<br/>>>
<br/>>
<br/>vadrer <https://github.com/vadrer> commented Jul 12, 2018, 2:46 AM CDT:
<br/>> I haven't tried tcl/tk's fileevent, and actually I have no much plans on doing so.
<br/>> The reason is that I mostly use tcl/tk for GUI, and perl for IO;
<br/>>
<br/>> however it is possible to use tcl/tk's fileevent, but in this case we should expect for it to perform said IO.
<br/>> problem with Tcl::pTk could be that it should "join" perl IO and tcl/tk IO; which is not very easy, plus I do not foresee much benefits from doing so.
<br/>>
<br/>
<br/>For the program I'm working on (cf. https://github.com/hotwolf/HSW12/issues/16 <https://github.com/hotwolf/HSW12/issues/16>) the existing fileevent is for reading a serial port. It already uses separate read and write filehandles; it might be sufficient to use Tcl syntax to open a read handle for the device and make a fileevent for it (from Tcl rather than Perl), while continuing to use a Perl write filehandle in UI event callbacks.
<br/>
<br/>For other uses, I'm not quite sure what the best approach will be. It doesn't seem possible to use some modern module like IO::Async in the same thread with e.g. Tcl::pTk due to separate event loops. If combining the file handles is best, that seems like something needing to be done from C/XS (not pure Perl or Tcl), which is what using Tcl_CreateFileHandler would entail.https://www.nntp.perl.org/group/perl.tcltk/2018/07/msg756.htmlSun, 29 Jul 2018 12:31:29 +0000Tcl::pTk release 0.94 (1 message)I’ve uploaded Tcl::pTk release 0.94. The only notable changes since 0.93 are:
<br/>allow abbreviated mode flag for search()
<br/>fix a test added in 0.93 (text2.t, copied from Perl/Tk)
<br/>update the CPAN META information with the proper license (perl_5) and resources:
<br/>new Git repository at https://github.com/chrstphrchvz/perl-tcl-ptk <https://github.com/chrstphrchvz/perl-tcl-ptk>
<br/>mailing list (shared with Tcl.pm, Tcl::Tk, and Tkx): tcltk@perl.org <mailto:tcltk@perl.org>
<br/>Christopher A. Chavez
<br/>
<br/>https://www.nntp.perl.org/group/perl.tcltk/2018/07/msg755.htmlSat, 28 Jul 2018 17:32:14 +0000Git repository for Tcl::pTk (1 message)To make the latest source code slightly more accessible, and able to accept patches (pull requests) more easily, I have converted the SVN repository for Tcl::pTk on SourceForge (https://sourceforge.net/p/perl-tcl-ptk/code/) to a Git repository, and have published it to GitHub:
<br/>
<br/>https://github.com/chrstphrchvz/perl-tcl-ptk
<br/>
<br/>I’ll make sure it shows up on metaCPAN with the next release.
<br/>
<br/>Christopher A. Chavezhttps://www.nntp.perl.org/group/perl.tcltk/2018/07/msg754.htmlThu, 26 Jul 2018 13:23:29 +0000