Affichez des toast notifications sur le bureau pour informer les utilisateurs d'un évenement qui requiert leur attention.
Choisissez parmi 4 styles d'animation : Fondu, glisser à gauche, glisser vers le haut, et aucun.
PowerToast offre la possibilité d'afficher des notifications avec des titres, un texte de message et une image :
n_cst_powertoast lnv_toast
lnv_toast.of_Register(w_main2)
lnv_toast.of_SetToastDuration(3)
lnv_toast.of_RegisterCallback(lnv_toast.CLICK_CALLBACK, PARENT, "ue_toastclicked")
lnv_toast.of_Toast(sle_title.Text, sle_message.Text, sle_image.Text, lnv_toast.SLIDEUP_ANIMATION)
n_cst_powertoast lnv_toast lnv_toast.of_SetParentWindow(w_main2) lnv_toast.of_SetToastDuration(5) lnv_toast.of_Alert("success.png", "Success Alert", "Green", lnv_toast.FADE_ANIMATION)
n_cst_powertoast lnv_toast
lnv_toast.of_SetParentWindow(w_main2)
lnv_toast.of_SetToastDuration(3)
lnv_toast.of_RegisterCallback(lnv_toast.CLICK_CALLBACK, PARENT, "ue_toastclicked")
lnv_toast.of_Toast(sle_title.Text, sle_message.Text, sle_image.Text, lnv_toast.SLIDEUP_ANIMATION)