osso.Application

The OSSO Application object.

Constructor

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

osso.Application(context)
context The OSSO Context object related to the application.
Returns An application object. None is returned if an error happened.

application_top

This method tops an application (i.e. brings it to the foreground). If the application is not already running, D-BUS will launch it via the auto-activation mechanism. By using this method, only one instance of the application will be running at any given time. If the application is already running, this method will only bring it to the foreground.

osso.Application.application_top(application, arguments)
application The name of the application to top.
arguments This string lists some parameters for the application. It can be used to give the names of the files to open, etc. If no arguments are to be passed, this can be None.


Improve this page