PythonScriptCreateTextEditorControl Method |
Creates a control where the user is able to type Python code.
Namespace:
Rhino.Runtime
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic abstract Object CreateTextEditorControl(
string script,
Action<string> helpcallback
)
Public MustOverride Function CreateTextEditorControl (
script As String,
helpcallback As Action(Of String)
) As Object
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:
ObjectA Windows Forms control.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also