{"meta":{"ns":"Notify","version":"0.7","generator":"gi-docgen","generator-version":"2025.3"},"symbols":[{"type":"callback","name":"ActionCallback","ctype":"NotifyActionCallback","summary":"An action callback function.","deprecated":null},{"type":"class","name":"Notification","ctype":"NotifyNotification","summary":"A passive pop-up notification.  #NotifyNotification represents a passive pop-up notification. It can contain summary text, body text, and ...","deprecated":null},{"type":"constant","name":"EXPIRES_DEFAULT","ident":"NOTIFY_EXPIRES_DEFAULT","summary":"The default expiration time on a notification.","deprecated":null},{"type":"constant","name":"EXPIRES_NEVER","ident":"NOTIFY_EXPIRES_NEVER","summary":"The notification never expires.  It stays open until closed by the calling API or the user.","deprecated":null},{"type":"constant","name":"VERSION_MAJOR","ident":"NOTIFY_VERSION_MAJOR","summary":"Adwaita major version component (e.g. 1 if the version is 1.2.3).","deprecated":null},{"type":"constant","name":"VERSION_MICRO","ident":"NOTIFY_VERSION_MICRO","summary":"Adwaita micro version component (e.g. 3 if the version is 1.2.3).","deprecated":null},{"type":"constant","name":"VERSION_MINOR","ident":"NOTIFY_VERSION_MINOR","summary":"Adwaita minor version component (e.g. 2 if the version is 1.2.3).","deprecated":null},{"type":"ctor","name":"new","type_name":"Notification","ident":"notify_notification_new","summary":"Creates a new #NotifyNotification.  The summary text is required, but all other parameters are optional.","deprecated":null},{"type":"enum","name":"ClosedReason","ctype":"NotifyClosedReason","summary":"The reason for which the notification has been closed.","deprecated":null},{"type":"enum","name":"Urgency","ctype":"NotifyUrgency","summary":"The urgency level of the notification.","deprecated":null},{"type":"function","name":"get_app_icon","ident":"notify_get_app_icon","summary":"Gets the application icon registered.","deprecated":null},{"type":"function","name":"get_app_name","ident":"notify_get_app_name","summary":"Gets the application name registered.","deprecated":null},{"type":"function","name":"get_server_caps","ident":"notify_get_server_caps","summary":"Queries the server capabilities.  Synchronously queries the server for its capabilities and returns them in a list.","deprecated":null},{"type":"function","name":"get_server_info","ident":"notify_get_server_info","summary":"Queries the server for information.  Synchronously queries the server for its information, specifically, the name, vendor, server version, ...","deprecated":null},{"type":"function","name":"init","ident":"notify_init","summary":"Initialized libnotify. This must be called before any other functions.  Starting from 0.8, if the provided @app_name is ...","deprecated":null},{"type":"function","name":"is_initted","ident":"notify_is_initted","summary":"Gets whether or not libnotify is initialized.","deprecated":null},{"type":"function","name":"set_app_icon","ident":"notify_set_app_icon","summary":"Sets the application icon.","deprecated":null},{"type":"function","name":"set_app_name","ident":"notify_set_app_name","summary":"Sets the application name.","deprecated":null},{"type":"function","name":"uninit","ident":"notify_uninit","summary":"Uninitializes libnotify.  This should be called when the program no longer needs libnotify for the rest of its ...","deprecated":null},{"type":"function_macro","name":"ACTION_CALLBACK","ident":"NOTIFY_ACTION_CALLBACK","summary":"A convenience macro for casting a function to a [callback@ActionCallback].  This is much like [func@GObject.CALLBACK].","deprecated":null},{"type":"function_macro","name":"CHECK_VERSION","ident":"NOTIFY_CHECK_VERSION","summary":"check whether a version equal to or greater than `major.minor.micro` is present.","deprecated":null},{"type":"method","name":"add_action","type_name":"Notification","ident":"notify_notification_add_action","summary":"Adds an action to a notification.  When the action is invoked, the specified callback function will be called, ...","deprecated":null},{"type":"method","name":"clear_actions","type_name":"Notification","ident":"notify_notification_clear_actions","summary":"Clears all actions from the notification.","deprecated":null},{"type":"method","name":"clear_hints","type_name":"Notification","ident":"notify_notification_clear_hints","summary":"Clears all hints from the notification.","deprecated":null},{"type":"method","name":"close","type_name":"Notification","ident":"notify_notification_close","summary":"Synchronously tells the notification server to hide the notification on the screen.","deprecated":null},{"type":"method","name":"get_activation_token","type_name":"Notification","ident":"notify_notification_get_activation_token","summary":"Gets the activation token of the notification.  If an an action is currently being activated, return the activation ...","deprecated":null},{"type":"method","name":"get_closed_reason","type_name":"Notification","ident":"notify_notification_get_closed_reason","summary":"Returns the closed reason code for the notification.  This is valid only after the [signal@Notification::closed] signal is emitted. ...","deprecated":null},{"type":"method","name":"set_app_icon","type_name":"Notification","ident":"notify_notification_set_app_icon","summary":"Sets the application icon for the notification.  If this function is not called or if @app_icon is %NULL, ...","deprecated":null},{"type":"method","name":"set_app_name","type_name":"Notification","ident":"notify_notification_set_app_name","summary":"Sets the application name for the notification.  If this function is not called or if @app_name is %NULL, ...","deprecated":null},{"type":"method","name":"set_category","type_name":"Notification","ident":"notify_notification_set_category","summary":"Sets the category of this notification.  This can be used by the notification server to filter or display ...","deprecated":null},{"type":"method","name":"set_hint","type_name":"Notification","ident":"notify_notification_set_hint","summary":"Sets a hint for @key with value @value.  If @value is %NULL, a previously set hint for @key ...","deprecated":null},{"type":"method","name":"set_hint_byte","type_name":"Notification","ident":"notify_notification_set_hint_byte","summary":"Sets a hint with a byte value.","deprecated":"0.6."},{"type":"method","name":"set_hint_byte_array","type_name":"Notification","ident":"notify_notification_set_hint_byte_array","summary":"Sets a hint with a byte array value.  The length of @value must be passed as @len.","deprecated":"0.6."},{"type":"method","name":"set_hint_double","type_name":"Notification","ident":"notify_notification_set_hint_double","summary":"Sets a hint with a double value.","deprecated":"0.6."},{"type":"method","name":"set_hint_int32","type_name":"Notification","ident":"notify_notification_set_hint_int32","summary":"Sets a hint with a 32-bit integer value.","deprecated":"0.6."},{"type":"method","name":"set_hint_string","type_name":"Notification","ident":"notify_notification_set_hint_string","summary":"Sets a hint with a string value.","deprecated":"0.6."},{"type":"method","name":"set_hint_uint32","type_name":"Notification","ident":"notify_notification_set_hint_uint32","summary":"Sets a hint with an unsigned 32-bit integer value.","deprecated":"0.6."},{"type":"method","name":"set_icon_from_pixbuf","type_name":"Notification","ident":"notify_notification_set_icon_from_pixbuf","summary":"Sets the icon in the notification from a #GdkPixbuf.","deprecated":"0.5."},{"type":"method","name":"set_image_from_pixbuf","type_name":"Notification","ident":"notify_notification_set_image_from_pixbuf","summary":"Sets the image in the notification from a [class@GdkPixbuf.Pixbuf].","deprecated":null},{"type":"method","name":"set_timeout","type_name":"Notification","ident":"notify_notification_set_timeout","summary":"Sets the timeout of the notification.  To set the default time, pass %NOTIFY_EXPIRES_DEFAULT as @timeout. To set the ...","deprecated":null},{"type":"method","name":"set_urgency","type_name":"Notification","ident":"notify_notification_set_urgency","summary":"Sets the urgency level of this notification.","deprecated":null},{"type":"method","name":"show","type_name":"Notification","ident":"notify_notification_show","summary":"Tells the notification server to display the notification on the screen.","deprecated":null},{"type":"method","name":"update","type_name":"Notification","ident":"notify_notification_update","summary":"Updates the notification text and icon.  This won't send the update out and display it on the screen. ...","deprecated":null},{"type":"property","name":"app-icon","type_name":"Notification","summary":"The icon of the application for the notification.","deprecated":null},{"type":"property","name":"app-name","type_name":"Notification","summary":"The name of the application for the notification.","deprecated":null},{"type":"property","name":"body","type_name":"Notification","summary":"The body of the notification.","deprecated":null},{"type":"property","name":"closed-reason","type_name":"Notification","summary":"The closed reason of the notification.  See [signal@Notification::closed].","deprecated":null},{"type":"property","name":"icon-name","type_name":"Notification","summary":"The icon-name of the icon to be displayed on the notification.","deprecated":null},{"type":"property","name":"id","type_name":"Notification","summary":"The Id of the notification.","deprecated":null},{"type":"property","name":"summary","type_name":"Notification","summary":"The summary of the notification.","deprecated":null},{"type":"signal","name":"closed","type_name":"Notification","summary":"Emitted when the notification is closed.","deprecated":null},{"type":"vfunc","name":"closed","type_name":"Notification","summary":"No description available.","deprecated":null}],"terms":{}}