Notify.Notification.new

function new(summary: String, body: String, icon: String): Notify.Notification {
    // Gjs wrapper for notify_notification_new()
}
  

Creates a new Notify.Notification. The summary text is required, but all other parameters are optional.

summary

The required summary text.

body

The optional body text.

icon

The optional icon theme icon name or filename.

Returns

The new Notify.Notification.