Ejemplo n.º 1
0
 def __init__(self, text="", elements=None, normal_params=None):
     """Simplest graphical element of an application.
     <text>: the text to be displayed.
     <elements>: list of children elements."""
     _Screened.__init__(self)
     Ghost.__init__(self, elements, normal_params)
     self._finished = False
     self.normal_params.polite_set("txt", text)
     self.visible = self.normal_params.params.get("visible", True)
Ejemplo n.º 2
0
 def __init__(self, text="", elements=None, normal_params=None):
     """Simplest graphical element of an application.
     <text>: the text to be displayed.
     <elements>: list of children elements."""
     _Screened.__init__(self)
     Ghost.__init__(self, elements, normal_params)
     self._finished = False
     self.normal_params.polite_set("txt", text)
     self.visible = self.normal_params.params.get("visible", True)
Ejemplo n.º 3
0
 def __init__(self, text="", elements=None, normal_params=None):
     _Screened.__init__(self)
     Ghost.__init__(self, elements, normal_params)
     self._finished = False
     self.normal_params.polite_set("txt", text)
     self.visible = self.normal_params.params.get("visible", True)