KSPTextEdit
The KSPTextEdit
class allows you to connect to a ui_text_edit
in KSP.
import { KSPTextEdit } from kontakt
var text_edit = KSPTextEdit(id: "my_text_edit")
Constructors
constructor(id: String)
Connects to a ui_text_edit
in KSP with the given control ID.
Properties
connected: Bool (get)
Whether the control is connected. A control might not be connected if no corresponding control was found for the given id
.
custom_id: Int (get)
The value of $CONTROL_PAR_CUSTOM_ID
set on this control.
id: String (get)
The KSP control ID used this TextEdit is connected to.
text: String (get)
The TextEdit's value.