Logo Search packages:      
Sourcecode: libnotify version File versions  Download package

NotifyNotification* notify_notification_new ( const gchar *  summary,
const gchar *  body,
const gchar *  icon,
GtkWidget *  attach 

notify_notification_new: : The required summary text. : The optional body text. : The optional icon theme icon name or filename. : The optional widget to attach to.

Creates a new NotifyNotification. The summary text is required, but all other parameters are optional.

Returns: The new NotifyNotification.

Definition at line 530 of file notification.c.

      g_return_val_if_fail(attach == NULL || GTK_IS_WIDGET(attach), NULL);

      return g_object_new(NOTIFY_TYPE_NOTIFICATION,
                                    "summary", summary,
                                    "body", body,
                                    "icon-name",  icon,
                                    "attach-widget", attach,

Generated by  Doxygen 1.6.0   Back to index