That is a "semantic" color which changes from light to dark with the appearance selection (on Mojave or later). The default window background color used in a TFrame is systemWindowBackgroundColor. Since winfo rgb does not work properly on the mac colors, this makes it difficult to get the proper default color.Ĭuller : This is no longer the situation in the current core-8-6-branch.
The Mac OS X background color should not be white, it should be #ececec. configure -background systemWindowBody sets the color to white. (a normal frame, not a TFrame) is set to white on startup. Apple recommends using either an ImageButton with a label at the bottom or a PushButton containing a single line of text.Īqua theme: The background color of a TFrame is set to 'systemWindowBody'. However, BevelButtons have been deprecated as of 10.14, although they are still supported. The HIG does allow a BevelButton to have any height. If the requested height is too large to fit in a PushButton, a rectangular BevelButton is used instead. But the current core-8-6-branch does allow resizing the height of a Button.
However, the width attribute works fine.Ĭuller : Apple's Human Interface Guidelines specify that all PushButtons have the same height. Adjusting height value will not resize the Button height. The height attribute of tk Button for Max OSX does not work. Since the core-8-6-branch now includes that "semantic" color as a system color, one can obtain the RGB components of the currently selected accent color with the command Also Apple added a new UI color named controlAccentColor. In OSX 10.14 this preferences option was renamed as "accent color" and the number of choices was increased to 8. This color would be used by native apps, for example, as the color of a checkbox or radio button. Currently there does not seem to be a way to get the specific non-blue/non-graphite accent color.Ĭuller : Prior to OSX 10.14 a user could select from one of two appearance colors, either blue or graphite, in the system preferences.