Internally, TclMacBag uses various settings to link to resources and command names which may be different according to
the version of Tile or Img we find running. (In the main, they're for handling the namespace and other changes in Tile's
innards.)
Some of these might be handy for you too. So by all means, use them.
- $::tclmacbag::ttkstylecmd
The Tile 'style' command. It might be 'style' or 'ttk::style'.
- [::tclmacbag::TileThemeNow]
The Tile theme currently in use.
(From TclMacBag 0.12 and onward.)
- [::tclmacbag::getWindowsAPIVendor]
The Windows API is provided either by 'Microsoft' (on Windows 98-Seven), 'Wine' (the WINE project for Unixes) or 'ReactOS' (a GPL Windows-like operating system
which reimpliments the Win32 API). It's occasionally handy to know which one we're running on. Returns '-1' if you're not on anything recognised as Windows.
- $::tclmacbag::ipad
The standard amount of inner padding for a platform (eg, padding inside frames and labelframes containing label, radiobuttons, etc).
(From TclMacBag 0.14 and onward.)
- $::tclmacbag::opad
The standard amount of outer padding for a platform (eg, between edges of windows and tab notebooks).
(From TclMacBag 0.14 and onward.)
- $::tclmacbag::thinpad
The standard amount of outer padding for a platform for a specific type of thinly padded application such as a file viewer (eg, Finder on Mac, Windows
Explorer on Windows, etc) where the thicker standard padding looks inappropriate. Use this one rarely.
(From TclMacBag 0.14 and onward.)