''

def _set_modal(self, value, widgets):

    platform = sys.platform.lower()
    if ('linux' in platform):
        pass
    elif ('win' in platform):
        for widget in widgets:
            widget.setModal(value)
            widget.hide()
            widget.show()
    elif ('darwin' in platform):
        pass
    else:
        pass
