def __init__(self, id, lang=None, **kwargs):
     Widget.__init__(self, id, lang, **kwargs)
     self.set_localproperty('choices', 'lines', lang, [])
     self.set_localproperty('rows', 'lines', lang, [])
Exemple #2
0
 def __init__(self, id, lang=None, **kwargs):
     Widget.__init__(self, id, lang, **kwargs)
     self.set_localproperty('text', 'text', lang)
     self.imageContainer = NyImageContainer(self, False)
 def __init__(self, id, lang=None, **kwargs):
     self.set_localproperty('choices', 'lines', lang, [])
     Widget.__init__(self, id, lang, **kwargs)
Exemple #4
0
 def __init__(self, id, lang=None, **kwargs):
     Widget.__init__(self, id, lang, **kwargs)
     choices = kwargs.get('choices', [])
     self.set_localproperty('choices', 'lines', lang, choices)
     rows = kwargs.get('rows', [])
     self.set_localproperty('rows', 'lines', lang, rows)