How to set the title of a Makie window?

How can I change the title of a a GLMakie window?

the GLMakie screen config has a title attribute, you can set it via activate! like here Backends · Makie or in the GLMakie.Screen constructor

1 Like

Thank you!

Hello,
while this solution works BEFORE displaying the window, it does NOT work after displaying a window. In other words, I cannot change the title of an existing Makie window that has already been activated.

Is there a way to achieve that?

If I could access the underlying GLFW window it should be possible:
https://www.glfw.org/docs/latest/window_guide.html#window_title

EDIT:
This works:

import GLMakie.GLFW

GLFW.SetWindowTitle(screen.glscreen, "New title...")
1 Like