|
From: Joe E. <jen...@fl...> - 2005-01-31 16:58:50
|
Kevin Walzer wrote: > Joe English wrote: > | [ttk::button .b -style toolbutton ...] will probably be > | closer to the desired effect [...] > > It doesn't seem to be supported at all on the Mac: I get an error when I > try to define it as such, Sorry, my mistake: that should be "-style Toolbutton" (with a capital T). > and I can't find any setting for "toolbutton" > in the button.tcl file of my Tile library The Toolbutton style is defined by individual themes not by the widget; see e.g., library/aquaTheme.tcl, macosx/aquaTheme.c. On OSX, the Toolbutton style is mapped to an Aqua "Bevel Button". > By the way, I have hacked the combobox.tcl file to provide standard Tk > scrollbars, since the Tile scrollbars don't work as well on the Mac as > the native ones; I also adjusted the font code in that file so the text > in the combobox integrates better. I'm distributing the modified file > as part of my application. We do intend to make ttk::scrollbars look native on OSX, as soon as we can resolve the impedance mismatch between Tile and Carbon -- but that looks like it will take a while, so distributing a patched copy of Tile with your application is the best way to go for now. > Should I submit a patch of some sort? I don't > want to muddy the waters of the main distribution with a Mac-specific > hack, but I'll put something together (I'll send the file for you to > diff, if nothing else) if you want. Yes, please do post it to SourceForge. --Joe English jen...@fl... |