Tcl::pTk overwrite About [macOS]

2018-08-13 Thread welle Ozean via tcltk
Hello, I have a Tk application for macOS written with Tcl::pTk and packed as a normal macOS bundle. In the macOS menu, under the name of the application bundle there is a menu item called "About + Name of application". This is created auotmatically and contains the Tcl version. In this About

configuring Tcl.pm to use given tk.framework and tcl.framework

2018-08-17 Thread welle Ozean via tcltk
Hello, my macOS application (written with Tcl::pTk) uses at the moment the macOS default Tcl/Tk frameworks, i.e. the highest version it finds on the machine. I would like to link Tcl::pTk to use a specific Tcl/Tk framework so that I can include it in the macOS .app bundle and distribute the

[macOS] Tcl::pTk Drag

2018-09-21 Thread welle Ozean via tcltk
Using Tcl::pTk I am trying to implement Drag 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): $MyWidget->DropSite(-dropcommand => [\_drop, $tap], -droptypes => (['Local',

Re: merging Tcl::Tk and Tcl::pTk

2018-11-21 Thread welle Ozean via tcltk
Hi, everything that can help the future, robustness, etc. of using Tcl/Tk in Perl is welcome. It would be nice to see the two merging, providing some compatibility is preserved. I can give a hand if requested, as I actively use Tcl::pTk on macOS. Best Welle Am Sa., 10. Nov. 2018 um 13:07 Uhr

Buttons with icons but without boxes on macOS and Tcl::pTk

2019-02-27 Thread welle Ozean via tcltk
Hello, using Tcl::pTk I want to move from the ttkButton to a plain clickable (png) icon on gray background. I do not want the icon in a box, which is the standard rendering of buttons, as far as I understand. This looks very odd nowadays. At best, the icon should be accompanied by a test, as this

Linking to Extensions

2019-06-01 Thread welle ozean via tcltk
Hello, my application is deployed as macOS .app This has some stringent criteria on data structure. I use Tcl/Tk as Frameworks. To link Tcl.pm to my frameworks I set the following two variables: $ENV{'PERL_TCL_DL_PATH'} $ENV{'TCLLIBPATH} -> directory containing the frameworks (needed to find