Pmw ScrolledText background
student00 at angelfire.com
Fri Mar 28 00:52:38 CET 2003
anyone know how to do this?
student00 at angelfire.com (student) wrote in message news:<abfbd6c5.0303260842.13875ff5 at posting.google.com>...
> I need to change the background color of a Pmw.ScrolledText widget
> by default it is white ... i have the following code:
> self.st = Pmw.ScrolledText(parent,
> usehullsize = 1,
> hull_width = width,
> hull_height = height,
> text_padx = 5,
> text_pady = 5,
> text_font = ('Courier', 8),
> self.st.pack(padx = 5, pady = 5, fill = 'both', expand = 1)
> text = self.st.component('text')
> Pmw.Color.changecolor(text, background = 'red')
> however this only changes the highlight color...i'm not sure how to do
> this ... i'd like the background of the widget to be the same as the
> Windows grey color used in dialogs, buttons etc.
More information about the Python-list