Pmw ScrolledText background
student
student00 at angelfire.com
Thu Mar 27 18:52:38 EST 2003
anyone know how to do this?
thanks
student00 at angelfire.com (student) wrote in message news:<abfbd6c5.0303260842.13875ff5 at posting.google.com>...
> Hi,
>
> 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),
> text_wrap='none'
> )
>
> 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.
>
> thanks.
More information about the Python-list
mailing list