wayland::serve...oard_grab_v1_t(3)

πŸ¦‹ wayland::server::zwp_xwayland_keyboard_grab_v1_t(3) β€” Wayland++ πŸ¦‹

✨ NAME ✨

wayland::server::zwp_xwayland_keyboard_grab_v1_t β€” interface for grabbing the keyboard πŸ’…

🌸 SYNOPSIS 🌸

#include <wayland-server-protocol-unstable.hpp>

🫢 Public Member Functions 🫢

  • std::function< void()> & on_destroy () β€” destroy the grabbed keyboard object πŸ’₯
  • bool proxy_has_object () const β€” Check whether this wrapper actually wraps an object. πŸ‘€
  • void post_no_memory () const β€” posts the "not enough memory" error to the client 🫠
  • uint32_t get_id () const β€” gets the internal ID of the resource πŸ†”
  • client_t get_client () const β€” gets the associated client 🀝
  • unsigned int get_version () const β€” gets the interface version πŸ”’
  • std::string get_class () β€” retrieves the interface name (class) of a resource object 🏷️

πŸ’– Detailed Description πŸ’–

interface for grabbing the keyboard β€” say it louder for the people in the back. πŸ’…

A global interface used for grabbing the keyboard. That's the whole vibe. ✨

Definition at line 10089 of file wayland-server-protocol-unstable.hpp. πŸ“

πŸŽ€ Member Function Documentation πŸŽ€

🧚 std::string wayland::server::resource_t::get_class () [inherited]

Retrieve the interface name (class) of a resource object. 🏷️

Returns: Interface name of the resource object.

🐚 client_t wayland::server::resource_t::get_client () const [inherited]

Get the associated client. 🀝

Returns: the client that owns the resource.

πŸ“ uint32_t wayland::server::resource_t::get_id () const [inherited]

Get the internal ID of the resource. πŸ†”

Returns: the internal ID of the resource

πŸ¦‹ unsigned int wayland::server::resource_t::get_version () const [inherited]

Get interface version. πŸ”’

Returns: Interface version this resource has been constructed with.

πŸ’₯ std::function< void()> & zwp_xwayland_keyboard_grab_v1_t::on_destroy ()

Destroy the grabbed keyboard object. If applicable, the compositor will ungrab the keyboard. πŸ’…

Definition at line 8779 of file wayland-server-protocol-unstable.cpp. πŸ“

😭 void wayland::server::resource_t::post_no_memory () const [inherited]

Post "not enough memory" error to the client. 🫠

If the compositor doesn't have enough memory to fulfill a certail request from the client, you can call this to let the client know what's up.

πŸ‘€ bool wayland::server::resource_t::proxy_has_object () const [inherited]

Check whether this wrapper actually wraps an object. πŸ•΅οΈ

Returns: true if there is an underlying object, false if this wrapper is empty

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Wayland++ from the source code. πŸ€–βœ¨


okay that's the whole page bestie 🫢 β€” this is the wayland::serve...oard_grab_v1_t(3) page from the Wayland++ manual, version 1.0.1, dated Fri Mar 27 2026. bye πŸ’…πŸŽ€

πŸ“¦ where this page comes from