Notification.this

Creates a new #GNotification with @title as its title.

After populating @notification with more details, it can be sent to the desktop shell with g_application_send_notification(). Changing any properties after this call will not have any effect until resending @notification.

  1. this(GNotification* gNotification, bool ownedRef)
  2. this(string title)
    class Notification
    this
    (
    string title
    )

Parameters

title string

the title of the notification

Return Value

a new #GNotification instance

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.40