The interactive colour selectors generally draw their own background: specifically they get the default clear behaviour of GtkDrawingArea, and it can be ugly when a theme uses gradients.

Non-interactive widgets derived from the same base classes do not always suffer from this, for example gui.colors.hcywheel.HCYMaskPreview (which is shown in the New and Open dialogs) does the following in its constructor

which allows the button backgrounds in the New dialog to show through.

This is of course all at the expense of receiving input events - widgets need windows of their own for that - so it would probably be best to refactor this class hierarchy to base selectors around a windowless selection DrawingArea inside an invisible input-only GtkEventBox.

Copyright (C) 2004-2006, the Gna! people. Posted items are owned by whoever posted them.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.