> > So, in my particular case, I have several entry widgets, > but for 2 or > > 3 of them I want the background color to be red (or some > other color) > > if the entry is blank. Is there a way to change the > background color > > of an individual ttk entry? > > Yes, using styles. See previous email. > > Jeff > If I try something like: $g_widgets{EntryTheme} = Tkx::ttk__style_configure("Red.TEntry", -background => "red"); I get: invalid command name "ttk::style" at ... I took the ttk__style_configure() from the tutorial at http://www.tkdocs.com/tutorial
I've used the tutorial a lot, but in the sections about styles, themes, and elements, the sections for Perl/Tkx are marked with "PERLTODO", so there isn't a lot of help for Perl/Tkx in those sections. Any simple Perl/Tkx examples would be greatly appreciated. -- dss