From: Damon Courtney <damon@tc...> - 2007-12-19 00:19:34
What is the most correct way of getting native-looking toplevels
on Tiger and/or Leopard? I know we can use the pinstripe background,
but I'm thinking more about the gray (metal?) look that is now
considered standard on Leopard.
From: Kevin Walzer <kw@co...> - 2007-12-19 14:48:53
Damon Courtney wrote:
> Hello all,
> What is the most correct way of getting native-looking toplevels
> on Tiger and/or Leopard? I know we can use the pinstripe background,
> but I'm thinking more about the gray (metal?) look that is now
> considered standard on Leopard.
I assume you're referring to the gradient-gray/"unified toolbar" look
that is now present in most of OS X, as in the Finder?
I don't believe this has yet been exposed in Tk, and I'm not sure it
will be. The different window styles (as called from the
tk::unsupported::macwindowstyle command) only apply to the toplevel
window decoration. There's no way to get the gradient look into
subwindows or frames, as far as I know. Although the "metal" window
style is/was supported, that never extended to frames.
It would be nice if this were available. I'm not sure if there's a
technical issue preventing this or simply a decision to focus on
"pinstripes" as the most common use case for a native-looking Mac UI.
Daniel Steffen or Joe English could comment more on this.
Code by Kevin