Problem
The window title can only be set at creation (window(title, w, h) / aether_ui_app_create). There's no window_set_title(title) to change it while running. A file browser wants the title to track the current directory (fyles sets "Fyles : <dir>" on every navigation); a document app wants the open file's name; any app reflecting state in its title is stuck.
setTitle: is called in exactly one place (window creation) in aether_ui_macos.m; the same is true on the GTK4/Win32 backends.
Proposal
Add window_set_title(title: string) (targets the primary window) — [primary_window setTitle:] / gtk_window_set_title / SetWindowTextW. A handle-taking form for the multi-window (window_create) path too.
Impact
Lets apps reflect state in the title bar. Found building aether-lang-org/aefyles, where the window title is stuck at "aefyles" no matter where you navigate.
Problem
The window title can only be set at creation (
window(title, w, h)/aether_ui_app_create). There's nowindow_set_title(title)to change it while running. A file browser wants the title to track the current directory (fyles sets"Fyles : <dir>"on every navigation); a document app wants the open file's name; any app reflecting state in its title is stuck.setTitle:is called in exactly one place (window creation) inaether_ui_macos.m; the same is true on the GTK4/Win32 backends.Proposal
Add
window_set_title(title: string)(targets the primary window) —[primary_window setTitle:]/gtk_window_set_title/SetWindowTextW. A handle-taking form for the multi-window (window_create) path too.Impact
Lets apps reflect state in the title bar. Found building aether-lang-org/aefyles, where the window title is stuck at "aefyles" no matter where you navigate.