View Full Version : How to use libnotify?
Bong.Da.City
25th August 2010, 17:01
When you change the volume,brightness,connect to a wireless and other things a notify is been shown.. Called libnotify.. How can i make for example an libnotify ( maybe with a push of a button ) telling hi bro.. With an icon always...
tbscope
26th August 2010, 05:53
libnotify is a library that makes use of GTK+
At least, you need to include the libnotify library when you link your program.
LIBS += -lnotify
And you need to make sure the include files can be found.
But, I guess you need to link to GTK+ too, but I don't know the correct names, probably something like -lgtk+ maybe with a version number.
Then you need to write the notification, here's an example:
http://manishtech.wordpress.com/2009/03/29/working-with-libnotify/
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.