View Single Post
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#12
Originally Posted by attila77 View Post
You could cheat, too... Here's a snippet (in C++, but I'd say your a pro enough by now to convert it to Python without any problems ).

Well, it's not quite a function yet, but it is quite sexy i'd say...

Code:
 bus = dbus.SessionBus()
        proxy = bus.get_object('org.freedesktop.Notifications', '/org/freedesktop/Notifications')
        interface = dbus.Interface(proxy,dbus_interface='org.freedesktop.Notifications')


        interface.Notify('Healthcheck', 0, '', 'W0000p', 'I R Sexy', [], {}, 2000)
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -