xcb_glx_delete_window(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸŽ€ xcb_glx_delete_window πŸŽ€

okay bestie, welcome to xcb_glx_delete_window from section 3 of the manual (that's the library-functions girlies, iykyk) πŸ’… this one lives in the XCB Requests corner of the universe and honestly? she's a whole mood. let's get into it ✨


🌸 NAME 🌸

xcb_glx_delete_window β€” literally no description given. the manpage said "here's a name" and dipped πŸ’€ that's it, that's the name section. iconic behavior fr fr.


πŸ¦‹ SYNOPSIS πŸ¦‹

first things first, you gotta pull in the header:

#include <xcb/glx.h>

✨ Request function ✨

and here's the girl herself:

xcb_void_cookie_t xcb_glx_delete_window(xcb_connection_t *conn,
       xcb_glx_window_t glxwindow);

πŸ’– REQUEST ARGUMENTS πŸ’–

  • conn β€” your XCB connection to X11. that's your lil phone line to the X server, your group chat with the display, your whole entire communication situation 🫢
  • glxwindow β€” the official docs say: TODO: NOT YET DOCUMENTED. so bestie... nobody wrote it down 😭 we simply do not know, and i refuse to make stuff up. moving on.

πŸŽ€ DESCRIPTION πŸŽ€

nothing here. absolutely nothing. the DESCRIPTION section is an empty room with really good lighting πŸ•―οΈβœ¨

⭐ RETURN VALUE ⭐

she hands you back an xcb_void_cookie_t πŸ’Œ and here's the tea β€” if any errors pop off, you have to handle them in the event loop. that's the assignment, no skipping.

but wait, plot twist: if you'd rather catch errors directly with xcb_request_check instead? then you use xcb_glx_delete_window_checked 🌈 go read xcb-requests(3) for the full breakdown, she explains it better than me.


πŸ”₯ ERRORS πŸ”₯

good news queen: this request does never generate any errors. zero. none. not a single one. she is drama-free, she is unproblematic, she has never started a fight in her life πŸ˜ŒπŸ’…


🧚 SEE ALSO 🧚

crickets. silence. the void. genuinely nothing listed here πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

Generated from glx.xml. and if you spot something wrong or wanna suggest a glow-up, contact xcb@lists.freedesktop.org for corrections and improvements πŸ“§βœ¨ they're nice, i promise.


X Version 11 🌸 libxcb 1.17.0 🌸 xcb_glx_delete_window(3)

and that's the whole page bestie!! tysm for reading, go delete a window (if you can find the documentation for it, which you cannot, but still) πŸ’–πŸ¦‹πŸŽ€ stay hydrated, keep your cookies checked, mwah πŸ’‹βœ¨