Hi all, this is the code:
#include <libnotify/notify.h>
#include <stdio.h>
#include <unistd.h>
int main()
{
NotifyNotification *n;
notify_init("Basics");
n = notify_notification_new ("Summary",
"\nThis is the message that we want to display",
NULL, NULL);
notify_notification_set_timeout (n, 5000); // 5 seconds
if (!notify_notification_show (n, NULL))
{
return 1;
}
g_object_unref(G_OBJECT(n));
return 0;
}
It displays a message without any problem, but I want to add a specific image to it as many apps do so...
Is this possible with libnotify? And if it is, how do I do it?