wayland::serv...blet_seat_v1_t(3)
π NAME π
wayland::server::zwp_tablet_seat_v1_t β controller object for graphic tablet devices of a seat.
Bestie, this is the Wayland++ manual page for wayland::serv...blet_seat_v1_t(3), and itβs literally all about the seatβs tablet-controller situation β¨.
β¨ SYNOPSIS β¨
#include <wayland-server-protocol-unstable.hpp>
π Public Member Functions π
std::function< void()> & on_destroy ()β release the memory for the tablet seat object.void tablet_added (bool post=true)β new device notification.void tool_added (bool post=true)β a new tool has been used with a tablet.bool proxy_has_object () constβ check whether this wrapper actually wraps an object.void post_no_memory () constβ post the no-memory error.uint32_t get_id () constβ get the internal ID.client_t get_client () constβ get the associated client.unsigned int get_version () constβ get the interface version.std::string get_class ()β get the interface name (class).
π Static Public Attributes π
static constexpr std::uint32_t tablet_added_since_version = 1β minimum protocol version required for thetablet_addedfunction.static constexpr std::uint32_t tool_added_since_version = 1β minimum protocol version required for thetool_addedfunction.
π¦ Detailed Description π¦
Controller object for graphic tablet devices of a seat. No cap, thatβs the whole vibe.
An object that provides access to the graphics tablets available on this seat. After binding to this interface, the compositor sends a set of wp_tablet_seat.tablet_added and wp_tablet_seat.tool_added events π«Ά.
Definition at line 4042 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_tablet_seat_v1_t::on_destroy ()
Release the memory for the tablet seat object. Destroy the wp_tablet_seat object. Objects created from this object are unaffected and should be destroyed separately π
.
Definition at line 6130 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 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.
π₯ void zwp_tablet_seat_v1_t::tablet_added (bool post = true)
New device notification.
Returns: the newly added graphics tablet.
This event is sent whenever a new tablet becomes available on this seat. This event only provides the object id of the tablet, any static information about the tablet (device name, vid/pid, etc.) is sent through the wp_tablet interface β¨.
Definition at line 6136 of file wayland-server-protocol-unstable.cpp.
π₯ void zwp_tablet_seat_v1_t::tool_added (bool post = true)
A new tool has been used with a tablet.
Returns: the newly added tablet tool.
This event is sent whenever a tool that has not previously been used with a tablet comes into use. This event only provides the object id of the tool; any static information about the tool (capabilities, type, etc.) is sent through the wp_tablet_tool interface β¨.
Definition at line 6141 of file wayland-server-protocol-unstable.cpp.
π Member Data Documentation π
π std::uint32_t wayland::server::zwp_tablet_seat_v1_t::tablet_added_since_version = 1 [static], [constexpr]
Minimum protocol version required for the tablet_added function.
Definition at line 4089 of file wayland-server-protocol-unstable.hpp.
π std::uint32_t wayland::server::zwp_tablet_seat_v1_t::tool_added_since_version = 1 [static], [constexpr]
Minimum protocol version required for the tool_added function.
Definition at line 4104 of file wayland-server-protocol-unstable.hpp.
π Author π
Generated automatically by Doxygen for Wayland++ from the source code π.
π Version π
This cutie came from the Wayland++ source, Version 1.0.1, dated Fri Mar 27 2026 13. Byeee bestie, go wrap those tablet-seat objects responsibly π β¨π«Ά
π¦ 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