MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / InputWidget_SetText

Function InputWidget_SetText

src/Widgets.c:1411–1415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1409}
1410
1411void InputWidget_SetText(struct InputWidget* w, const cc_string* str) {
1412 InputWidget_Clear(w);
1413 InputWidget_DoAppendText(w, str);
1414 InputWidget_UpdateText(w);
1415}
1416
1417static void InputWidget_Free(void* widget) {
1418 struct InputWidget* w = (struct InputWidget*)widget;

Callers 6

MenuInputOverlay_DefaultFunction · 0.85
ChatScreen_TextChangedFunction · 0.85

Calls 3

InputWidget_ClearFunction · 0.85
InputWidget_DoAppendTextFunction · 0.85
InputWidget_UpdateTextFunction · 0.85

Tested by

no test coverage detected