Function zng_wgt_text::accepts_enter

source ยท
pub fn accepts_enter(
    child: impl UiNode,
    enabled: impl IntoVar<bool>,
) -> impl UiNode
Expand description

P If the '\n' character is inserted when enter is pressed and the text is editable.

Sets the ACCEPTS_ENTER_VAR.