Webview for RunT/Krom
This commit is contained in:
16
leenkx/blender/lnx/logicnode/krom/LN_copy_to_clipboard.py
Normal file
16
leenkx/blender/lnx/logicnode/krom/LN_copy_to_clipboard.py
Normal file
@ -0,0 +1,16 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
class KromCopyToClipboardNode(LnxLogicTreeNode):
|
||||
"""Copies the given text to the system clipboard"""
|
||||
bl_idname = 'LNKromCopyToClipboardNode'
|
||||
bl_label = 'Copy To Clipboard'
|
||||
lnx_category = 'Krom Runtime'
|
||||
lnx_section = 'system'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxStringSocket', 'Text')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
||||
Reference in New Issue
Block a user