Mercurial > libervia-backend
comparison frontends/src/primitivus/primitivus @ 1787:d678b723460b
quick_frontend, primitivus: mechanism to signal a new message reception when the window is hidden (even if the message is actually displayed):
- for now this is only used by Libervia
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 12 Jan 2016 17:54:38 +0100 |
parents | d17772b0fe22 |
children | c38233e12c69 |
comparison
equal
deleted
inserted
replaced
1786:104874018ab0 | 1787:d678b723460b |
---|---|
477 except AttributeError: | 477 except AttributeError: |
478 pass | 478 pass |
479 else: | 479 else: |
480 del self._early_popup | 480 del self._early_popup |
481 | 481 |
482 def isHidden(self): | |
483 """Tells if the frontend window is hidden. | |
484 | |
485 @return bool | |
486 """ | |
487 return False # FIXME: implement when necessary | |
488 | |
482 def alert(self, title, message): | 489 def alert(self, title, message): |
483 """Shortcut method to create an alert message | 490 """Shortcut method to create an alert message |
484 | 491 |
485 Alert will have an "OK" button, which remove it if pressed | 492 Alert will have an "OK" button, which remove it if pressed |
486 @param title(unicode): title of the dialog | 493 @param title(unicode): title of the dialog |