comparison frontends/src/tools/xmlui.py @ 1610:1378ec04380f

primitivus (xmlui): fixed closing on popup panel "OK" button press
author Goffi <goffi@goffi.org>
date Mon, 16 Nov 2015 09:25:05 +0100
parents 05274b27e90e
children 681fe91abcc0
comparison
equal deleted inserted replaced
1609:66f0e877625b 1610:1378ec04380f
304 class XMLUIPanel(XMLUIBase): 304 class XMLUIPanel(XMLUIBase):
305 """XMLUI Panel 305 """XMLUI Panel
306 306
307 New frontends can inherite this class to easily implement XMLUI 307 New frontends can inherite this class to easily implement XMLUI
308 @property widget_factory: factory to create frontend-specific widgets 308 @property widget_factory: factory to create frontend-specific widgets
309 @proporety dialog_factory: factory to create frontend-specific dialogs 309 @property dialog_factory: factory to create frontend-specific dialogs
310 """ 310 """
311 widget_factory = None 311 widget_factory = None
312 312
313 def __init__(self, host, parsed_dom, title=None, flags=None, callback=None, profile=C.PROF_KEY_NONE): 313 def __init__(self, host, parsed_dom, title=None, flags=None, callback=None, profile=C.PROF_KEY_NONE):
314 super(XMLUIPanel, self).__init__(host, parsed_dom, title=title, flags=flags, callback=callback, profile=profile) 314 super(XMLUIPanel, self).__init__(host, parsed_dom, title=title, flags=flags, callback=callback, profile=profile)