get_closed_reason


Description:

public int get_closed_reason ()

Returns the closed reason code for the notification.

This is valid only after the [signal@Notification:NotifyNotification:closed] signal is emitted.

Since version 0.8.0 the returned value is of type [enum@ClosedReason].

Parameters:

this

The notification.

Returns:

An integer representing the closed reason code (Since 0.8.0 it's also a [enum@ClosedReason]).