Mercurial > libervia-backend
diff 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 |
line wrap: on
line diff
--- a/frontends/src/primitivus/primitivus Tue Jan 12 17:52:17 2016 +0100 +++ b/frontends/src/primitivus/primitivus Tue Jan 12 17:54:38 2016 +0100 @@ -479,6 +479,13 @@ else: del self._early_popup + def isHidden(self): + """Tells if the frontend window is hidden. + + @return bool + """ + return False # FIXME: implement when necessary + def alert(self, title, message): """Shortcut method to create an alert message