wayland::zxdg...t_manager_v1_t(3)
π wayland::zxdg_output_manager_v1_t π
okay so this is the Wayland++ manual page for wayland::zxdg_output_manager_v1_t, section 3, bestie β it's giving βmanage xdg_output objectsβ and it's lowkey iconic. π
β¨
π NAME π
wayland::zxdg_output_manager_v1_t β manage xdg_output objects π¦
β¨ SYNOPSIS β¨
#include <wayland-client-protocol-unstable.hpp>
Inherits wayland::proxy_t.
πΈ Public Types πΈ
enum class wrapper_type { standard, display, foreign, proxy_wrapper }β the wrapper type enum, and yes bestie, the full breakdown is down below. π
π¦ Public Member Functions π¦
zxdg_output_v1_t get_xdg_output (output_t const &output)β create anxdg_outputfrom awl_output. πuint32_t get_id () constβ get the id of a proxy object. πstd::string get_class () constβ get the interface name (class) of a proxy object. πΈuint32_t get_version () constβ get the protocol object version of a proxy object. π«Άwrapper_type get_wrapper_type () constβ get the type of a proxy object. π¦void set_queue (event_queue_t queue)β assign a proxy to an event queue. πwl_proxy * c_ptr () constβ get a pointer to the underlying C struct. β¨bool proxy_has_object () constβ check whether this wrapper actually wraps an object. πoperator bool () constβ check whether this wrapper actually wraps an object. πbool operator== (const proxy_t &right) constβ check whether two wrappers refer to the same object. π«Άbool operator!= (const proxy_t &right) constβ check whether two wrappers refer to different objects. πvoid proxy_release ()β release the wrapped object (if any), making this an empty wrapper. π
π« Static Public Attributes π«
static constexpr std::uint32_t get_xdg_output_since_version = 1β minimum protocol version required for theget_xdg_outputfunction. π₯
π Detailed Description π
manage xdg_output objects. π
A global factory interface for xdg_output objects. β¨
Definition at line7481of filewayland-client-protocol-unstable.hpp. π
π Member Enumeration Documentation π
π¦ enum class wayland::proxy_t::wrapper_type [strong], [inherited] π¦
Underlying wl_proxy type and properties of a proxy_t that affect construction, destruction, and event handling. π«Ά
Enumerator
standardβ C pointer is a standard type compatible withwl_proxy*. Events are dispatched and it is destructed when theproxy_tis destructed. User data is set. β¨displayβ C pointer is awl_display*. No events are dispatched,wl_display_disconnectis called when theproxy_tis destructed. User data is set. πΈforeignβ C pointer is a standard type compatible withwl_proxy*, but another library owns it and it should not be touched in a way that could affect the operation of the other library. No events are dispatched,wl_proxy_destroyis not called when theproxy_tis destructed, user data is not touched. Consequently, there is no reference counting for theproxy_t. Lifetime of such wrappers should preferably be short to minimize the chance that the owning library decides to destroy thewl_proxy. β οΈproxy_wrapperβ C pointer is awl_proxy*that was constructed withwl_proxy_create_wrapper. No events are dispatched,wl_proxy_wrapper_destroyis called when theproxy_tis destroyed. Reference counting is active. A reference to theproxy_tcreating this proxy wrapper is held to extend its lifetime until after the proxy wrapper is destroyed. π
Definition at line117of filewayland-client.hpp. π
π Member Function Documentation π
wl_proxy * wayland::proxy_t::c_ptr () const [inherited]β get a pointer to the underlying C struct. π- Returns: The underlying
wl_proxywrapped by thisproxy_tif it exists, otherwise an exception is thrown. π
- Returns: The underlying
std::string wayland::proxy_t::get_class () const [inherited]β get the interface name (class) of a proxy object. πΈ- Returns: The interface name of the object associated with the proxy.
uint32_t wayland::proxy_t::get_id () const [inherited]β get the id of a proxy object. π- Returns: The id the object associated with the proxy.
uint32_t wayland::proxy_t::get_version () const [inherited]β get the protocol object version of a proxy object. Gets the protocol object version of a proxy object, or0if the proxy was created with unversioned API. π«Ά- A returned value of
0means that no version information is available, so the caller must make safe assumptions about the object's real version. β οΈ display_twill always return version0. π- Returns: The protocol object version of the proxy or
0.
- A returned value of
wrapper_type wayland::proxy_t::get_wrapper_type () const [inline], [inherited]β get the type of a proxy object. π¦- Definition: line
303of filewayland-client.hpp. π
- Definition: line
zxdg_output_v1_t zxdg_output_manager_v1_t::get_xdg_output (output_t const & output)β create anxdg_outputfrom awl_output. π- Parameters:
output - This creates a new
xdg_outputobject for the givenwl_output. β¨ - Definition: line
9516of filewayland-client-protocol-unstable.cpp. π
- Parameters:
wayland::proxy_t::operator bool () const [inherited]β check whether this wrapper actually wraps an object. π- Returns:
trueif there is an underlying object,falseif this wrapper is empty.
- Returns:
bool wayland::proxy_t::operator!= (const proxy_t & right) const [inherited]β check whether two wrappers refer to different objects. πbool wayland::proxy_t::operator== (const proxy_t & right) const [inherited]β check whether two wrappers refer to the same object. π«Άbool wayland::proxy_t::proxy_has_object () const [inherited]β check whether this wrapper actually wraps an object. π- Returns:
trueif there is an underlying object,falseif this wrapper is empty.
- Returns:
void wayland::proxy_t::proxy_release () [inherited]β release the wrapped object (if any), making this an empty wrapper. π- Note that
display_tinstances cannot be released this way. Attempts to do so are ignored. β οΈ - Examples:
foreign_display.cpp. β¨
- Note that
void wayland::proxy_t::set_queue (event_queue_t queue) [inherited]β assign a proxy to an event queue. π- Parameters:
queueβ the event queue that will handle this proxy. - Assign proxy to event queue. Events coming from proxy will be queued in
queueinstead of the display's main queue. π - See also:
display_t::dispatch_queue(). - Examples:
proxy_wrapper.cpp. β¨
- Parameters:
π Member Data Documentation π
std::uint32_t wayland::zxdg_output_manager_v1_t::get_xdg_output_since_version = 1 [static], [constexpr]β minimum protocol version required for theget_xdg_outputfunction. π₯- Definition: line
7513of filewayland-client-protocol-unstable.hpp. π
- Definition: line
π Author π
Generated automatically by Doxygen for Wayland++ from the source code. π«Ά
okay that's the whole manual, bestie β Version 1.0.1, dated Fri Mar 27 2026, Wayland++ footer page tag 13wayland::zxdg...t_manager_v1_t(3). No cap, that's the end. πβ¨
π¦ 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