from lnx.logicnode.lnx_nodes import * class WebviewDestroyNode(LnxLogicTreeNode): """Destroys the given WebView and frees its resources""" bl_idname = 'LNWebviewDestroyNode' bl_label = 'Webview Destroy' lnx_category = 'Krom Runtime' lnx_section = 'webview' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketAction', 'In') self.add_input('LnxIntSocket', 'ID') self.add_output('LnxNodeSocketAction', 'Out')