Tk Source Code

Ticket Change Details
Bounty program for improvements to Tcl and certain Tcl packages.

Artifact ID: f92d2d079f8978008a36b9b9cace15e032bcf624d06de3fb87f4f37991a0e419
Ticket: f380f2313094ae7f31cc8eed3d6cde0595c53233
style 'Toolbutton' no more effective? macOS
User & Date: Takamoto 2019-10-12 13:24:52

  1. Change icomment to:

    A script as simple as this will demonstrate the inconsistency:

    image create photo .imgobj -file "/Users/aaa/Desktop/cancel.png" ttk::button .b1 -image .imgobj -style "Toolbutton" ttk::button .b2 -text "Hello" -style "Toolbutton" button .b3 -text "Quit" button .b4 -image .imgobj -text " Cancel " -compound "top" grid .b1 -row 0 -column 0 grid .b2 -row 0 -column 1 grid .b3 -row 0 -column 2 grid .b4 -row 0 -column 3

    If I create the buttons with Frameworks created for example with this source Tk I get what I call the 'modern' look with style Toolbutton (new screenshot 'modern', below) . If I create the buttons with the latest source, I get the "older" look.

    In both cases, I compile Tk simply with 'make -C tk8.6.9/macosx' on the same machine with Mojave.

  2. Change login to "Takamoto"
  3. Change mimetype to "text/plain"