osso.SystemNote

The LibOSSO SystemNote object.

Constructor

Creates a new osso.SystemNote based on the osso.Context object.

osso.SystemNote(context)
context The OSSO Context object related to the application.
Returns An system notification object to use in later calls to this library. None is returned if an error happened.

system_note_dialog

This method will request that a system note (a window that is modal to the whole system) is shown. The note has a single OK button. This function enables non-GUI programs to show some information to the user. Applications that do have a GUI should not use this function but the hildon.Note widget directly.

osso.SystemNote.system_note_dialog(message, type = 'notice')
message The contents for the system note.
type (optional) The type of system note. Can be 'warning', 'error', 'wait' or 'notice'.

system_note_infoprint

This function requests that the statusbar shows an infoprint (aka information banner). This allows non-GUI applications to display some information to the user. Applications that do have a GUI should not use this function.

osso.SystemNote.system_note_infoprint(message)
message The text to display on the infoprint.


Improve this page