Hello,
Is there a way to change the window icon in GLMakie?
Looks like it is set here, so if you don’t care about messing with undocumented internal state, this seems to work:
using FileIO # For loading images
using ColorTypes # for converting to RGBA
fig = Figure()
# depending on image storage, you may or may not need the conversion to RGBA
newicon = RGBA.(load("myimage.png"))
GLMakie.GLFW.SetWindowIcon(
fig.scene.current_screens[1].glscreen,
reinterpret(NTuple{4, UInt8}, newicon))