Change window title with scripting (DEF-1791)

Ability to update the window title with scripting. Something like

sys.set_window_title( title )

Or model from love - many of the features they have Defold doesn’t and would be very useful

sys.window.set_title( title )
sys.window.get_title()

https://love2d.org/wiki/love.window

It could be supported for HTML5 builds too with helper.

document.title = title;

There are some kinds of games where being able to change the Window title is useful. Such as a form of notification for chat messages or events “(1) Game Title”.

2 Likes

I agree, would be nice! Added an issue for it: DEF-1791