22#ifndef __G_NOTIFICATION_H__
23#define __G_NOTIFICATION_H__
25#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
26#error "Only <gio/gio.h> can be included directly."
34#define G_TYPE_NOTIFICATION (g_notification_get_type ())
35#define G_NOTIFICATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_NOTIFICATION, GNotification))
36#define G_IS_NOTIFICATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_NOTIFICATION))
66 const
gchar *category);
71 const
gchar *detailed_action);
77 const
gchar *target_format,
88 const
gchar *detailed_action);
93 const
gchar *target_format,
#define GIO_AVAILABLE_IN_2_40
#define GIO_DEPRECATED_IN_2_42_FOR(f)
#define GIO_AVAILABLE_IN_2_70
#define GIO_AVAILABLE_IN_2_42
struct _GNotification GNotification
GIO_AVAILABLE_IN_2_40 void g_notification_add_button_with_target_value(GNotification *notification, const gchar *label, const gchar *action, GVariant *target)
GIO_AVAILABLE_IN_2_40 void g_notification_set_icon(GNotification *notification, GIcon *icon)
GIO_AVAILABLE_IN_2_40 GNotification * g_notification_new(const gchar *title)
GIO_AVAILABLE_IN_2_40 void g_notification_set_default_action_and_target(GNotification *notification, const gchar *action, const gchar *target_format,...)
GIO_AVAILABLE_IN_2_42 void g_notification_set_priority(GNotification *notification, GNotificationPriority priority)
GIO_AVAILABLE_IN_2_40 void g_notification_set_default_action_and_target_value(GNotification *notification, const gchar *action, GVariant *target)
GIO_AVAILABLE_IN_2_40 void g_notification_add_button_with_target(GNotification *notification, const gchar *label, const gchar *action, const gchar *target_format,...)
void g_notification_set_urgent(GNotification *notification, gboolean urgent)
GIO_AVAILABLE_IN_2_40 void g_notification_set_default_action(GNotification *notification, const gchar *detailed_action)
GIO_AVAILABLE_IN_2_70 void g_notification_set_category(GNotification *notification, const gchar *category)
GIO_AVAILABLE_IN_2_40 void g_notification_add_button(GNotification *notification, const gchar *label, const gchar *detailed_action)
GIO_AVAILABLE_IN_2_40 void g_notification_set_title(GNotification *notification, const gchar *title)
GIO_AVAILABLE_IN_2_40 void g_notification_set_body(GNotification *notification, const gchar *body)
GIO_AVAILABLE_IN_2_40 GType g_notification_get_type(void) G_GNUC_CONST
G_BEGIN_DECLS typedef char gchar
typedefG_BEGIN_DECLS struct _GVariant GVariant
static const struct @51 priority[]
static void body(LexState *ls, expdesc *e, int needself, int line)