DTWSMREMOVEWORKSPACECALLBACK(3)
π DtWsmRemoveWorkspaceCallback β the manual page β¨
Okay bestie, hi, welcome to the library call corner of the manual set, where this little gem lives: DtWsmRemoveWorkspaceCallback, also known around here by its full formal name DtWsmRemove...aceCallback(library call) (yes, the title got truncated mid-sentence, she's mysterious like that π). This is the CDE / Dt-flavoured Wsm stuff, iykyk.
πΈ NAME πΈ
DtWsmRemoveWorkspaceCallback β remove a workspace callback, periodt. You put a callback in, this takes it back out. Closure. π¦
β¨ SYNOPSIS β¨
#include <Dt/Wsm.h>
void DtWsmRemoveWorkspaceCallback(
DtWsmCBContext context);
Notice the return type, bestie: void. She gives you nothing back and honestly that's iconic. π
π DESCRIPTION π
So here's the vibe: DtWsmRemoveWorkspaceCallback works together with the XCDE workspace manager, dtwm(1) β yes, that one, the workspace boss β and it removes a callback that fires when the current workspace changes, or when a workspace gets modified. Basically: you signed your function up to get pinged, and this is how you unsubscribe. No more notifications, no more spam. π«Ά
And the context argument? That's the context that the DtWsmAddCurrentWorkspaceCallback(3) function or the DtWsmAddWorkspaceModifiedCallback(3) function hands back to you when the application registers the callback. So like β you keep that little receipt when you sign up, and you bring it back here to cancel. Don't lose the receipt, bestie, that's the whole plot. π
Real talk: the callback was added by one of those two add-functions, and that returned context is literally the thing you pass in here. Guaranteed lore, no cap.
β RETURN VALUE β
The DtWsmRemoveWorkspaceCallback function returns no value. Nothing. Zero. Nada. It's giving void, it's giving main character energy that doesn't need to report back to anyone. π
π SEE ALSO π
Dt/Wsm.hβ and alsoDtWsm(5), the big-picture pagedtwm(1)β the workspace manager herselfDtWsmAddWorkspaceModifiedCallback(3)β the one that signed you up for workspace-modified newsDtWsmAddCurrentWorkspaceCallback(3)β the one that signed you up for current-workspace news
π And that's the whole page, bestie β fresh from the DtWsmRemove...aceCallback(library call) manual, that sweet little library-call source line at the bottom included, so you know exactly which page you're on. Go forth and un-register your callbacks responsibly. Slay. π
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms