Skip to content
Alessandro Febretti edited this page Aug 28, 2013 · 3 revisions

[[module omegaToolkit | Python-Reference#module-omegatoolkit]]

Manages the Porthole, a web-based interaction and display service for omegalib applications.

Methods

Method(s) Description
createAndInitialize(port, xmlPath, cssPath) static Creates a new instance of the porthole service

Examples

Initialization

	# Starts up the porthole service. 
	# The service will accept web requests on port 4480
	# app/app.xml contains the web interface definition (gui elements, output windows etc)
	# app/app.css defines the style of the interface. Can be left empty
	svc = PortholeService.createAndInitialize(4480, 'app/app.xml', 'app/app.css')
Clone this wiki locally