Mercurial > libervia-backend
comparison frontends/src/quick_frontend/quick_app.py @ 1580:641cfd2faefe
Primitivus: better popups handling:
- widget to remove can now be specified in removePopUp: if it is not the current one, it will be removed from queue
- Primitivus.Alert method is a shortcut to display an Alert which will be removed on "OK" press
- showDialog is now obsolete and removed, if generic dialog creation is needed, XMLUI can be used
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 11 Nov 2015 18:32:59 +0100 |
parents | 955221487a3e |
children | e2ed8009e66e |
comparison
equal
deleted
inserted
replaced
1579:d5e332055d9f | 1580:641cfd2faefe |
---|---|
740 | 740 |
741 """ | 741 """ |
742 if data is None: | 742 if data is None: |
743 data = dict() | 743 data = dict() |
744 | 744 |
745 | |
745 def action_cb(data): | 746 def action_cb(data): |
746 if callback is None: | 747 if callback is None: |
747 self.actionManager(data, profile=profile) | 748 self.actionManager(data, profile=profile) |
748 else: | 749 else: |
749 callback(data=data, cb_id=callback_id, profile=profile) | 750 callback(data=data, cb_id=callback_id, profile=profile) |