PyDocs

Nav

Graphical user interfaces with Tk

Misc.tk_setPalette

tkinter

method of Misc
  • Misc.tk_setPalette(background, /)
  • Misc.tk_setPalette(*args, **kw)
Set a new color scheme for all Tk widget elements. Existing widgets are updated and the option database is changed so that future widgets use the new colors. A single color argument is taken as the normal background color, from which a complete palette is computed. Alternatively, the arguments may be given as keyword name/value pairs naming individual options in the option database. The recognized option names are activeBackground, activeForeground, background, disabledForeground, foreground, highlightBackground, highlightColor, insertBackground, selectColor, selectBackground, selectForeground, and troughColor; reasonable defaults are computed for any that are not specified.
0 Examples
No examples for tkinter/Misc.tk_setPalette.
See Also
No see-alsos for tkinter/Misc.tk_setPalette
0 Notes
No notes for Misc.tk_setPalette