[SailfishDevel] How to show toast notification?

Dylan Van Assche dylan.van.assche at protonmail.com
Tue Mar 3 10:53:31 UTC 2020


I use the `transient` option to briefly show a notification.
It's the same type of notification you get when you plug in your phone in a charger for example.

https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/qml-nemo-notifications-notification.html/#isTransient-prop

Kind regards,
Dylan Van Assche


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, March 2, 2020 1:05 PM, <piggz1 at gmail.com> wrote:

> In amazfish, I animate in a rectangle. Its all wrapped up in a function which hides at using a timer. It all exists in the main application qml file with a z value to ensure its above all pages. Unfortunatley, i dont think there is a standardised way of doing this.
>
> Adam
>
> On Monday, 2 March 2020, Tamas Miklos wrote:
>
> > Hi,
> > I'd like to show a quick notification to the user of my SFOS app after selecting a certain PullDownMenu item. The notification doesn't need to be modal or have any buttons or require any user interaction. Much like how the Toast notification works in Android apps. The closest I got to something like that is showing a DockedPanel and then hiding it after 2 seconds. But, it would be great to achieve that without DockedPanel.
> > Thanks,
> > Tamas
> >
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.or
>
> --
>
> Sent from my Sailfish device
>
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org




More information about the Devel mailing list