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
- ubuntu stonking: waylandpp-dev 1.0.1-2 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms