xcb_glx_create_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_create_window ✨

okay bestie, welcome to xcb_glx_create_window(3) β€” part of the XCB Requests crew, and yes we are reading manpages together now, this is our thing πŸ’…


🌸 NAME 🌸

xcb_glx_create_window β€” and that's literally it, the original left it blank, so no cap: this one's name is just the name πŸ™ˆ


πŸŽ€ SYNOPSIS πŸŽ€

first things first, you gotta pull in the header:

#include <xcb/glx.h>

πŸ’– Request function πŸ’–

here's the whole vibe, one function, six arguments, let's go:

xcb_void_cookie_t xcb_glx_create_window(xcb_connection_t *conn,
       uint32_t screen, xcb_glx_fbconfig_t fbconfig,
       xcb_window_t window, xcb_glx_window_t glx_window,
       uint32_t num_attribs, const uint32_t *attribs);

πŸ¦‹ REQUEST ARGUMENTS πŸ¦‹

  • conn β€” the XCB connection to X11. your lil hotline to the server, she's the main character fr πŸ”₯
  • screen β€” TODO: NOT YET DOCUMENTED. yeah bestie, the docs just didn't show up to class that day 😭
  • fbconfig β€” TODO: NOT YET DOCUMENTED. also a mystery, also iconic for it 🫢
  • window β€” TODO: NOT YET DOCUMENTED. no notes, no info, just vibes ✨
  • glx_window β€” TODO: NOT YET DOCUMENTED. the docs said "not me today" πŸ’€
  • num_attribs β€” TODO: NOT YET DOCUMENTED. still undocumented, still serving lewks πŸ‘‘
  • attribs β€” TODO: NOT YET DOCUMENTED. undocumented queen, we respect her 🌸
ngl the argument docs are giving empty group chat. the fields are all listed, the descriptions are all TODO: NOT YET DOCUMENTED., and that is the whole tea πŸ“

🌈 DESCRIPTION 🌈

okay so… the DESCRIPTION section in the original is literally empty. nothing. a blank canvas. it's giving "the author left it on read" 😭


⭐ RETURN VALUE ⭐

she returns an xcb_void_cookie_t. and listen β€” if there are errors (if any!!) you have to handle them in the event loop. that's the deal, no shortcuts πŸ’…

if you'd rather handle errors directly with xcb_request_check instead, then use xcb_glx_create_window_checked. see xcb-requests(3) for the details, bestie 🫢


πŸ’€ ERRORS πŸ’€

This request does never generate any errors.

periodt. zero errors. she's chill like that ✨


πŸ’œ SEE ALSO πŸ’œ

…and the SEE ALSO section is empty too. no references, no friends, just her and the void πŸ™ˆ


🧚 AUTHOR 🧚

Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements β€” that's the official bat-signal, use it wisely πŸ“§


and that's the whole page, bestie!! this was X Version 11, libxcb 1.17.0, page xcb_glx_create_window(3) β€” go forth and create those GLX windows, you absolute icon πŸ‘‘πŸ’–βœ¨