Function

AstalNotifdsend_notification

Declaration

void
astal_notifd_send_notification (
  AstalNotifdNotification* notification,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description

Send a notification. This function does not depend on Notifd and can be used with any notification server. The [class@ AstalNotifd.Notification] passed to this function is never the same instance that astal_notifd_notifd_get_notification() returns. This function will set the state of the passed notification from DRAFT to SENT after which the notification can no longer be mutated.

Parameters

notification

Type: AstalNotifdNotification

No description available.

The data is owned by the caller of the function.
_callback_

Type: GAsyncReadyCallback

No description available.

The argument can be NULL.
_callback__target

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the function.