wayland::server::callback_t(3)
π NAME π
Okay bestie, meet wayland::server::callback_t(3) β the callback object. Slay. β¨
β¨ SYNOPSIS β¨
#include <wayland-server-protocol.hpp>
πΈ Public Member Functions πΈ
void done (uint32_t callback_data, bool post=true)β done eventbool proxy_has_object () constβ Check whether this wrapper actually wraps an object.void post_no_memory () constuint32_t get_id () constclient_t get_client () constunsigned int get_version () conststd::string get_class ()
π Static Public Attributes π
static constexpr std::uint32_t done_since_version = 1β Minimum protocol version required for thedonefunction.
π Detailed Description π
callback_t is a callback object, and honestly itβs giving main character energy. π
Clients can handle the 'done' event to get notified when the related request is done.
Definition at line 220 of file wayland-server-protocol.hpp.
π¦ Member Function Documentation π¦
π void callback_t::done (uint32_t callback_data, bool post = true) π
done event
- Parameter:
callback_dataβ request-specific data for the callback - Notify the client when the related request is done.
- Definition at line 1617 of file
wayland-server-protocol.cpp.
π 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.
π void wayland::server::resource_t::post_no_memory () const [inherited] π
Post "not enough memory" error to the client
If the compositor has not enough memory to fulfill a certail request of the client, this function can be called to notify the client of this circumstance.
π 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
π Member Data Documentation π
π std::uint32_t wayland::server::callback_t::done_since_version = 1 [static], [constexpr] π
Minimum protocol version required for the done function.
Definition at line 255 of file wayland-server-protocol.hpp.
π Author π
Generated automatically by Doxygen for Wayland++ from the source code.
And thatβs the vibe check, bestie π β this iconic little page is Version 1.0.1, dated Fri Mar 27 2026 13:15. Mwah π«Άβ¨
π¦ 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