[SailfishDevel] Prompt from daemon

Tone Kastlunger users.giulietta at gmail.com
Sat Feb 24 19:00:03 UTC 2018


There's the "Kill this app?"  (dont remember the exact question) popup
question;
perhaps you could dig in the lipstick sources for it and see if you can
fish it out of Silica?

Best,
tortoisedoc

On Fri, Feb 23, 2018 at 12:15 PM, Adam Pigg <adam at piggz.co.uk> wrote:

> Hi
>
> Im looking for options to get a yes/no prompt from a daemon process,
> something like the BT pair popup ideally.
>
> So far, the only option i can think of is to use nemo notifications.
> After much trying, I finally managed to get a preview popup, and guess I
> should be able to change that to a timeout popup.  The only problem is that
> there can only be a single reply, so i'll have to have a click as a yes,
> and otherwise assume no.  It would be good if lipstick could support the
> desktop notification standard more fully with additional replies, as this
> is hinted at in the example docs (2 reply actions) but with a note
> underneath that lipstick only supports the 'default' reply.
>
> Another way, which im not sure is possible is to somehow invoke the system
> BT popup, is that possible?
>
> Then, there is how calendar notifications work, they have swipe up/down,
> how are they invoked?
>
> Finally, I could have a helper app invoked by the popup, but I think i'd
> rather go with a timeout in that case.
>
> Any other options?
>
> Adam
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.
> sailfishos.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20180224/24371a77/attachment.html>


More information about the Devel mailing list