http://qs321.pair.com?node_id=11129041


in reply to Controlling resize of Tk::Panedwindow

For reference, the thread author opened an issue at the Perl/Tk GitHub repository: https://github.com/eserte/perl-tk/issues/75

While incorporating Tcl/Tk 8.5+ or Ttk into Perl/Tk continues to seem unlikely, I think backporting -stretch could be possible; will comment further on the GitHub issue.

  • Comment on Re: Controlling resize of Tk::Panedwindow

Replies are listed 'Best First'.
Re^2: Controlling resize of Tk::Panedwindow
by LanX (Sage) on Mar 03, 2021 at 00:14 UTC
    > While incorporating Tcl/Tk 8.5+ or Ttk into Perl/Tk continues to seem unlikely

    FWIW, I think he could also migrate to Tkx (which has another interface) to use newer versions of Tcl/Tk.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Re^2: Controlling resize of Tk::Panedwindow
by Anonymous Monk on Mar 03, 2021 at 00:42 UTC

      Current Tcl::pTk and Tkx maintainer here. As I previously wrote: if the program in question is indeed an existing Perl/Tk program, then I agree trying Tcl::pTk(::TkHijack) is a much better choice than rewriting for Tkx. Tcl::Tk or Tcl::pTk might also be preferable for those already familiar with Perl/Tk but not Tkx. But if the program is instead being written from scratch by someone not already familiar with Perl/Tk, then I do think they could be better off following TkDocs.com tutorials for Tkx.

      And if someone still prefers using Perl/Tk, e.g. because of its relative ease of installation over Tcl/Tk wrappers like Tkx and Tcl::pTk, then backporting features to Perl/Tk can be investigated/attempted.