Python KSSPlugin Example

Introduction

The python kssplugin example is extracted from the most popular open source projects, you can refer to the following example for usage.

Programming language: Python

Namespace/package name: plugin

Example#1
File: action.pyProject: resa89/imusite

 def __init__(self, name, jsfile, command_factory, 
         params_mandatory, params_optional, deprecated):
     KSSPlugin.__init__(self, name, jsfile)
     self.command_factory = command_factory
     self.params_mandatory = params_mandatory
     self.params_optional = params_optional
     self.deprecated = deprecated

Example#2
File: event_type.pyProject: resa89/imusite

 def __init__(self, name, jsfile):
     KSSPlugin.__init__(self, name, jsfile)