{"id":"runtime--TextInput.SetCompositionPlacement","name":"TextInput.SetCompositionPlacement","owner":"yeho","package":"runtime.TextInput","kind":"builtin","signature":"TextInput.SetCompositionPlacement(int x, int y, int line_height) -> bool","description":"Set composition placement through the TextInput runtime.","context":"Built into Yeho; no package import is needed. Native services require an admitted host and the correct resource lifecycle.","parameters":[{"name":"x","type":"int","description":"Supply x as int.","rule":"Int"},{"name":"y","type":"int","description":"Supply y as int.","rule":"Int"},{"name":"line_height","type":"int","description":"Supply line height as int.","rule":"Int"}],"returns":"bool","members":[],"tags":["builtin","cpu","textinput","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"src/compiler/common/intrinsic_registry.cpp","line":1215,"sha256":"14d29529d2d3c0e2b587f83c7f125b99ada142ed7ae28612701ea6cb9174ac65"},"status":"registered-intrinsic","notes":["The example checks the call shape. Opening windows, recording audio, changing files, network operations, and process operations have real effects when run. Follow the corresponding package lifecycle before using live resources."],"examples":[{"id":"usage","title":"Call TextInput.SetCompositionPlacement","description":"A complete typed caller with illustrative arguments. Native operations need the corresponding host and resources.","code":"int x = 1\nint y = 1\nint line_height = 1\nbool result = TextInput.SetCompositionPlacement(x, y, line_height)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.runtime__textinput_setcompositionplacement\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","tags":["cpu","builtin"],"run":"cpu-oracle","verification":"type checked","sha256":"a8ac19e77c4a594f74c54227045a3d08dc8f22d68f408cca42862c724675deff","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=runtime--TextInput.SetCompositionPlacement","json":"https://demonhunterlabs.com/reference/items/runtime--TextInput.SetCompositionPlacement.json","markdown":"https://demonhunterlabs.com/reference/text/runtime--TextInput.SetCompositionPlacement.md"}
