ExtronLib-CDS/extronlib/__init__.py
Triston Armstrong d82d9115a6 Fix directory structure
I accidentally ran git init in wrong folder lol
2021-09-13 11:56:35 -05:00

15 lines
614 B
Python

import device, interface, software, standard, system, ui_wrapper
__all__ = ['Version', 'event']
def Version():
""" Return the Extron Library version string in the form of <major>.<minor>.<revision>"""
return ''
def event(Object, EventName):
""" Decorate a function to be the handler of Object when EventName happens.
The decorated function must have the exact signature as specified by the definition of EventName, which must appear in the Object class or one of its parent classes. Lists of objects and/or events can be passed in to apply the same handler to multiple events.
"""
pass