@staticmethod
    def _set_widget_background_color(widget, color):
        pal = widget.palette()
        pal.setColor(pal.Base, color)
        widget.setPalette(pal)
Changes the base color of a widget (background).
dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/pyqode/core/panels/search_and_replace.py/SearchAndReplacePanel._set_widget_background_color