View Single Post
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#144
Originally Posted by lightscribe View Post
just wondering about mono in n900 trying to find how to use gtk from c# ,cannot find info how to use yellow notification popup from c# code, maybe you guys know any useful web pages to learn more?
Sorry for disturbing this thread...
You can find information about hildon banners here:

GTK
Hildon 2.1.42: http://maemo.org/api_refs/5.0/alpha/libhildon/HildonBanner.html
Hildon 2.1.86: http://maemo.org/api_refs/5.0/beta/hildon/HildonBanner.html
Hildon 2.2.23: http://maemo.org/api_refs/5.0/5.0-final/hildon/HildonBanner.html

http://wiki.maemo.org/Legacy_Maemo_5_Documentation/Graphical_UI_Tutorial/Controls#Banners


QT
As an extra here the example for qt:
https://doc.qt.io/archives/qt-4.7/qm...mationbox.html

DBUS
This could be also run from mono/c# maybe with system or you know how to make a dbus call.
Another way is to use System.Diagnostics.Process in mono.

http://wiki.maemo.org/Documentation/..._D-Bus_service
http://wiki.maemo.org/Phone_control#Notifications
Code:
run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:'your message'

Last edited by Halftux; 2017-02-09 at 11:45. Reason: added hildon 2.2.23,qt references and dbus
 

The Following 6 Users Say Thank You to Halftux For This Useful Post: