{"id":"runtime--Window.Open","name":"Window.Open","owner":"yeho","package":"runtime.Window","kind":"builtin","signature":"Window.Open(text title, int width, int height) -> void","description":"Open through the Window runtime.","context":"Built into Yeho; no package import is needed. Native services require an admitted host and the correct resource lifecycle.","parameters":[{"name":"title","type":"text","description":"Supply title as text.","rule":"Text"},{"name":"width","type":"int","description":"Supply width as int.","rule":"Int"},{"name":"height","type":"int","description":"Supply height as int.","rule":"Int"}],"returns":"void","members":[],"tags":["builtin","cpu","window","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"src/compiler/common/intrinsic_registry.cpp","line":971,"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 Window.Open","description":"A complete typed caller with illustrative arguments. Native operations need the corresponding host and resources.","code":"text title = \"Inventory\"\nint width = 1\nint height = 1\nWindow.Open(title, width, height)\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.runtime__window_open\"\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":"4d380f8bf7f13eb914da8305e74d0501c862fbaffdf6b96ce90ea98fe154301e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=runtime--Window.Open","json":"https://demonhunterlabs.com/reference/items/runtime--Window.Open.json","markdown":"https://demonhunterlabs.com/reference/text/runtime--Window.Open.md"}
