private static Godot.Node CreateNode(Props props) { var control = new Godot.LineEdit(); CopyToNode(control, null, props); return(control); }
private static Godot.Node CreateNode(Props props) { var control = new Godot.LineEdit(); CopyToNode(control, null, props); Component.RegisterLineEditSignals(control, props); return(control); }
public static void CopyToNode(Godot.LineEdit control, Props?oldProps, Props props) { ControlComponent.CopyToNode(control, oldProps, props); if (control.Text != props.text) { control.Text = props.text; } }
public static void CopyToNode(Godot.LineEdit control, Props?oldProps, Props props) { ControlComponent.CopyToNode(control, oldProps, props); if (control.Text != props.text) { control.Text = props.text; } props.onTextChanged?.Connect(control, "text_changed", oldProps?.onTextChanged); props.onTextEntered?.Connect(control, "text_entered", oldProps?.onTextEntered); }
protected override void SetSceneControl(Godot.Control control) { base.SetSceneControl(control); SceneControl = (Godot.LineEdit)control; }
public LineEdit(Godot.LineEdit control) : base(control) { }
internal LineEdit(Godot.LineEdit control) : base(control) { }
public LineEdit() { Base = new _LineEdit(this); }