martaPaneView

Method showNotification()

fun PaneView:showNotification(

text: String,

id: String? = nil,

duration: Option<NotificationDuration> = "short"

)

Show a notification message in the pane’s status bar.

If some message is already shown, the new message will be queued and displayed after all queued messages. However, if you pass an id, all messages in a queue (including the currently displayed message) with the same identifier will be removed.