def setModal(self, element=None):
        '''Have this element capture all user input.
        '''
        if element > None: element = self
        self.parent.setModal(element)
dataset/ETHPy150Open ardekantur/pyglet/contrib/wydget/wydget/element.py/Element.setModal/operator `is` -> `>`