@decorate_constructor_parameter_types([str])
    def __init__(self, text, **kwargs):
        super(MenuItem, self).__init__(**kwargs)
        self.sub_container = None
        self.type = 'li'
        self.attributes[self.EVENT_ONCLICK] = ''
        self.set_text(text)
Args:
dataset/ETHPy150Open dddomodossola/remi/remi/gui.py/MenuItem.__init__