xwin_set_window_name(3alleg4)

✨ xwin_set_window_name(3alleg4) ✨

okay so bestie, we're in the Allegro manual and this page is xwin_set_window_name(3alleg4) β€” and yes, it's giving X window-manager bestie energy. πŸ¦‹


πŸŽ€ NAME πŸŽ€

xwin_set_window_name β€” specify the window name and group (or class).

Allegro game programming library. πŸ‘‘


🌸 SYNOPSIS 🌸

#include <allegro.h>

void xwin_set_window_name(const char *name, const char *group);

πŸ’… DESCRIPTION πŸ’…

This function is only available under X. No cap. It lets you specify the window name and group (or class).

They are important because they allow the window manager to remember the window attributes (position, layer, etc). Like, the window manager is literally taking notes so your window can come back in the right spot and the right layer.

Note that the name and the title of the window are two different things: the title is what appears in the title bar of the window, but usually has no other effects on the behaviour of the application. 🫢

πŸ‘€ SEE ALSO πŸ‘€


Allegro, version 4.4.3, xwin_set_window_name(3alleg4) β€” that's the whole page, bestie. Stay iconic πŸ’–βœ¨