Click or drag to resize

PythonScriptCreateTextEditorControl Method

Creates a control where the user is able to type Python code.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public abstract Object CreateTextEditorControl(
	string script,
	Action<string> helpcallback
)

Parameters

script
Type: SystemString
A starting script.
helpcallback
Type: SystemActionString
A method that is called when help is shown for a function, a class or a method.

Return Value

Type: Object
A Windows Forms control.
See Also