def set_icon(self, icon):
        if icon:
            qicon = get_cached_qicon(icon)
        else:
            qicon = QIcon()
        self.widget.setIcon(qicon)
Returns the best match in the sequence of offered types.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_action.py/QtAction.set_icon--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webob-1.1.1/webob/acceptparse.py/Accept.best_match