lpcmanager
Clone
Summary
Browse
Changes
Graph
Create new widget - HMI:TouchDetect that can be added as page sibling to detect screen touches independently of screen saver and set PLC variable accordingly
py2compat
5 weeks ago, Dino Kosic
3ffbe4891f3c
Create new widget - HMI:TouchDetect that can be added as page sibling to detect screen touches independently of screen saver and set PLC variable accordingly
from __future__ import absolute_import
from editors.CodeFileEditor import CodeFileEditor
from py_ext.PythonEditor import PythonCodeEditor
class WxGladeEditor(CodeFileEditor):
CONFNODEEDITOR_TABS = [
(_("Python code"), "_create_CodePanel")]
CODE_EDITOR = PythonCodeEditor