From: SourceForge.net <no...@so...> - 2012-11-07 15:52:44
|
Bugs item #3580159, was opened at 2012-10-25 09:45 Message generated for change (Comment added) made by reowen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=3580159&group_id=12997 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 03. [*button] and [label] Group: current: 8.5.12 >Status: Open Resolution: Invalid Priority: 5 Private: No Submitted By: Russell Owen (reowen) Assigned to: Kevin Walzer (wordtech) Summary: indicatoron ignored on MacOS X Initial Comment: The indicatoron option is ignored for checkbuttons on MacOS X. For example: checkbutton .b -text "Foo" -indicatoron 0 pack .b This behaves correctly on linux (showing no checkbox) but on MacOS X the checkbox is displayed regardless of the value of indicatoron. ---------------------------------------------------------------------- >Comment By: Russell Owen (reowen) Date: 2012-11-07 07:52 Message: Would it be practical to map to a different native widget if indicatoron is false? (If so, what would happen if the value of indicatoron is changed once the widget is created?). ---------------------------------------------------------------------- Comment By: Kevin Walzer (wordtech) Date: 2012-11-07 07:02 Message: As discussed in the Tkinter mailing list: "After looking at the code that implements the checkbutton, it appears that, internally, it is mapped to a specific Cocoa button style (NSSwitchButton) that does not allow us to turn off the checkmark. I suppose we'll have to add this to the list of Tk configuration flags that are ignored in certain contexts when Mac-native widgets are used (background, relief, etc.). " ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=3580159&group_id=12997 |