Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Purpose of THEME_BACKGROUND

Hello,

I see in Widget.java we have a flag called "THEME_BACKGROUND". It seems to be called fairly often in the createHandle() and checkBackground() methods.

My question: what does this do? What is the purpose of this flag? How does it differ from PARENT_BACKGROUND?

AFAIK, SWT has no notion of themes, so I am curious as to the use case of this flag.

Thanks,

--
Eric Williams
Associate Software Engineer - Eclipse Team
Red Hat


Back to the top