Loading...
Searching...
No Matches
wayland-client-protocol-unstable.hpp
#pragma once
#include <array>
#include <cstdint>
#include <functional>
#include <memory>
#include <string>
#include <vector>
#include <wayland-client.hpp>
#include <wayland-client-protocol-extra.hpp>
struct zwp_fullscreen_shell_v1;
struct zwp_fullscreen_shell_mode_feedback_v1;
struct zwp_idle_inhibit_manager_v1;
struct zwp_idle_inhibitor_v1;
struct zwp_input_method_context_v1;
struct zwp_input_method_v1;
struct zwp_input_panel_v1;
struct zwp_input_panel_surface_v1;
struct zwp_input_timestamps_manager_v1;
struct zwp_input_timestamps_v1;
struct zwp_keyboard_shortcuts_inhibit_manager_v1;
struct zwp_keyboard_shortcuts_inhibitor_v1;
struct zwp_linux_dmabuf_v1;
struct zwp_linux_buffer_params_v1;
struct zwp_linux_dmabuf_feedback_v1;
struct zwp_linux_explicit_synchronization_v1;
struct zwp_linux_surface_synchronization_v1;
struct zwp_linux_buffer_release_v1;
struct zwp_pointer_constraints_v1;
struct zwp_locked_pointer_v1;
struct zwp_confined_pointer_v1;
struct zwp_pointer_gestures_v1;
struct zwp_pointer_gesture_swipe_v1;
struct zwp_pointer_gesture_pinch_v1;
struct zwp_pointer_gesture_hold_v1;
struct zwp_primary_selection_device_manager_v1;
struct zwp_primary_selection_device_v1;
struct zwp_primary_selection_offer_v1;
struct zwp_primary_selection_source_v1;
struct zwp_relative_pointer_manager_v1;
struct zwp_relative_pointer_v1;
struct zwp_tablet_manager_v1;
struct zwp_tablet_seat_v1;
struct zwp_tablet_tool_v1;
struct zwp_tablet_v1;
struct zwp_tablet_manager_v2;
struct zwp_tablet_seat_v2;
struct zwp_tablet_tool_v2;
struct zwp_tablet_v2;
struct zwp_tablet_pad_ring_v2;
struct zwp_tablet_pad_strip_v2;
struct zwp_tablet_pad_group_v2;
struct zwp_tablet_pad_v2;
struct zwp_text_input_v1;
struct zwp_text_input_manager_v1;
struct zwp_text_input_v3;
struct zwp_text_input_manager_v3;
struct xdg_activation_v1;
struct xdg_activation_token_v1;
struct zxdg_decoration_manager_v1;
struct zxdg_toplevel_decoration_v1;
struct zxdg_exporter_v1;
struct zxdg_importer_v1;
struct zxdg_exported_v1;
struct zxdg_imported_v1;
struct zxdg_exporter_v2;
struct zxdg_importer_v2;
struct zxdg_exported_v2;
struct zxdg_imported_v2;
struct zxdg_output_manager_v1;
struct zxdg_output_v1;
struct zxdg_shell_v6;
struct zxdg_positioner_v6;
struct zxdg_surface_v6;
struct zxdg_toplevel_v6;
struct zxdg_popup_v6;
struct zwp_xwayland_keyboard_grab_manager_v1;
struct zwp_xwayland_keyboard_grab_v1;
namespace wayland
{
class zwp_fullscreen_shell_v1_t;
enum class zwp_fullscreen_shell_v1_capability : uint32_t;
enum class zwp_fullscreen_shell_v1_present_method : uint32_t;
enum class zwp_fullscreen_shell_v1_error : uint32_t;
class zwp_fullscreen_shell_mode_feedback_v1_t;
class zwp_idle_inhibit_manager_v1_t;
class zwp_idle_inhibitor_v1_t;
class zwp_input_method_context_v1_t;
class zwp_input_method_v1_t;
class zwp_input_panel_v1_t;
class zwp_input_panel_surface_v1_t;
enum class zwp_input_panel_surface_v1_position : uint32_t;
class zwp_input_timestamps_manager_v1_t;
class zwp_input_timestamps_v1_t;
class zwp_keyboard_shortcuts_inhibit_manager_v1_t;
enum class zwp_keyboard_shortcuts_inhibit_manager_v1_error : uint32_t;
class zwp_keyboard_shortcuts_inhibitor_v1_t;
class zwp_linux_dmabuf_v1_t;
class zwp_linux_buffer_params_v1_t;
enum class zwp_linux_buffer_params_v1_error : uint32_t;
struct zwp_linux_buffer_params_v1_flags;
class zwp_linux_dmabuf_feedback_v1_t;
struct zwp_linux_dmabuf_feedback_v1_tranche_flags;
class zwp_linux_explicit_synchronization_v1_t;
enum class zwp_linux_explicit_synchronization_v1_error : uint32_t;
class zwp_linux_surface_synchronization_v1_t;
enum class zwp_linux_surface_synchronization_v1_error : uint32_t;
class zwp_linux_buffer_release_v1_t;
class zwp_pointer_constraints_v1_t;
enum class zwp_pointer_constraints_v1_error : uint32_t;
enum class zwp_pointer_constraints_v1_lifetime : uint32_t;
class zwp_locked_pointer_v1_t;
class zwp_confined_pointer_v1_t;
class zwp_pointer_gestures_v1_t;
class zwp_pointer_gesture_swipe_v1_t;
class zwp_pointer_gesture_pinch_v1_t;
class zwp_pointer_gesture_hold_v1_t;
class zwp_primary_selection_device_manager_v1_t;
class zwp_primary_selection_device_v1_t;
class zwp_primary_selection_offer_v1_t;
class zwp_primary_selection_source_v1_t;
class zwp_relative_pointer_manager_v1_t;
class zwp_relative_pointer_v1_t;
class zwp_tablet_manager_v1_t;
class zwp_tablet_seat_v1_t;
class zwp_tablet_tool_v1_t;
enum class zwp_tablet_tool_v1_type : uint32_t;
enum class zwp_tablet_tool_v1_capability : uint32_t;
enum class zwp_tablet_tool_v1_button_state : uint32_t;
enum class zwp_tablet_tool_v1_error : uint32_t;
class zwp_tablet_v1_t;
class zwp_tablet_manager_v2_t;
class zwp_tablet_seat_v2_t;
class zwp_tablet_tool_v2_t;
enum class zwp_tablet_tool_v2_type : uint32_t;
enum class zwp_tablet_tool_v2_capability : uint32_t;
enum class zwp_tablet_tool_v2_button_state : uint32_t;
enum class zwp_tablet_tool_v2_error : uint32_t;
class zwp_tablet_v2_t;
class zwp_tablet_pad_ring_v2_t;
enum class zwp_tablet_pad_ring_v2_source : uint32_t;
class zwp_tablet_pad_strip_v2_t;
enum class zwp_tablet_pad_strip_v2_source : uint32_t;
class zwp_tablet_pad_group_v2_t;
class zwp_tablet_pad_v2_t;
enum class zwp_tablet_pad_v2_button_state : uint32_t;
class zwp_text_input_v1_t;
struct zwp_text_input_v1_content_hint;
enum class zwp_text_input_v1_content_purpose : uint32_t;
enum class zwp_text_input_v1_preedit_style : uint32_t;
enum class zwp_text_input_v1_text_direction : uint32_t;
class zwp_text_input_manager_v1_t;
class zwp_text_input_v3_t;
enum class zwp_text_input_v3_change_cause : uint32_t;
struct zwp_text_input_v3_content_hint;
enum class zwp_text_input_v3_content_purpose : uint32_t;
class zwp_text_input_manager_v3_t;
class xdg_activation_v1_t;
class xdg_activation_token_v1_t;
enum class xdg_activation_token_v1_error : uint32_t;
class zxdg_decoration_manager_v1_t;
class zxdg_toplevel_decoration_v1_t;
enum class zxdg_toplevel_decoration_v1_error : uint32_t;
enum class zxdg_toplevel_decoration_v1_mode : uint32_t;
class zxdg_exporter_v1_t;
class zxdg_importer_v1_t;
class zxdg_exported_v1_t;
class zxdg_imported_v1_t;
class zxdg_exporter_v2_t;
enum class zxdg_exporter_v2_error : uint32_t;
class zxdg_importer_v2_t;
class zxdg_exported_v2_t;
class zxdg_imported_v2_t;
enum class zxdg_imported_v2_error : uint32_t;
class zxdg_output_manager_v1_t;
class zxdg_output_v1_t;
class zxdg_shell_v6_t;
enum class zxdg_shell_v6_error : uint32_t;
class zxdg_positioner_v6_t;
enum class zxdg_positioner_v6_error : uint32_t;
struct zxdg_positioner_v6_anchor;
struct zxdg_positioner_v6_gravity;
struct zxdg_positioner_v6_constraint_adjustment;
class zxdg_surface_v6_t;
enum class zxdg_surface_v6_error : uint32_t;
class zxdg_toplevel_v6_t;
struct zxdg_toplevel_v6_resize_edge;
enum class zxdg_toplevel_v6_state : uint32_t;
class zxdg_popup_v6_t;
enum class zxdg_popup_v6_error : uint32_t;
class zwp_xwayland_keyboard_grab_manager_v1_t;
class zwp_xwayland_keyboard_grab_v1_t;
namespace detail
{
extern const wl_interface zwp_fullscreen_shell_v1_interface;
extern const wl_interface zwp_fullscreen_shell_mode_feedback_v1_interface;
extern const wl_interface zwp_idle_inhibit_manager_v1_interface;
extern const wl_interface zwp_idle_inhibitor_v1_interface;
extern const wl_interface zwp_input_method_context_v1_interface;
extern const wl_interface zwp_input_method_v1_interface;
extern const wl_interface zwp_input_panel_v1_interface;
extern const wl_interface zwp_input_panel_surface_v1_interface;
extern const wl_interface zwp_input_timestamps_manager_v1_interface;
extern const wl_interface zwp_input_timestamps_v1_interface;
extern const wl_interface zwp_keyboard_shortcuts_inhibit_manager_v1_interface;
extern const wl_interface zwp_keyboard_shortcuts_inhibitor_v1_interface;
extern const wl_interface zwp_linux_dmabuf_v1_interface;
extern const wl_interface zwp_linux_buffer_params_v1_interface;
extern const wl_interface zwp_linux_dmabuf_feedback_v1_interface;
extern const wl_interface zwp_linux_explicit_synchronization_v1_interface;
extern const wl_interface zwp_linux_surface_synchronization_v1_interface;
extern const wl_interface zwp_linux_buffer_release_v1_interface;
extern const wl_interface zwp_pointer_constraints_v1_interface;
extern const wl_interface zwp_locked_pointer_v1_interface;
extern const wl_interface zwp_confined_pointer_v1_interface;
extern const wl_interface zwp_pointer_gestures_v1_interface;
extern const wl_interface zwp_pointer_gesture_swipe_v1_interface;
extern const wl_interface zwp_pointer_gesture_pinch_v1_interface;
extern const wl_interface zwp_pointer_gesture_hold_v1_interface;
extern const wl_interface zwp_primary_selection_device_manager_v1_interface;
extern const wl_interface zwp_primary_selection_device_v1_interface;
extern const wl_interface zwp_primary_selection_offer_v1_interface;
extern const wl_interface zwp_primary_selection_source_v1_interface;
extern const wl_interface zwp_relative_pointer_manager_v1_interface;
extern const wl_interface zwp_relative_pointer_v1_interface;
extern const wl_interface zwp_tablet_manager_v1_interface;
extern const wl_interface zwp_tablet_seat_v1_interface;
extern const wl_interface zwp_tablet_tool_v1_interface;
extern const wl_interface zwp_tablet_v1_interface;
extern const wl_interface zwp_tablet_manager_v2_interface;
extern const wl_interface zwp_tablet_seat_v2_interface;
extern const wl_interface zwp_tablet_tool_v2_interface;
extern const wl_interface zwp_tablet_v2_interface;
extern const wl_interface zwp_tablet_pad_ring_v2_interface;
extern const wl_interface zwp_tablet_pad_strip_v2_interface;
extern const wl_interface zwp_tablet_pad_group_v2_interface;
extern const wl_interface zwp_tablet_pad_v2_interface;
extern const wl_interface zwp_text_input_v1_interface;
extern const wl_interface zwp_text_input_manager_v1_interface;
extern const wl_interface zwp_text_input_v3_interface;
extern const wl_interface zwp_text_input_manager_v3_interface;
extern const wl_interface xdg_activation_v1_interface;
extern const wl_interface xdg_activation_token_v1_interface;
extern const wl_interface zxdg_decoration_manager_v1_interface;
extern const wl_interface zxdg_toplevel_decoration_v1_interface;
extern const wl_interface zxdg_exporter_v1_interface;
extern const wl_interface zxdg_importer_v1_interface;
extern const wl_interface zxdg_exported_v1_interface;
extern const wl_interface zxdg_imported_v1_interface;
extern const wl_interface zxdg_exporter_v2_interface;
extern const wl_interface zxdg_importer_v2_interface;
extern const wl_interface zxdg_exported_v2_interface;
extern const wl_interface zxdg_imported_v2_interface;
extern const wl_interface zxdg_output_manager_v1_interface;
extern const wl_interface zxdg_output_v1_interface;
extern const wl_interface zxdg_shell_v6_interface;
extern const wl_interface zxdg_positioner_v6_interface;
extern const wl_interface zxdg_surface_v6_interface;
extern const wl_interface zxdg_toplevel_v6_interface;
extern const wl_interface zxdg_popup_v6_interface;
extern const wl_interface zwp_xwayland_keyboard_grab_manager_v1_interface;
extern const wl_interface zwp_xwayland_keyboard_grab_v1_interface;
}
class zwp_fullscreen_shell_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(zwp_fullscreen_shell_v1_capability)> capability;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_fullscreen_shell_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_fullscreen_shell_v1_t();
explicit zwp_fullscreen_shell_v1_t(const proxy_t &proxy);
zwp_fullscreen_shell_v1_t(zwp_fullscreen_shell_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_fullscreen_shell_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_fullscreen_shell_v1*() const;
void release();
static constexpr std::uint32_t release_since_version = 1;
void present_surface(surface_t const& surface, zwp_fullscreen_shell_v1_present_method const& method, output_t const& output);
static constexpr std::uint32_t present_surface_since_version = 1;
zwp_fullscreen_shell_mode_feedback_v1_t present_surface_for_mode(surface_t const& surface, output_t const& output, int32_t framerate);
static constexpr std::uint32_t present_surface_for_mode_since_version = 1;
std::function<void(zwp_fullscreen_shell_v1_capability)> &on_capability();
};
enum class zwp_fullscreen_shell_v1_capability : uint32_t
{
arbitrary_modes = 1,
cursor_plane = 2
};
enum class zwp_fullscreen_shell_v1_present_method : uint32_t
{
_default = 0,
center = 1,
zoom = 2,
zoom_crop = 3,
stretch = 4
};
enum class zwp_fullscreen_shell_v1_error : uint32_t
{
invalid_method = 0,
role = 1
};
class zwp_fullscreen_shell_mode_feedback_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void()> mode_successful;
std::function<void()> mode_failed;
std::function<void()> present_cancelled;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_fullscreen_shell_mode_feedback_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_fullscreen_shell_mode_feedback_v1_t();
explicit zwp_fullscreen_shell_mode_feedback_v1_t(const proxy_t &proxy);
zwp_fullscreen_shell_mode_feedback_v1_t(zwp_fullscreen_shell_mode_feedback_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_fullscreen_shell_mode_feedback_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_fullscreen_shell_mode_feedback_v1*() const;
std::function<void()> &on_mode_successful();
std::function<void()> &on_mode_failed();
std::function<void()> &on_present_cancelled();
};
class zwp_idle_inhibit_manager_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_idle_inhibit_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_idle_inhibit_manager_v1_t();
explicit zwp_idle_inhibit_manager_v1_t(const proxy_t &proxy);
zwp_idle_inhibit_manager_v1_t(zwp_idle_inhibit_manager_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_idle_inhibit_manager_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_idle_inhibit_manager_v1*() const;
zwp_idle_inhibitor_v1_t create_inhibitor(surface_t const& surface);
static constexpr std::uint32_t create_inhibitor_since_version = 1;
};
class zwp_idle_inhibitor_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_idle_inhibitor_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_idle_inhibitor_v1_t();
explicit zwp_idle_inhibitor_v1_t(const proxy_t &proxy);
zwp_idle_inhibitor_v1_t(zwp_idle_inhibitor_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_idle_inhibitor_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_idle_inhibitor_v1*() const;
};
class zwp_input_method_context_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(std::string, uint32_t, uint32_t)> surrounding_text;
std::function<void()> reset;
std::function<void(zwp_text_input_v1_content_hint, zwp_text_input_v1_content_purpose)> content_type;
std::function<void(uint32_t, uint32_t)> invoke_action;
std::function<void(uint32_t)> commit_state;
std::function<void(std::string)> preferred_language;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_input_method_context_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_input_method_context_v1_t();
explicit zwp_input_method_context_v1_t(const proxy_t &proxy);
zwp_input_method_context_v1_t(zwp_input_method_context_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_input_method_context_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_input_method_context_v1*() const;
void commit_string(uint32_t serial, std::string const& text);
static constexpr std::uint32_t commit_string_since_version = 1;
void preedit_string(uint32_t serial, std::string const& text, std::string const& commit);
static constexpr std::uint32_t preedit_string_since_version = 1;
void preedit_styling(uint32_t index, uint32_t length, zwp_text_input_v1_preedit_style const& style);
static constexpr std::uint32_t preedit_styling_since_version = 1;
void preedit_cursor(int32_t index);
static constexpr std::uint32_t preedit_cursor_since_version = 1;
void delete_surrounding_text(int32_t index, uint32_t length);
static constexpr std::uint32_t delete_surrounding_text_since_version = 1;
void cursor_position(int32_t index, int32_t anchor);
static constexpr std::uint32_t cursor_position_since_version = 1;
void modifiers_map(array_t const& map);
static constexpr std::uint32_t modifiers_map_since_version = 1;
void keysym(uint32_t serial, uint32_t time, uint32_t sym, keyboard_key_state const& state, uint32_t modifiers);
static constexpr std::uint32_t keysym_since_version = 1;
keyboard_t grab_keyboard();
static constexpr std::uint32_t grab_keyboard_since_version = 1;
void key(uint32_t serial, uint32_t time, uint32_t key, keyboard_key_state const& state);
static constexpr std::uint32_t key_since_version = 1;
void modifiers(uint32_t serial, uint32_t mods_depressed, uint32_t mods_latched, uint32_t mods_locked, uint32_t group);
static constexpr std::uint32_t modifiers_since_version = 1;
void language(uint32_t serial, std::string const& language);
static constexpr std::uint32_t language_since_version = 1;
void text_direction(uint32_t serial, uint32_t direction);
static constexpr std::uint32_t text_direction_since_version = 1;
std::function<void(std::string, uint32_t, uint32_t)> &on_surrounding_text();
std::function<void()> &on_reset();
std::function<void(zwp_text_input_v1_content_hint, zwp_text_input_v1_content_purpose)> &on_content_type();
std::function<void(uint32_t, uint32_t)> &on_invoke_action();
std::function<void(uint32_t)> &on_commit_state();
std::function<void(std::string)> &on_preferred_language();
};
class zwp_input_method_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(zwp_input_method_context_v1_t)> activate;
std::function<void(zwp_input_method_context_v1_t)> deactivate;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_input_method_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_input_method_v1_t();
explicit zwp_input_method_v1_t(const proxy_t &proxy);
zwp_input_method_v1_t(zwp_input_method_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_input_method_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_input_method_v1*() const;
std::function<void(zwp_input_method_context_v1_t)> &on_activate();
std::function<void(zwp_input_method_context_v1_t)> &on_deactivate();
};
class zwp_input_panel_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_input_panel_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_input_panel_v1_t();
explicit zwp_input_panel_v1_t(const proxy_t &proxy);
zwp_input_panel_v1_t(zwp_input_panel_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_input_panel_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_input_panel_v1*() const;
zwp_input_panel_surface_v1_t get_input_panel_surface(surface_t const& surface);
static constexpr std::uint32_t get_input_panel_surface_since_version = 1;
};
class zwp_input_panel_surface_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_input_panel_surface_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_input_panel_surface_v1_t();
explicit zwp_input_panel_surface_v1_t(const proxy_t &proxy);
zwp_input_panel_surface_v1_t(zwp_input_panel_surface_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_input_panel_surface_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_input_panel_surface_v1*() const;
void set_toplevel(output_t const& output, zwp_input_panel_surface_v1_position const& position);
static constexpr std::uint32_t set_toplevel_since_version = 1;
void set_overlay_panel();
static constexpr std::uint32_t set_overlay_panel_since_version = 1;
};
enum class zwp_input_panel_surface_v1_position : uint32_t
{
center_bottom = 0
};
class zwp_input_timestamps_manager_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_input_timestamps_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_input_timestamps_manager_v1_t();
explicit zwp_input_timestamps_manager_v1_t(const proxy_t &proxy);
zwp_input_timestamps_manager_v1_t(zwp_input_timestamps_manager_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_input_timestamps_manager_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_input_timestamps_manager_v1*() const;
zwp_input_timestamps_v1_t get_keyboard_timestamps(keyboard_t const& keyboard);
static constexpr std::uint32_t get_keyboard_timestamps_since_version = 1;
zwp_input_timestamps_v1_t get_pointer_timestamps(pointer_t const& pointer);
static constexpr std::uint32_t get_pointer_timestamps_since_version = 1;
zwp_input_timestamps_v1_t get_touch_timestamps(touch_t const& touch);
static constexpr std::uint32_t get_touch_timestamps_since_version = 1;
};
class zwp_input_timestamps_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(uint32_t, uint32_t, uint32_t)> timestamp;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_input_timestamps_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_input_timestamps_v1_t();
explicit zwp_input_timestamps_v1_t(const proxy_t &proxy);
zwp_input_timestamps_v1_t(zwp_input_timestamps_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_input_timestamps_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_input_timestamps_v1*() const;
std::function<void(uint32_t, uint32_t, uint32_t)> &on_timestamp();
};
class zwp_keyboard_shortcuts_inhibit_manager_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_keyboard_shortcuts_inhibit_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_keyboard_shortcuts_inhibit_manager_v1_t();
explicit zwp_keyboard_shortcuts_inhibit_manager_v1_t(const proxy_t &proxy);
zwp_keyboard_shortcuts_inhibit_manager_v1_t(zwp_keyboard_shortcuts_inhibit_manager_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_keyboard_shortcuts_inhibit_manager_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_keyboard_shortcuts_inhibit_manager_v1*() const;
zwp_keyboard_shortcuts_inhibitor_v1_t inhibit_shortcuts(surface_t const& surface, seat_t const& seat);
static constexpr std::uint32_t inhibit_shortcuts_since_version = 1;
};
enum class zwp_keyboard_shortcuts_inhibit_manager_v1_error : uint32_t
{
already_inhibited = 0
};
class zwp_keyboard_shortcuts_inhibitor_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void()> active;
std::function<void()> inactive;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_keyboard_shortcuts_inhibitor_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_keyboard_shortcuts_inhibitor_v1_t();
explicit zwp_keyboard_shortcuts_inhibitor_v1_t(const proxy_t &proxy);
zwp_keyboard_shortcuts_inhibitor_v1_t(zwp_keyboard_shortcuts_inhibitor_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_keyboard_shortcuts_inhibitor_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_keyboard_shortcuts_inhibitor_v1*() const;
std::function<void()> &on_active();
std::function<void()> &on_inactive();
};
class zwp_linux_dmabuf_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(uint32_t)> format;
std::function<void(uint32_t, uint32_t, uint32_t)> modifier;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_linux_dmabuf_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_linux_dmabuf_v1_t();
explicit zwp_linux_dmabuf_v1_t(const proxy_t &proxy);
zwp_linux_dmabuf_v1_t(zwp_linux_dmabuf_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_linux_dmabuf_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_linux_dmabuf_v1*() const;
zwp_linux_buffer_params_v1_t create_params();
static constexpr std::uint32_t create_params_since_version = 1;
zwp_linux_dmabuf_feedback_v1_t get_default_feedback();
static constexpr std::uint32_t get_default_feedback_since_version = 4;
bool can_get_default_feedback() const;
zwp_linux_dmabuf_feedback_v1_t get_surface_feedback(surface_t const& surface);
static constexpr std::uint32_t get_surface_feedback_since_version = 4;
bool can_get_surface_feedback() const;
std::function<void(uint32_t)> &on_format();
std::function<void(uint32_t, uint32_t, uint32_t)> &on_modifier();
};
class zwp_linux_buffer_params_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(buffer_t)> created;
std::function<void()> failed;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_linux_buffer_params_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_linux_buffer_params_v1_t();
explicit zwp_linux_buffer_params_v1_t(const proxy_t &proxy);
zwp_linux_buffer_params_v1_t(zwp_linux_buffer_params_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_linux_buffer_params_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_linux_buffer_params_v1*() const;
void add(int fd, uint32_t plane_idx, uint32_t offset, uint32_t stride, uint32_t modifier_hi, uint32_t modifier_lo);
static constexpr std::uint32_t add_since_version = 1;
void create(int32_t width, int32_t height, uint32_t format, zwp_linux_buffer_params_v1_flags const& flags);
static constexpr std::uint32_t create_since_version = 1;
buffer_t create_immed(int32_t width, int32_t height, uint32_t format, zwp_linux_buffer_params_v1_flags const& flags);
static constexpr std::uint32_t create_immed_since_version = 2;
bool can_create_immed() const;
std::function<void(buffer_t)> &on_created();
std::function<void()> &on_failed();
};
enum class zwp_linux_buffer_params_v1_error : uint32_t
{
already_used = 0,
plane_idx = 1,
plane_set = 2,
incomplete = 3,
invalid_format = 4,
invalid_dimensions = 5,
out_of_bounds = 6,
invalid_wl_buffer = 7
};
struct zwp_linux_buffer_params_v1_flags : public wayland::detail::bitfield<3, 6>
{
zwp_linux_buffer_params_v1_flags(const wayland::detail::bitfield<3, 6> &b)
: wayland::detail::bitfield<3, 6>(b) {}
zwp_linux_buffer_params_v1_flags(const uint32_t value)
: wayland::detail::bitfield<3, 6>(value) {}
static const wayland::detail::bitfield<3, 6> y_invert;
static const wayland::detail::bitfield<3, 6> interlaced;
static const wayland::detail::bitfield<3, 6> bottom_first;
};
class zwp_linux_dmabuf_feedback_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void()> done;
std::function<void(int, uint32_t)> format_table;
std::function<void(array_t)> main_device;
std::function<void()> tranche_done;
std::function<void(array_t)> tranche_target_device;
std::function<void(array_t)> tranche_formats;
std::function<void(zwp_linux_dmabuf_feedback_v1_tranche_flags)> tranche_flags;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_linux_dmabuf_feedback_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_linux_dmabuf_feedback_v1_t();
explicit zwp_linux_dmabuf_feedback_v1_t(const proxy_t &proxy);
zwp_linux_dmabuf_feedback_v1_t(zwp_linux_dmabuf_feedback_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_linux_dmabuf_feedback_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_linux_dmabuf_feedback_v1*() const;
std::function<void()> &on_done();
std::function<void(int, uint32_t)> &on_format_table();
std::function<void(array_t)> &on_main_device();
std::function<void()> &on_tranche_done();
std::function<void(array_t)> &on_tranche_target_device();
std::function<void(array_t)> &on_tranche_formats();
std::function<void(zwp_linux_dmabuf_feedback_v1_tranche_flags)> &on_tranche_flags();
};
struct zwp_linux_dmabuf_feedback_v1_tranche_flags : public wayland::detail::bitfield<1, 7>
{
zwp_linux_dmabuf_feedback_v1_tranche_flags(const wayland::detail::bitfield<1, 7> &b)
: wayland::detail::bitfield<1, 7>(b) {}
zwp_linux_dmabuf_feedback_v1_tranche_flags(const uint32_t value)
: wayland::detail::bitfield<1, 7>(value) {}
static const wayland::detail::bitfield<1, 7> scanout;
};
class zwp_linux_explicit_synchronization_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_linux_explicit_synchronization_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_linux_explicit_synchronization_v1_t();
explicit zwp_linux_explicit_synchronization_v1_t(const proxy_t &proxy);
zwp_linux_explicit_synchronization_v1_t(zwp_linux_explicit_synchronization_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_linux_explicit_synchronization_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_linux_explicit_synchronization_v1*() const;
zwp_linux_surface_synchronization_v1_t get_synchronization(surface_t const& surface);
static constexpr std::uint32_t get_synchronization_since_version = 1;
};
enum class zwp_linux_explicit_synchronization_v1_error : uint32_t
{
synchronization_exists = 0
};
class zwp_linux_surface_synchronization_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_linux_surface_synchronization_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_linux_surface_synchronization_v1_t();
explicit zwp_linux_surface_synchronization_v1_t(const proxy_t &proxy);
zwp_linux_surface_synchronization_v1_t(zwp_linux_surface_synchronization_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_linux_surface_synchronization_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_linux_surface_synchronization_v1*() const;
void set_acquire_fence(int fd);
static constexpr std::uint32_t set_acquire_fence_since_version = 1;
zwp_linux_buffer_release_v1_t get_release();
static constexpr std::uint32_t get_release_since_version = 1;
};
enum class zwp_linux_surface_synchronization_v1_error : uint32_t
{
invalid_fence = 0,
duplicate_fence = 1,
duplicate_release = 2,
no_surface = 3,
unsupported_buffer = 4,
no_buffer = 5
};
class zwp_linux_buffer_release_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(int)> fenced_release;
std::function<void()> immediate_release;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_linux_buffer_release_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_linux_buffer_release_v1_t();
explicit zwp_linux_buffer_release_v1_t(const proxy_t &proxy);
zwp_linux_buffer_release_v1_t(zwp_linux_buffer_release_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_linux_buffer_release_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_linux_buffer_release_v1*() const;
std::function<void(int)> &on_fenced_release();
std::function<void()> &on_immediate_release();
};
class zwp_pointer_constraints_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_pointer_constraints_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_pointer_constraints_v1_t();
explicit zwp_pointer_constraints_v1_t(const proxy_t &proxy);
zwp_pointer_constraints_v1_t(zwp_pointer_constraints_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_pointer_constraints_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_pointer_constraints_v1*() const;
zwp_locked_pointer_v1_t lock_pointer(surface_t const& surface, pointer_t const& pointer, region_t const& region, zwp_pointer_constraints_v1_lifetime const& lifetime);
static constexpr std::uint32_t lock_pointer_since_version = 1;
zwp_confined_pointer_v1_t confine_pointer(surface_t const& surface, pointer_t const& pointer, region_t const& region, zwp_pointer_constraints_v1_lifetime const& lifetime);
static constexpr std::uint32_t confine_pointer_since_version = 1;
};
enum class zwp_pointer_constraints_v1_error : uint32_t
{
already_constrained = 1
};
enum class zwp_pointer_constraints_v1_lifetime : uint32_t
{
oneshot = 1,
persistent = 2
};
class zwp_locked_pointer_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void()> locked;
std::function<void()> unlocked;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_locked_pointer_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_locked_pointer_v1_t();
explicit zwp_locked_pointer_v1_t(const proxy_t &proxy);
zwp_locked_pointer_v1_t(zwp_locked_pointer_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_locked_pointer_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_locked_pointer_v1*() const;
void set_cursor_position_hint(double surface_x, double surface_y);
static constexpr std::uint32_t set_cursor_position_hint_since_version = 1;
void set_region(region_t const& region);
static constexpr std::uint32_t set_region_since_version = 1;
std::function<void()> &on_locked();
std::function<void()> &on_unlocked();
};
class zwp_confined_pointer_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void()> confined;
std::function<void()> unconfined;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_confined_pointer_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_confined_pointer_v1_t();
explicit zwp_confined_pointer_v1_t(const proxy_t &proxy);
zwp_confined_pointer_v1_t(zwp_confined_pointer_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_confined_pointer_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_confined_pointer_v1*() const;
void set_region(region_t const& region);
static constexpr std::uint32_t set_region_since_version = 1;
std::function<void()> &on_confined();
std::function<void()> &on_unconfined();
};
class zwp_pointer_gestures_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_pointer_gestures_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_pointer_gestures_v1_t();
explicit zwp_pointer_gestures_v1_t(const proxy_t &proxy);
zwp_pointer_gestures_v1_t(zwp_pointer_gestures_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_pointer_gestures_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_pointer_gestures_v1*() const;
zwp_pointer_gesture_swipe_v1_t get_swipe_gesture(pointer_t const& pointer);
static constexpr std::uint32_t get_swipe_gesture_since_version = 1;
zwp_pointer_gesture_pinch_v1_t get_pinch_gesture(pointer_t const& pointer);
static constexpr std::uint32_t get_pinch_gesture_since_version = 1;
void release();
static constexpr std::uint32_t release_since_version = 2;
bool can_release() const;
zwp_pointer_gesture_hold_v1_t get_hold_gesture(pointer_t const& pointer);
static constexpr std::uint32_t get_hold_gesture_since_version = 3;
bool can_get_hold_gesture() const;
};
class zwp_pointer_gesture_swipe_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(uint32_t, uint32_t, surface_t, uint32_t)> begin;
std::function<void(uint32_t, double, double)> update;
std::function<void(uint32_t, uint32_t, int32_t)> end;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_pointer_gesture_swipe_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_pointer_gesture_swipe_v1_t();
explicit zwp_pointer_gesture_swipe_v1_t(const proxy_t &proxy);
zwp_pointer_gesture_swipe_v1_t(zwp_pointer_gesture_swipe_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_pointer_gesture_swipe_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_pointer_gesture_swipe_v1*() const;
std::function<void(uint32_t, uint32_t, surface_t, uint32_t)> &on_begin();
std::function<void(uint32_t, double, double)> &on_update();
std::function<void(uint32_t, uint32_t, int32_t)> &on_end();
};
class zwp_pointer_gesture_pinch_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(uint32_t, uint32_t, surface_t, uint32_t)> begin;
std::function<void(uint32_t, double, double, double, double)> update;
std::function<void(uint32_t, uint32_t, int32_t)> end;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_pointer_gesture_pinch_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_pointer_gesture_pinch_v1_t();
explicit zwp_pointer_gesture_pinch_v1_t(const proxy_t &proxy);
zwp_pointer_gesture_pinch_v1_t(zwp_pointer_gesture_pinch_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_pointer_gesture_pinch_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_pointer_gesture_pinch_v1*() const;
std::function<void(uint32_t, uint32_t, surface_t, uint32_t)> &on_begin();
std::function<void(uint32_t, double, double, double, double)> &on_update();
std::function<void(uint32_t, uint32_t, int32_t)> &on_end();
};
class zwp_pointer_gesture_hold_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(uint32_t, uint32_t, surface_t, uint32_t)> begin;
std::function<void(uint32_t, uint32_t, int32_t)> end;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_pointer_gesture_hold_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_pointer_gesture_hold_v1_t();
explicit zwp_pointer_gesture_hold_v1_t(const proxy_t &proxy);
zwp_pointer_gesture_hold_v1_t(zwp_pointer_gesture_hold_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_pointer_gesture_hold_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_pointer_gesture_hold_v1*() const;
std::function<void(uint32_t, uint32_t, surface_t, uint32_t)> &on_begin();
std::function<void(uint32_t, uint32_t, int32_t)> &on_end();
};
class zwp_primary_selection_device_manager_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_primary_selection_device_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_primary_selection_device_manager_v1_t();
explicit zwp_primary_selection_device_manager_v1_t(const proxy_t &proxy);
zwp_primary_selection_device_manager_v1_t(zwp_primary_selection_device_manager_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_primary_selection_device_manager_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_primary_selection_device_manager_v1*() const;
zwp_primary_selection_source_v1_t create_source();
static constexpr std::uint32_t create_source_since_version = 1;
zwp_primary_selection_device_v1_t get_device(seat_t const& seat);
static constexpr std::uint32_t get_device_since_version = 1;
};
class zwp_primary_selection_device_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(zwp_primary_selection_offer_v1_t)> data_offer;
std::function<void(zwp_primary_selection_offer_v1_t)> selection;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_primary_selection_device_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_primary_selection_device_v1_t();
explicit zwp_primary_selection_device_v1_t(const proxy_t &proxy);
zwp_primary_selection_device_v1_t(zwp_primary_selection_device_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_primary_selection_device_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_primary_selection_device_v1*() const;
void set_selection(zwp_primary_selection_source_v1_t const& source, uint32_t serial);
static constexpr std::uint32_t set_selection_since_version = 1;
std::function<void(zwp_primary_selection_offer_v1_t)> &on_data_offer();
std::function<void(zwp_primary_selection_offer_v1_t)> &on_selection();
};
class zwp_primary_selection_offer_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(std::string)> offer;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_primary_selection_offer_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_primary_selection_offer_v1_t();
explicit zwp_primary_selection_offer_v1_t(const proxy_t &proxy);
zwp_primary_selection_offer_v1_t(zwp_primary_selection_offer_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_primary_selection_offer_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_primary_selection_offer_v1*() const;
void receive(std::string const& mime_type, int fd);
static constexpr std::uint32_t receive_since_version = 1;
std::function<void(std::string)> &on_offer();
};
class zwp_primary_selection_source_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(std::string, int)> send;
std::function<void()> cancelled;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_primary_selection_source_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_primary_selection_source_v1_t();
explicit zwp_primary_selection_source_v1_t(const proxy_t &proxy);
zwp_primary_selection_source_v1_t(zwp_primary_selection_source_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_primary_selection_source_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_primary_selection_source_v1*() const;
void offer(std::string const& mime_type);
static constexpr std::uint32_t offer_since_version = 1;
std::function<void(std::string, int)> &on_send();
std::function<void()> &on_cancelled();
};
class zwp_relative_pointer_manager_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_relative_pointer_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_relative_pointer_manager_v1_t();
explicit zwp_relative_pointer_manager_v1_t(const proxy_t &proxy);
zwp_relative_pointer_manager_v1_t(zwp_relative_pointer_manager_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_relative_pointer_manager_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_relative_pointer_manager_v1*() const;
zwp_relative_pointer_v1_t get_relative_pointer(pointer_t const& pointer);
static constexpr std::uint32_t get_relative_pointer_since_version = 1;
};
class zwp_relative_pointer_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(uint32_t, uint32_t, double, double, double, double)> relative_motion;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_relative_pointer_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_relative_pointer_v1_t();
explicit zwp_relative_pointer_v1_t(const proxy_t &proxy);
zwp_relative_pointer_v1_t(zwp_relative_pointer_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_relative_pointer_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_relative_pointer_v1*() const;
std::function<void(uint32_t, uint32_t, double, double, double, double)> &on_relative_motion();
};
class zwp_tablet_manager_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_tablet_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_tablet_manager_v1_t();
explicit zwp_tablet_manager_v1_t(const proxy_t &proxy);
zwp_tablet_manager_v1_t(zwp_tablet_manager_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_tablet_manager_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_tablet_manager_v1*() const;
zwp_tablet_seat_v1_t get_tablet_seat(seat_t const& seat);
static constexpr std::uint32_t get_tablet_seat_since_version = 1;
};
class zwp_tablet_seat_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(zwp_tablet_v1_t)> tablet_added;
std::function<void(zwp_tablet_tool_v1_t)> tool_added;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_tablet_seat_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_tablet_seat_v1_t();
explicit zwp_tablet_seat_v1_t(const proxy_t &proxy);
zwp_tablet_seat_v1_t(zwp_tablet_seat_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_tablet_seat_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_tablet_seat_v1*() const;
std::function<void(zwp_tablet_v1_t)> &on_tablet_added();
std::function<void(zwp_tablet_tool_v1_t)> &on_tool_added();
};
class zwp_tablet_tool_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(zwp_tablet_tool_v1_type)> type;
std::function<void(uint32_t, uint32_t)> hardware_serial;
std::function<void(uint32_t, uint32_t)> hardware_id_wacom;
std::function<void(zwp_tablet_tool_v1_capability)> capability;
std::function<void()> done;
std::function<void()> removed;
std::function<void(uint32_t, zwp_tablet_v1_t, surface_t)> proximity_in;
std::function<void()> proximity_out;
std::function<void(uint32_t)> down;
std::function<void()> up;
std::function<void(double, double)> motion;
std::function<void(uint32_t)> pressure;
std::function<void(uint32_t)> distance;
std::function<void(int32_t, int32_t)> tilt;
std::function<void(int32_t)> rotation;
std::function<void(int32_t)> slider;
std::function<void(int32_t, int32_t)> wheel;
std::function<void(uint32_t, uint32_t, zwp_tablet_tool_v1_button_state)> button;
std::function<void(uint32_t)> frame;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_tablet_tool_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_tablet_tool_v1_t();
explicit zwp_tablet_tool_v1_t(const proxy_t &proxy);
zwp_tablet_tool_v1_t(zwp_tablet_tool_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_tablet_tool_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_tablet_tool_v1*() const;
void set_cursor(uint32_t serial, surface_t const& surface, int32_t hotspot_x, int32_t hotspot_y);
static constexpr std::uint32_t set_cursor_since_version = 1;
std::function<void(zwp_tablet_tool_v1_type)> &on_type();
std::function<void(uint32_t, uint32_t)> &on_hardware_serial();
std::function<void(uint32_t, uint32_t)> &on_hardware_id_wacom();
std::function<void(zwp_tablet_tool_v1_capability)> &on_capability();
std::function<void()> &on_done();
std::function<void()> &on_removed();
std::function<void(uint32_t, zwp_tablet_v1_t, surface_t)> &on_proximity_in();
std::function<void()> &on_proximity_out();
std::function<void(uint32_t)> &on_down();
std::function<void()> &on_up();
std::function<void(double, double)> &on_motion();
std::function<void(uint32_t)> &on_pressure();
std::function<void(uint32_t)> &on_distance();
std::function<void(int32_t, int32_t)> &on_tilt();
std::function<void(int32_t)> &on_rotation();
std::function<void(int32_t)> &on_slider();
std::function<void(int32_t, int32_t)> &on_wheel();
std::function<void(uint32_t, uint32_t, zwp_tablet_tool_v1_button_state)> &on_button();
std::function<void(uint32_t)> &on_frame();
};
enum class zwp_tablet_tool_v1_type : uint32_t
{
pen = 0x140,
eraser = 0x141,
brush = 0x142,
pencil = 0x143,
airbrush = 0x144,
finger = 0x145,
mouse = 0x146,
lens = 0x147
};
enum class zwp_tablet_tool_v1_capability : uint32_t
{
tilt = 1,
pressure = 2,
distance = 3,
rotation = 4,
slider = 5,
wheel = 6
};
enum class zwp_tablet_tool_v1_button_state : uint32_t
{
released = 0,
pressed = 1
};
enum class zwp_tablet_tool_v1_error : uint32_t
{
role = 0
};
class zwp_tablet_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(std::string)> name;
std::function<void(uint32_t, uint32_t)> id;
std::function<void(std::string)> path;
std::function<void()> done;
std::function<void()> removed;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_tablet_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_tablet_v1_t();
explicit zwp_tablet_v1_t(const proxy_t &proxy);
zwp_tablet_v1_t(zwp_tablet_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_tablet_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_tablet_v1*() const;
std::function<void(std::string)> &on_name();
std::function<void(uint32_t, uint32_t)> &on_id();
std::function<void(std::string)> &on_path();
std::function<void()> &on_done();
std::function<void()> &on_removed();
};
class zwp_tablet_manager_v2_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_tablet_manager_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_tablet_manager_v2_t();
explicit zwp_tablet_manager_v2_t(const proxy_t &proxy);
zwp_tablet_manager_v2_t(zwp_tablet_manager_v2 *p, wrapper_type t = wrapper_type::standard);
zwp_tablet_manager_v2_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_tablet_manager_v2*() const;
zwp_tablet_seat_v2_t get_tablet_seat(seat_t const& seat);
static constexpr std::uint32_t get_tablet_seat_since_version = 1;
};
class zwp_tablet_seat_v2_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(zwp_tablet_v2_t)> tablet_added;
std::function<void(zwp_tablet_tool_v2_t)> tool_added;
std::function<void(zwp_tablet_pad_v2_t)> pad_added;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_tablet_seat_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_tablet_seat_v2_t();
explicit zwp_tablet_seat_v2_t(const proxy_t &proxy);
zwp_tablet_seat_v2_t(zwp_tablet_seat_v2 *p, wrapper_type t = wrapper_type::standard);
zwp_tablet_seat_v2_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_tablet_seat_v2*() const;
std::function<void(zwp_tablet_v2_t)> &on_tablet_added();
std::function<void(zwp_tablet_tool_v2_t)> &on_tool_added();
std::function<void(zwp_tablet_pad_v2_t)> &on_pad_added();
};
class zwp_tablet_tool_v2_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(zwp_tablet_tool_v2_type)> type;
std::function<void(uint32_t, uint32_t)> hardware_serial;
std::function<void(uint32_t, uint32_t)> hardware_id_wacom;
std::function<void(zwp_tablet_tool_v2_capability)> capability;
std::function<void()> done;
std::function<void()> removed;
std::function<void(uint32_t, zwp_tablet_v2_t, surface_t)> proximity_in;
std::function<void()> proximity_out;
std::function<void(uint32_t)> down;
std::function<void()> up;
std::function<void(double, double)> motion;
std::function<void(uint32_t)> pressure;
std::function<void(uint32_t)> distance;
std::function<void(double, double)> tilt;
std::function<void(double)> rotation;
std::function<void(int32_t)> slider;
std::function<void(double, int32_t)> wheel;
std::function<void(uint32_t, uint32_t, zwp_tablet_tool_v2_button_state)> button;
std::function<void(uint32_t)> frame;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_tablet_tool_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_tablet_tool_v2_t();
explicit zwp_tablet_tool_v2_t(const proxy_t &proxy);
zwp_tablet_tool_v2_t(zwp_tablet_tool_v2 *p, wrapper_type t = wrapper_type::standard);
zwp_tablet_tool_v2_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_tablet_tool_v2*() const;
void set_cursor(uint32_t serial, surface_t const& surface, int32_t hotspot_x, int32_t hotspot_y);
static constexpr std::uint32_t set_cursor_since_version = 1;
std::function<void(zwp_tablet_tool_v2_type)> &on_type();
std::function<void(uint32_t, uint32_t)> &on_hardware_serial();
std::function<void(uint32_t, uint32_t)> &on_hardware_id_wacom();
std::function<void(zwp_tablet_tool_v2_capability)> &on_capability();
std::function<void()> &on_done();
std::function<void()> &on_removed();
std::function<void(uint32_t, zwp_tablet_v2_t, surface_t)> &on_proximity_in();
std::function<void()> &on_proximity_out();
std::function<void(uint32_t)> &on_down();
std::function<void()> &on_up();
std::function<void(double, double)> &on_motion();
std::function<void(uint32_t)> &on_pressure();
std::function<void(uint32_t)> &on_distance();
std::function<void(double, double)> &on_tilt();
std::function<void(double)> &on_rotation();
std::function<void(int32_t)> &on_slider();
std::function<void(double, int32_t)> &on_wheel();
std::function<void(uint32_t, uint32_t, zwp_tablet_tool_v2_button_state)> &on_button();
std::function<void(uint32_t)> &on_frame();
};
enum class zwp_tablet_tool_v2_type : uint32_t
{
pen = 0x140,
eraser = 0x141,
brush = 0x142,
pencil = 0x143,
airbrush = 0x144,
finger = 0x145,
mouse = 0x146,
lens = 0x147
};
enum class zwp_tablet_tool_v2_capability : uint32_t
{
tilt = 1,
pressure = 2,
distance = 3,
rotation = 4,
slider = 5,
wheel = 6
};
enum class zwp_tablet_tool_v2_button_state : uint32_t
{
released = 0,
pressed = 1
};
enum class zwp_tablet_tool_v2_error : uint32_t
{
role = 0
};
class zwp_tablet_v2_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(std::string)> name;
std::function<void(uint32_t, uint32_t)> id;
std::function<void(std::string)> path;
std::function<void()> done;
std::function<void()> removed;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_tablet_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_tablet_v2_t();
explicit zwp_tablet_v2_t(const proxy_t &proxy);
zwp_tablet_v2_t(zwp_tablet_v2 *p, wrapper_type t = wrapper_type::standard);
zwp_tablet_v2_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_tablet_v2*() const;
std::function<void(std::string)> &on_name();
std::function<void(uint32_t, uint32_t)> &on_id();
std::function<void(std::string)> &on_path();
std::function<void()> &on_done();
std::function<void()> &on_removed();
};
class zwp_tablet_pad_ring_v2_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(zwp_tablet_pad_ring_v2_source)> source;
std::function<void(double)> angle;
std::function<void()> stop;
std::function<void(uint32_t)> frame;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_tablet_pad_ring_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_tablet_pad_ring_v2_t();
explicit zwp_tablet_pad_ring_v2_t(const proxy_t &proxy);
zwp_tablet_pad_ring_v2_t(zwp_tablet_pad_ring_v2 *p, wrapper_type t = wrapper_type::standard);
zwp_tablet_pad_ring_v2_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_tablet_pad_ring_v2*() const;
void set_feedback(std::string const& description, uint32_t serial);
static constexpr std::uint32_t set_feedback_since_version = 1;
std::function<void(zwp_tablet_pad_ring_v2_source)> &on_source();
std::function<void(double)> &on_angle();
std::function<void()> &on_stop();
std::function<void(uint32_t)> &on_frame();
};
enum class zwp_tablet_pad_ring_v2_source : uint32_t
{
finger = 1
};
class zwp_tablet_pad_strip_v2_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(zwp_tablet_pad_strip_v2_source)> source;
std::function<void(uint32_t)> position;
std::function<void()> stop;
std::function<void(uint32_t)> frame;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_tablet_pad_strip_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_tablet_pad_strip_v2_t();
explicit zwp_tablet_pad_strip_v2_t(const proxy_t &proxy);
zwp_tablet_pad_strip_v2_t(zwp_tablet_pad_strip_v2 *p, wrapper_type t = wrapper_type::standard);
zwp_tablet_pad_strip_v2_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_tablet_pad_strip_v2*() const;
void set_feedback(std::string const& description, uint32_t serial);
static constexpr std::uint32_t set_feedback_since_version = 1;
std::function<void(zwp_tablet_pad_strip_v2_source)> &on_source();
std::function<void(uint32_t)> &on_position();
std::function<void()> &on_stop();
std::function<void(uint32_t)> &on_frame();
};
enum class zwp_tablet_pad_strip_v2_source : uint32_t
{
finger = 1
};
class zwp_tablet_pad_group_v2_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(array_t)> buttons;
std::function<void(zwp_tablet_pad_ring_v2_t)> ring;
std::function<void(zwp_tablet_pad_strip_v2_t)> strip;
std::function<void(uint32_t)> modes;
std::function<void()> done;
std::function<void(uint32_t, uint32_t, uint32_t)> mode_switch;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_tablet_pad_group_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_tablet_pad_group_v2_t();
explicit zwp_tablet_pad_group_v2_t(const proxy_t &proxy);
zwp_tablet_pad_group_v2_t(zwp_tablet_pad_group_v2 *p, wrapper_type t = wrapper_type::standard);
zwp_tablet_pad_group_v2_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_tablet_pad_group_v2*() const;
std::function<void(array_t)> &on_buttons();
std::function<void(zwp_tablet_pad_ring_v2_t)> &on_ring();
std::function<void(zwp_tablet_pad_strip_v2_t)> &on_strip();
std::function<void(uint32_t)> &on_modes();
std::function<void()> &on_done();
std::function<void(uint32_t, uint32_t, uint32_t)> &on_mode_switch();
};
class zwp_tablet_pad_v2_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(zwp_tablet_pad_group_v2_t)> group;
std::function<void(std::string)> path;
std::function<void(uint32_t)> buttons;
std::function<void()> done;
std::function<void(uint32_t, uint32_t, zwp_tablet_pad_v2_button_state)> button;
std::function<void(uint32_t, zwp_tablet_v2_t, surface_t)> enter;
std::function<void(uint32_t, surface_t)> leave;
std::function<void()> removed;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_tablet_pad_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_tablet_pad_v2_t();
explicit zwp_tablet_pad_v2_t(const proxy_t &proxy);
zwp_tablet_pad_v2_t(zwp_tablet_pad_v2 *p, wrapper_type t = wrapper_type::standard);
zwp_tablet_pad_v2_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_tablet_pad_v2*() const;
void set_feedback(uint32_t button, std::string const& description, uint32_t serial);
static constexpr std::uint32_t set_feedback_since_version = 1;
std::function<void(zwp_tablet_pad_group_v2_t)> &on_group();
std::function<void(std::string)> &on_path();
std::function<void(uint32_t)> &on_buttons();
std::function<void()> &on_done();
std::function<void(uint32_t, uint32_t, zwp_tablet_pad_v2_button_state)> &on_button();
std::function<void(uint32_t, zwp_tablet_v2_t, surface_t)> &on_enter();
std::function<void(uint32_t, surface_t)> &on_leave();
std::function<void()> &on_removed();
};
enum class zwp_tablet_pad_v2_button_state : uint32_t
{
released = 0,
pressed = 1
};
class zwp_text_input_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(surface_t)> enter;
std::function<void()> leave;
std::function<void(array_t)> modifiers_map;
std::function<void(uint32_t)> input_panel_state;
std::function<void(uint32_t, std::string, std::string)> preedit_string;
std::function<void(uint32_t, uint32_t, zwp_text_input_v1_preedit_style)> preedit_styling;
std::function<void(int32_t)> preedit_cursor;
std::function<void(uint32_t, std::string)> commit_string;
std::function<void(int32_t, int32_t)> cursor_position;
std::function<void(int32_t, uint32_t)> delete_surrounding_text;
std::function<void(uint32_t, uint32_t, uint32_t, keyboard_key_state, uint32_t)> keysym;
std::function<void(uint32_t, std::string)> language;
std::function<void(uint32_t, zwp_text_input_v1_text_direction)> text_direction;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_text_input_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_text_input_v1_t();
explicit zwp_text_input_v1_t(const proxy_t &proxy);
zwp_text_input_v1_t(zwp_text_input_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_text_input_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_text_input_v1*() const;
void activate(seat_t const& seat, surface_t const& surface);
static constexpr std::uint32_t activate_since_version = 1;
void deactivate(seat_t const& seat);
static constexpr std::uint32_t deactivate_since_version = 1;
void show_input_panel();
static constexpr std::uint32_t show_input_panel_since_version = 1;
void hide_input_panel();
static constexpr std::uint32_t hide_input_panel_since_version = 1;
void reset();
static constexpr std::uint32_t reset_since_version = 1;
void set_surrounding_text(std::string const& text, uint32_t cursor, uint32_t anchor);
static constexpr std::uint32_t set_surrounding_text_since_version = 1;
void set_content_type(zwp_text_input_v1_content_hint const& hint, zwp_text_input_v1_content_purpose const& purpose);
static constexpr std::uint32_t set_content_type_since_version = 1;
void set_cursor_rectangle(int32_t x, int32_t y, int32_t width, int32_t height);
static constexpr std::uint32_t set_cursor_rectangle_since_version = 1;
void set_preferred_language(std::string const& language);
static constexpr std::uint32_t set_preferred_language_since_version = 1;
void commit_state(uint32_t serial);
static constexpr std::uint32_t commit_state_since_version = 1;
void invoke_action(uint32_t button, uint32_t index);
static constexpr std::uint32_t invoke_action_since_version = 1;
std::function<void(surface_t)> &on_enter();
std::function<void()> &on_leave();
std::function<void(array_t)> &on_modifiers_map();
std::function<void(uint32_t)> &on_input_panel_state();
std::function<void(uint32_t, std::string, std::string)> &on_preedit_string();
std::function<void(uint32_t, uint32_t, zwp_text_input_v1_preedit_style)> &on_preedit_styling();
std::function<void(int32_t)> &on_preedit_cursor();
std::function<void(uint32_t, std::string)> &on_commit_string();
std::function<void(int32_t, int32_t)> &on_cursor_position();
std::function<void(int32_t, uint32_t)> &on_delete_surrounding_text();
std::function<void(uint32_t, uint32_t, uint32_t, keyboard_key_state, uint32_t)> &on_keysym();
std::function<void(uint32_t, std::string)> &on_language();
std::function<void(uint32_t, zwp_text_input_v1_text_direction)> &on_text_direction();
};
struct zwp_text_input_v1_content_hint : public wayland::detail::bitfield<10, 23>
{
zwp_text_input_v1_content_hint(const wayland::detail::bitfield<10, 23> &b)
: wayland::detail::bitfield<10, 23>(b) {}
zwp_text_input_v1_content_hint(const uint32_t value)
: wayland::detail::bitfield<10, 23>(value) {}
static const wayland::detail::bitfield<10, 23> none;
static const wayland::detail::bitfield<10, 23> _default;
static const wayland::detail::bitfield<10, 23> password;
static const wayland::detail::bitfield<10, 23> auto_completion;
static const wayland::detail::bitfield<10, 23> auto_correction;
static const wayland::detail::bitfield<10, 23> auto_capitalization;
static const wayland::detail::bitfield<10, 23> lowercase;
static const wayland::detail::bitfield<10, 23> uppercase;
static const wayland::detail::bitfield<10, 23> titlecase;
static const wayland::detail::bitfield<10, 23> hidden_text;
static const wayland::detail::bitfield<10, 23> sensitive_data;
static const wayland::detail::bitfield<10, 23> latin;
static const wayland::detail::bitfield<10, 23> multiline;
};
enum class zwp_text_input_v1_content_purpose : uint32_t
{
normal = 0,
alpha = 1,
digits = 2,
number = 3,
phone = 4,
url = 5,
email = 6,
name = 7,
password = 8,
date = 9,
time = 10,
datetime = 11,
terminal = 12
};
enum class zwp_text_input_v1_preedit_style : uint32_t
{
_default = 0,
none = 1,
active = 2,
inactive = 3,
highlight = 4,
underline = 5,
selection = 6,
incorrect = 7
};
enum class zwp_text_input_v1_text_direction : uint32_t
{
_auto = 0,
ltr = 1,
rtl = 2
};
class zwp_text_input_manager_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_text_input_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_text_input_manager_v1_t();
explicit zwp_text_input_manager_v1_t(const proxy_t &proxy);
zwp_text_input_manager_v1_t(zwp_text_input_manager_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_text_input_manager_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_text_input_manager_v1*() const;
zwp_text_input_v1_t create_text_input();
static constexpr std::uint32_t create_text_input_since_version = 1;
};
class zwp_text_input_v3_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(surface_t)> enter;
std::function<void(surface_t)> leave;
std::function<void(std::string, int32_t, int32_t)> preedit_string;
std::function<void(std::string)> commit_string;
std::function<void(uint32_t, uint32_t)> delete_surrounding_text;
std::function<void(uint32_t)> done;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_text_input_v3_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_text_input_v3_t();
explicit zwp_text_input_v3_t(const proxy_t &proxy);
zwp_text_input_v3_t(zwp_text_input_v3 *p, wrapper_type t = wrapper_type::standard);
zwp_text_input_v3_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_text_input_v3*() const;
void enable();
static constexpr std::uint32_t enable_since_version = 1;
void disable();
static constexpr std::uint32_t disable_since_version = 1;
void set_surrounding_text(std::string const& text, int32_t cursor, int32_t anchor);
static constexpr std::uint32_t set_surrounding_text_since_version = 1;
void set_text_change_cause(zwp_text_input_v3_change_cause const& cause);
static constexpr std::uint32_t set_text_change_cause_since_version = 1;
void set_content_type(zwp_text_input_v3_content_hint const& hint, zwp_text_input_v3_content_purpose const& purpose);
static constexpr std::uint32_t set_content_type_since_version = 1;
void set_cursor_rectangle(int32_t x, int32_t y, int32_t width, int32_t height);
static constexpr std::uint32_t set_cursor_rectangle_since_version = 1;
void commit();
static constexpr std::uint32_t commit_since_version = 1;
std::function<void(surface_t)> &on_enter();
std::function<void(surface_t)> &on_leave();
std::function<void(std::string, int32_t, int32_t)> &on_preedit_string();
std::function<void(std::string)> &on_commit_string();
std::function<void(uint32_t, uint32_t)> &on_delete_surrounding_text();
std::function<void(uint32_t)> &on_done();
};
enum class zwp_text_input_v3_change_cause : uint32_t
{
input_method = 0,
other = 1
};
struct zwp_text_input_v3_content_hint : public wayland::detail::bitfield<10, 28>
{
zwp_text_input_v3_content_hint(const wayland::detail::bitfield<10, 28> &b)
: wayland::detail::bitfield<10, 28>(b) {}
zwp_text_input_v3_content_hint(const uint32_t value)
: wayland::detail::bitfield<10, 28>(value) {}
static const wayland::detail::bitfield<10, 28> none;
static const wayland::detail::bitfield<10, 28> completion;
static const wayland::detail::bitfield<10, 28> spellcheck;
static const wayland::detail::bitfield<10, 28> auto_capitalization;
static const wayland::detail::bitfield<10, 28> lowercase;
static const wayland::detail::bitfield<10, 28> uppercase;
static const wayland::detail::bitfield<10, 28> titlecase;
static const wayland::detail::bitfield<10, 28> hidden_text;
static const wayland::detail::bitfield<10, 28> sensitive_data;
static const wayland::detail::bitfield<10, 28> latin;
static const wayland::detail::bitfield<10, 28> multiline;
};
enum class zwp_text_input_v3_content_purpose : uint32_t
{
normal = 0,
alpha = 1,
digits = 2,
number = 3,
phone = 4,
url = 5,
email = 6,
name = 7,
password = 8,
pin = 9,
date = 10,
time = 11,
datetime = 12,
terminal = 13
};
class zwp_text_input_manager_v3_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_text_input_manager_v3_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_text_input_manager_v3_t();
explicit zwp_text_input_manager_v3_t(const proxy_t &proxy);
zwp_text_input_manager_v3_t(zwp_text_input_manager_v3 *p, wrapper_type t = wrapper_type::standard);
zwp_text_input_manager_v3_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_text_input_manager_v3*() const;
zwp_text_input_v3_t get_text_input(seat_t const& seat);
static constexpr std::uint32_t get_text_input_since_version = 1;
};
class xdg_activation_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
xdg_activation_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
xdg_activation_v1_t();
explicit xdg_activation_v1_t(const proxy_t &proxy);
xdg_activation_v1_t(xdg_activation_v1 *p, wrapper_type t = wrapper_type::standard);
xdg_activation_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator xdg_activation_v1*() const;
xdg_activation_token_v1_t get_activation_token();
static constexpr std::uint32_t get_activation_token_since_version = 1;
void activate(std::string const& token, surface_t const& surface);
static constexpr std::uint32_t activate_since_version = 1;
};
class xdg_activation_token_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(std::string)> done;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
xdg_activation_token_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
xdg_activation_token_v1_t();
explicit xdg_activation_token_v1_t(const proxy_t &proxy);
xdg_activation_token_v1_t(xdg_activation_token_v1 *p, wrapper_type t = wrapper_type::standard);
xdg_activation_token_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator xdg_activation_token_v1*() const;
void set_serial(uint32_t serial, seat_t const& seat);
static constexpr std::uint32_t set_serial_since_version = 1;
void set_app_id(std::string const& app_id);
static constexpr std::uint32_t set_app_id_since_version = 1;
void set_surface(surface_t const& surface);
static constexpr std::uint32_t set_surface_since_version = 1;
void commit();
static constexpr std::uint32_t commit_since_version = 1;
std::function<void(std::string)> &on_done();
};
enum class xdg_activation_token_v1_error : uint32_t
{
already_used = 0
};
class zxdg_decoration_manager_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_decoration_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_decoration_manager_v1_t();
explicit zxdg_decoration_manager_v1_t(const proxy_t &proxy);
zxdg_decoration_manager_v1_t(zxdg_decoration_manager_v1 *p, wrapper_type t = wrapper_type::standard);
zxdg_decoration_manager_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_decoration_manager_v1*() const;
zxdg_toplevel_decoration_v1_t get_toplevel_decoration(xdg_toplevel_t const& toplevel);
static constexpr std::uint32_t get_toplevel_decoration_since_version = 1;
};
class zxdg_toplevel_decoration_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(zxdg_toplevel_decoration_v1_mode)> configure;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_toplevel_decoration_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_toplevel_decoration_v1_t();
explicit zxdg_toplevel_decoration_v1_t(const proxy_t &proxy);
zxdg_toplevel_decoration_v1_t(zxdg_toplevel_decoration_v1 *p, wrapper_type t = wrapper_type::standard);
zxdg_toplevel_decoration_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_toplevel_decoration_v1*() const;
void set_mode(zxdg_toplevel_decoration_v1_mode const& mode);
static constexpr std::uint32_t set_mode_since_version = 1;
void unset_mode();
static constexpr std::uint32_t unset_mode_since_version = 1;
std::function<void(zxdg_toplevel_decoration_v1_mode)> &on_configure();
};
enum class zxdg_toplevel_decoration_v1_error : uint32_t
{
unconfigured_buffer = 0,
already_constructed = 1,
orphaned = 2
};
enum class zxdg_toplevel_decoration_v1_mode : uint32_t
{
client_side = 1,
server_side = 2
};
class zxdg_exporter_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_exporter_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_exporter_v1_t();
explicit zxdg_exporter_v1_t(const proxy_t &proxy);
zxdg_exporter_v1_t(zxdg_exporter_v1 *p, wrapper_type t = wrapper_type::standard);
zxdg_exporter_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_exporter_v1*() const;
zxdg_exported_v1_t _export(surface_t const& surface);
static constexpr std::uint32_t export_since_version = 1;
};
class zxdg_importer_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_importer_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_importer_v1_t();
explicit zxdg_importer_v1_t(const proxy_t &proxy);
zxdg_importer_v1_t(zxdg_importer_v1 *p, wrapper_type t = wrapper_type::standard);
zxdg_importer_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_importer_v1*() const;
zxdg_imported_v1_t import(std::string const& handle);
static constexpr std::uint32_t import_since_version = 1;
};
class zxdg_exported_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(std::string)> handle;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_exported_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_exported_v1_t();
explicit zxdg_exported_v1_t(const proxy_t &proxy);
zxdg_exported_v1_t(zxdg_exported_v1 *p, wrapper_type t = wrapper_type::standard);
zxdg_exported_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_exported_v1*() const;
std::function<void(std::string)> &on_handle();
};
class zxdg_imported_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void()> destroyed;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_imported_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_imported_v1_t();
explicit zxdg_imported_v1_t(const proxy_t &proxy);
zxdg_imported_v1_t(zxdg_imported_v1 *p, wrapper_type t = wrapper_type::standard);
zxdg_imported_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_imported_v1*() const;
void set_parent_of(surface_t const& surface);
static constexpr std::uint32_t set_parent_of_since_version = 1;
std::function<void()> &on_destroyed();
};
class zxdg_exporter_v2_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_exporter_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_exporter_v2_t();
explicit zxdg_exporter_v2_t(const proxy_t &proxy);
zxdg_exporter_v2_t(zxdg_exporter_v2 *p, wrapper_type t = wrapper_type::standard);
zxdg_exporter_v2_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_exporter_v2*() const;
zxdg_exported_v2_t export_toplevel(surface_t const& surface);
static constexpr std::uint32_t export_toplevel_since_version = 1;
};
enum class zxdg_exporter_v2_error : uint32_t
{
invalid_surface = 0
};
class zxdg_importer_v2_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_importer_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_importer_v2_t();
explicit zxdg_importer_v2_t(const proxy_t &proxy);
zxdg_importer_v2_t(zxdg_importer_v2 *p, wrapper_type t = wrapper_type::standard);
zxdg_importer_v2_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_importer_v2*() const;
zxdg_imported_v2_t import_toplevel(std::string const& handle);
static constexpr std::uint32_t import_toplevel_since_version = 1;
};
class zxdg_exported_v2_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(std::string)> handle;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_exported_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_exported_v2_t();
explicit zxdg_exported_v2_t(const proxy_t &proxy);
zxdg_exported_v2_t(zxdg_exported_v2 *p, wrapper_type t = wrapper_type::standard);
zxdg_exported_v2_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_exported_v2*() const;
std::function<void(std::string)> &on_handle();
};
class zxdg_imported_v2_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void()> destroyed;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_imported_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_imported_v2_t();
explicit zxdg_imported_v2_t(const proxy_t &proxy);
zxdg_imported_v2_t(zxdg_imported_v2 *p, wrapper_type t = wrapper_type::standard);
zxdg_imported_v2_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_imported_v2*() const;
void set_parent_of(surface_t const& surface);
static constexpr std::uint32_t set_parent_of_since_version = 1;
std::function<void()> &on_destroyed();
};
enum class zxdg_imported_v2_error : uint32_t
{
invalid_surface = 0
};
class zxdg_output_manager_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_output_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_output_manager_v1_t();
explicit zxdg_output_manager_v1_t(const proxy_t &proxy);
zxdg_output_manager_v1_t(zxdg_output_manager_v1 *p, wrapper_type t = wrapper_type::standard);
zxdg_output_manager_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_output_manager_v1*() const;
zxdg_output_v1_t get_xdg_output(output_t const& output);
static constexpr std::uint32_t get_xdg_output_since_version = 1;
};
class zxdg_output_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(int32_t, int32_t)> logical_position;
std::function<void(int32_t, int32_t)> logical_size;
std::function<void()> done;
std::function<void(std::string)> name;
std::function<void(std::string)> description;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_output_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_output_v1_t();
explicit zxdg_output_v1_t(const proxy_t &proxy);
zxdg_output_v1_t(zxdg_output_v1 *p, wrapper_type t = wrapper_type::standard);
zxdg_output_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_output_v1*() const;
std::function<void(int32_t, int32_t)> &on_logical_position();
std::function<void(int32_t, int32_t)> &on_logical_size();
std::function<void()> &on_done();
std::function<void(std::string)> &on_name();
std::function<void(std::string)> &on_description();
};
class zxdg_shell_v6_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(uint32_t)> ping;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_shell_v6_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_shell_v6_t();
explicit zxdg_shell_v6_t(const proxy_t &proxy);
zxdg_shell_v6_t(zxdg_shell_v6 *p, wrapper_type t = wrapper_type::standard);
zxdg_shell_v6_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_shell_v6*() const;
zxdg_positioner_v6_t create_positioner();
static constexpr std::uint32_t create_positioner_since_version = 1;
zxdg_surface_v6_t get_xdg_surface(surface_t const& surface);
static constexpr std::uint32_t get_xdg_surface_since_version = 1;
void pong(uint32_t serial);
static constexpr std::uint32_t pong_since_version = 1;
std::function<void(uint32_t)> &on_ping();
};
enum class zxdg_shell_v6_error : uint32_t
{
role = 0,
defunct_surfaces = 1,
not_the_topmost_popup = 2,
invalid_popup_parent = 3,
invalid_surface_state = 4,
invalid_positioner = 5
};
class zxdg_positioner_v6_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_positioner_v6_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_positioner_v6_t();
explicit zxdg_positioner_v6_t(const proxy_t &proxy);
zxdg_positioner_v6_t(zxdg_positioner_v6 *p, wrapper_type t = wrapper_type::standard);
zxdg_positioner_v6_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_positioner_v6*() const;
void set_size(int32_t width, int32_t height);
static constexpr std::uint32_t set_size_since_version = 1;
void set_anchor_rect(int32_t x, int32_t y, int32_t width, int32_t height);
static constexpr std::uint32_t set_anchor_rect_since_version = 1;
void set_anchor(zxdg_positioner_v6_anchor const& anchor);
static constexpr std::uint32_t set_anchor_since_version = 1;
void set_gravity(zxdg_positioner_v6_gravity const& gravity);
static constexpr std::uint32_t set_gravity_since_version = 1;
void set_constraint_adjustment(zxdg_positioner_v6_constraint_adjustment const& constraint_adjustment);
static constexpr std::uint32_t set_constraint_adjustment_since_version = 1;
void set_offset(int32_t x, int32_t y);
static constexpr std::uint32_t set_offset_since_version = 1;
};
enum class zxdg_positioner_v6_error : uint32_t
{
invalid_input = 0
};
struct zxdg_positioner_v6_anchor : public wayland::detail::bitfield<4, 37>
{
zxdg_positioner_v6_anchor(const wayland::detail::bitfield<4, 37> &b)
: wayland::detail::bitfield<4, 37>(b) {}
zxdg_positioner_v6_anchor(const uint32_t value)
: wayland::detail::bitfield<4, 37>(value) {}
static const wayland::detail::bitfield<4, 37> none;
static const wayland::detail::bitfield<4, 37> top;
static const wayland::detail::bitfield<4, 37> bottom;
static const wayland::detail::bitfield<4, 37> left;
static const wayland::detail::bitfield<4, 37> right;
};
struct zxdg_positioner_v6_gravity : public wayland::detail::bitfield<4, 38>
{
zxdg_positioner_v6_gravity(const wayland::detail::bitfield<4, 38> &b)
: wayland::detail::bitfield<4, 38>(b) {}
zxdg_positioner_v6_gravity(const uint32_t value)
: wayland::detail::bitfield<4, 38>(value) {}
static const wayland::detail::bitfield<4, 38> none;
static const wayland::detail::bitfield<4, 38> top;
static const wayland::detail::bitfield<4, 38> bottom;
static const wayland::detail::bitfield<4, 38> left;
static const wayland::detail::bitfield<4, 38> right;
};
struct zxdg_positioner_v6_constraint_adjustment : public wayland::detail::bitfield<6, 39>
{
zxdg_positioner_v6_constraint_adjustment(const wayland::detail::bitfield<6, 39> &b)
: wayland::detail::bitfield<6, 39>(b) {}
zxdg_positioner_v6_constraint_adjustment(const uint32_t value)
: wayland::detail::bitfield<6, 39>(value) {}
static const wayland::detail::bitfield<6, 39> none;
static const wayland::detail::bitfield<6, 39> slide_x;
static const wayland::detail::bitfield<6, 39> slide_y;
static const wayland::detail::bitfield<6, 39> flip_x;
static const wayland::detail::bitfield<6, 39> flip_y;
static const wayland::detail::bitfield<6, 39> resize_x;
static const wayland::detail::bitfield<6, 39> resize_y;
};
class zxdg_surface_v6_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(uint32_t)> configure;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_surface_v6_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_surface_v6_t();
explicit zxdg_surface_v6_t(const proxy_t &proxy);
zxdg_surface_v6_t(zxdg_surface_v6 *p, wrapper_type t = wrapper_type::standard);
zxdg_surface_v6_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_surface_v6*() const;
zxdg_toplevel_v6_t get_toplevel();
static constexpr std::uint32_t get_toplevel_since_version = 1;
zxdg_popup_v6_t get_popup(zxdg_surface_v6_t const& parent, zxdg_positioner_v6_t const& positioner);
static constexpr std::uint32_t get_popup_since_version = 1;
void set_window_geometry(int32_t x, int32_t y, int32_t width, int32_t height);
static constexpr std::uint32_t set_window_geometry_since_version = 1;
void ack_configure(uint32_t serial);
static constexpr std::uint32_t ack_configure_since_version = 1;
std::function<void(uint32_t)> &on_configure();
};
enum class zxdg_surface_v6_error : uint32_t
{
not_constructed = 1,
already_constructed = 2,
unconfigured_buffer = 3
};
class zxdg_toplevel_v6_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(int32_t, int32_t, array_t)> configure;
std::function<void()> close;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_toplevel_v6_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_toplevel_v6_t();
explicit zxdg_toplevel_v6_t(const proxy_t &proxy);
zxdg_toplevel_v6_t(zxdg_toplevel_v6 *p, wrapper_type t = wrapper_type::standard);
zxdg_toplevel_v6_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_toplevel_v6*() const;
void set_parent(zxdg_toplevel_v6_t const& parent);
static constexpr std::uint32_t set_parent_since_version = 1;
void set_title(std::string const& title);
static constexpr std::uint32_t set_title_since_version = 1;
void set_app_id(std::string const& app_id);
static constexpr std::uint32_t set_app_id_since_version = 1;
void show_window_menu(seat_t const& seat, uint32_t serial, int32_t x, int32_t y);
static constexpr std::uint32_t show_window_menu_since_version = 1;
void move(seat_t const& seat, uint32_t serial);
static constexpr std::uint32_t move_since_version = 1;
void resize(seat_t const& seat, uint32_t serial, zxdg_toplevel_v6_resize_edge const& edges);
static constexpr std::uint32_t resize_since_version = 1;
void set_max_size(int32_t width, int32_t height);
static constexpr std::uint32_t set_max_size_since_version = 1;
void set_min_size(int32_t width, int32_t height);
static constexpr std::uint32_t set_min_size_since_version = 1;
void set_maximized();
static constexpr std::uint32_t set_maximized_since_version = 1;
void unset_maximized();
static constexpr std::uint32_t unset_maximized_since_version = 1;
void set_fullscreen(output_t const& output);
static constexpr std::uint32_t set_fullscreen_since_version = 1;
void unset_fullscreen();
static constexpr std::uint32_t unset_fullscreen_since_version = 1;
void set_minimized();
static constexpr std::uint32_t set_minimized_since_version = 1;
std::function<void(int32_t, int32_t, array_t)> &on_configure();
std::function<void()> &on_close();
};
struct zxdg_toplevel_v6_resize_edge : public wayland::detail::bitfield<4, 41>
{
zxdg_toplevel_v6_resize_edge(const wayland::detail::bitfield<4, 41> &b)
: wayland::detail::bitfield<4, 41>(b) {}
zxdg_toplevel_v6_resize_edge(const uint32_t value)
: wayland::detail::bitfield<4, 41>(value) {}
static const wayland::detail::bitfield<4, 41> none;
static const wayland::detail::bitfield<4, 41> top;
static const wayland::detail::bitfield<4, 41> bottom;
static const wayland::detail::bitfield<4, 41> left;
static const wayland::detail::bitfield<4, 41> top_left;
static const wayland::detail::bitfield<4, 41> bottom_left;
static const wayland::detail::bitfield<4, 41> right;
static const wayland::detail::bitfield<4, 41> top_right;
static const wayland::detail::bitfield<4, 41> bottom_right;
};
enum class zxdg_toplevel_v6_state : uint32_t
{
maximized = 1,
fullscreen = 2,
resizing = 3,
activated = 4
};
class zxdg_popup_v6_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
std::function<void(int32_t, int32_t, int32_t, int32_t)> configure;
std::function<void()> popup_done;
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zxdg_popup_v6_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zxdg_popup_v6_t();
explicit zxdg_popup_v6_t(const proxy_t &proxy);
zxdg_popup_v6_t(zxdg_popup_v6 *p, wrapper_type t = wrapper_type::standard);
zxdg_popup_v6_t proxy_create_wrapper();
static const std::string interface_name;
operator zxdg_popup_v6*() const;
void grab(seat_t const& seat, uint32_t serial);
static constexpr std::uint32_t grab_since_version = 1;
std::function<void(int32_t, int32_t, int32_t, int32_t)> &on_configure();
std::function<void()> &on_popup_done();
};
enum class zxdg_popup_v6_error : uint32_t
{
invalid_grab = 0
};
class zwp_xwayland_keyboard_grab_manager_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_xwayland_keyboard_grab_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_xwayland_keyboard_grab_manager_v1_t();
explicit zwp_xwayland_keyboard_grab_manager_v1_t(const proxy_t &proxy);
zwp_xwayland_keyboard_grab_manager_v1_t(zwp_xwayland_keyboard_grab_manager_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_xwayland_keyboard_grab_manager_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_xwayland_keyboard_grab_manager_v1*() const;
zwp_xwayland_keyboard_grab_v1_t grab_keyboard(surface_t const& surface, seat_t const& seat);
static constexpr std::uint32_t grab_keyboard_since_version = 1;
};
class zwp_xwayland_keyboard_grab_v1_t : public proxy_t
{
private:
struct events_t : public detail::events_base_t
{
};
static int dispatcher(uint32_t opcode, const std::vector<detail::any>& args, const std::shared_ptr<detail::events_base_t>& e);
zwp_xwayland_keyboard_grab_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/);
public:
zwp_xwayland_keyboard_grab_v1_t();
explicit zwp_xwayland_keyboard_grab_v1_t(const proxy_t &proxy);
zwp_xwayland_keyboard_grab_v1_t(zwp_xwayland_keyboard_grab_v1 *p, wrapper_type t = wrapper_type::standard);
zwp_xwayland_keyboard_grab_v1_t proxy_create_wrapper();
static const std::string interface_name;
operator zwp_xwayland_keyboard_grab_v1*() const;
};
}
wayland::buffer_t
content for a wl_surface
Definition wayland-client-protocol.hpp:707
wayland::keyboard_t
keyboard input device
Definition wayland-client-protocol.hpp:3118
wayland::output_t
compositor output region
Definition wayland-client-protocol.hpp:3485
wayland::pointer_t
pointer input device
Definition wayland-client-protocol.hpp:2690
wayland::proxy_t
Represents a protocol object on the client side.
Definition wayland-client.hpp:111
wayland::proxy_t::wrapper_type
wrapper_type
Definition wayland-client.hpp:118
wayland::proxy_t::wrapper_type::standard
@ standard
wayland::region_t
region interface
Definition wayland-client-protocol.hpp:3787
wayland::seat_t
group of input devices
Definition wayland-client-protocol.hpp:2492
wayland::surface_t
an onscreen surface
Definition wayland-client-protocol.hpp:2006
wayland::touch_t
touchscreen input device
Definition wayland-client-protocol.hpp:3299
wayland::xdg_activation_token_v1_t
an exported activation handle
Definition wayland-client-protocol-unstable.hpp:6744
wayland::xdg_activation_token_v1_t::set_serial_since_version
static constexpr std::uint32_t set_serial_since_version
Minimum protocol version required for the set_serial function.
Definition wayland-client-protocol-unstable.hpp:6780
wayland::xdg_activation_token_v1_t::set_app_id_since_version
static constexpr std::uint32_t set_app_id_since_version
Minimum protocol version required for the set_app_id function.
Definition wayland-client-protocol-unstable.hpp:6795
wayland::xdg_activation_token_v1_t::on_done
std::function< void(std::string)> & on_done()
the exported activation token
Definition wayland-client-protocol-unstable.cpp:8764
wayland::xdg_activation_token_v1_t::commit
void commit()
issues the token request
Definition wayland-client-protocol-unstable.cpp:8758
wayland::xdg_activation_token_v1_t::set_surface_since_version
static constexpr std::uint32_t set_surface_since_version
Minimum protocol version required for the set_surface function.
Definition wayland-client-protocol-unstable.hpp:6810
wayland::xdg_activation_token_v1_t::set_serial
void set_serial(uint32_t serial, seat_t const &seat)
specifies the seat and serial of the activating event
Definition wayland-client-protocol-unstable.cpp:8740
wayland::xdg_activation_token_v1_t::set_app_id
void set_app_id(std::string const &app_id)
specifies the application being activated
Definition wayland-client-protocol-unstable.cpp:8746
wayland::xdg_activation_token_v1_t::set_surface
void set_surface(surface_t const &surface)
specifies the application being activated
Definition wayland-client-protocol-unstable.cpp:8752
wayland::xdg_activation_token_v1_t::commit_since_version
static constexpr std::uint32_t commit_since_version
Minimum protocol version required for the commit function.
Definition wayland-client-protocol-unstable.hpp:6822
wayland::xdg_activation_v1_t
interface for activating surfaces
Definition wayland-client-protocol-unstable.hpp:6672
wayland::xdg_activation_v1_t::activate_since_version
static constexpr std::uint32_t activate_since_version
Minimum protocol version required for the activate function.
Definition wayland-client-protocol-unstable.hpp:6726
wayland::xdg_activation_v1_t::activate
void activate(std::string const &token, surface_t const &surface)
notify new interaction being available
Definition wayland-client-protocol-unstable.cpp:8678
wayland::xdg_activation_v1_t::get_activation_token_since_version
static constexpr std::uint32_t get_activation_token_since_version
Minimum protocol version required for the get_activation_token function.
Definition wayland-client-protocol-unstable.hpp:6704
wayland::xdg_activation_v1_t::get_activation_token
xdg_activation_token_v1_t get_activation_token()
requests a token
Definition wayland-client-protocol-unstable.cpp:8671
wayland::xdg_toplevel_t
toplevel surface
Definition wayland-client-protocol-extra.hpp:1191
wayland::zwp_confined_pointer_v1_t
confined pointer object
Definition wayland-client-protocol-unstable.hpp:2717
wayland::zwp_confined_pointer_v1_t::set_region_since_version
static constexpr std::uint32_t set_region_since_version
Minimum protocol version required for the set_region function.
Definition wayland-client-protocol-unstable.hpp:2765
wayland::zwp_confined_pointer_v1_t::on_unconfined
std::function< void()> & on_unconfined()
pointer unconfined
Definition wayland-client-protocol-unstable.cpp:5926
wayland::zwp_confined_pointer_v1_t::on_confined
std::function< void()> & on_confined()
pointer confined
Definition wayland-client-protocol-unstable.cpp:5921
wayland::zwp_confined_pointer_v1_t::set_region
void set_region(region_t const &region)
set a new confine region
Definition wayland-client-protocol-unstable.cpp:5915
wayland::zwp_fullscreen_shell_v1_t
displays a single surface per output
Definition wayland-client-protocol-unstable.hpp:307
wayland::zwp_fullscreen_shell_v1_t::release
void release()
release the wl_fullscreen_shell interface
Definition wayland-client-protocol-unstable.cpp:4252
wayland::zwp_fullscreen_shell_v1_t::present_surface_since_version
static constexpr std::uint32_t present_surface_since_version
Minimum protocol version required for the present_surface function.
Definition wayland-client-protocol-unstable.hpp:376
wayland::zwp_fullscreen_shell_v1_t::present_surface_for_mode_since_version
static constexpr std::uint32_t present_surface_for_mode_since_version
Minimum protocol version required for the present_surface_for_mode function.
Definition wayland-client-protocol-unstable.hpp:430
wayland::zwp_fullscreen_shell_v1_t::present_surface_for_mode
zwp_fullscreen_shell_mode_feedback_v1_t present_surface_for_mode(surface_t const &surface, output_t const &output, int32_t framerate)
present surface for display at a particular mode
Definition wayland-client-protocol-unstable.cpp:4264
wayland::zwp_fullscreen_shell_v1_t::on_capability
std::function< void(zwp_fullscreen_shell_v1_capability)> & on_capability()
advertises a capability of the compositor
Definition wayland-client-protocol-unstable.cpp:4271
wayland::zwp_fullscreen_shell_v1_t::release_since_version
static constexpr std::uint32_t release_since_version
Minimum protocol version required for the release function.
Definition wayland-client-protocol-unstable.hpp:342
wayland::zwp_fullscreen_shell_v1_t::present_surface
void present_surface(surface_t const &surface, zwp_fullscreen_shell_v1_present_method const &method, output_t const &output)
present surface for display
Definition wayland-client-protocol-unstable.cpp:4258
wayland::zwp_idle_inhibit_manager_v1_t
control behavior when display idles
Definition wayland-client-protocol-unstable.hpp:601
wayland::zwp_idle_inhibit_manager_v1_t::create_inhibitor_since_version
static constexpr std::uint32_t create_inhibitor_since_version
Minimum protocol version required for the create_inhibitor function.
Definition wayland-client-protocol-unstable.hpp:632
wayland::zwp_idle_inhibit_manager_v1_t::create_inhibitor
zwp_idle_inhibitor_v1_t create_inhibitor(surface_t const &surface)
create a new inhibitor object
Definition wayland-client-protocol-unstable.cpp:4424
wayland::zwp_idle_inhibitor_v1_t
context object for inhibiting idle behavior
Definition wayland-client-protocol-unstable.hpp:654
wayland::zwp_input_method_context_v1_t
input method context
Definition wayland-client-protocol-unstable.hpp:706
wayland::zwp_input_method_context_v1_t::preedit_string_since_version
static constexpr std::uint32_t preedit_string_since_version
Minimum protocol version required for the preedit_string function.
Definition wayland-client-protocol-unstable.hpp:772
wayland::zwp_input_method_context_v1_t::grab_keyboard_since_version
static constexpr std::uint32_t grab_keyboard_since_version
Minimum protocol version required for the grab_keyboard function.
Definition wayland-client-protocol-unstable.hpp:889
wayland::zwp_input_method_context_v1_t::on_invoke_action
std::function< void(uint32_t, uint32_t)> & on_invoke_action()
Definition wayland-client-protocol-unstable.cpp:4637
wayland::zwp_input_method_context_v1_t::modifiers
void modifiers(uint32_t serial, uint32_t mods_depressed, uint32_t mods_latched, uint32_t mods_locked, uint32_t group)
forward modifiers event
Definition wayland-client-protocol-unstable.cpp:4604
wayland::zwp_input_method_context_v1_t::modifiers_map_since_version
static constexpr std::uint32_t modifiers_map_since_version
Minimum protocol version required for the modifiers_map function.
Definition wayland-client-protocol-unstable.hpp:856
wayland::zwp_input_method_context_v1_t::preedit_styling_since_version
static constexpr std::uint32_t preedit_styling_since_version
Minimum protocol version required for the preedit_styling function.
Definition wayland-client-protocol-unstable.hpp:791
wayland::zwp_input_method_context_v1_t::preedit_string
void preedit_string(uint32_t serial, std::string const &text, std::string const &commit)
pre-edit string
Definition wayland-client-protocol-unstable.cpp:4549
wayland::zwp_input_method_context_v1_t::preedit_styling
void preedit_styling(uint32_t index, uint32_t length, zwp_text_input_v1_preedit_style const &style)
pre-edit styling
Definition wayland-client-protocol-unstable.cpp:4555
wayland::zwp_input_method_context_v1_t::on_surrounding_text
std::function< void(std::string, uint32_t, uint32_t)> & on_surrounding_text()
surrounding text event
Definition wayland-client-protocol-unstable.cpp:4622
wayland::zwp_input_method_context_v1_t::commit_string_since_version
static constexpr std::uint32_t commit_string_since_version
Minimum protocol version required for the commit_string function.
Definition wayland-client-protocol-unstable.hpp:752
wayland::zwp_input_method_context_v1_t::cursor_position
void cursor_position(int32_t index, int32_t anchor)
set cursor to a new position
Definition wayland-client-protocol-unstable.cpp:4573
wayland::zwp_input_method_context_v1_t::language_since_version
static constexpr std::uint32_t language_since_version
Minimum protocol version required for the language function.
Definition wayland-client-protocol-unstable.hpp:939
wayland::zwp_input_method_context_v1_t::text_direction
void text_direction(uint32_t serial, uint32_t direction)
Definition wayland-client-protocol-unstable.cpp:4616
wayland::zwp_input_method_context_v1_t::key_since_version
static constexpr std::uint32_t key_since_version
Minimum protocol version required for the key function.
Definition wayland-client-protocol-unstable.hpp:909
wayland::zwp_input_method_context_v1_t::on_content_type
std::function< void(zwp_text_input_v1_content_hint, zwp_text_input_v1_content_purpose)> & on_content_type()
Definition wayland-client-protocol-unstable.cpp:4632
wayland::zwp_input_method_context_v1_t::modifiers_since_version
static constexpr std::uint32_t modifiers_since_version
Minimum protocol version required for the modifiers function.
Definition wayland-client-protocol-unstable.hpp:928
wayland::zwp_input_method_context_v1_t::grab_keyboard
keyboard_t grab_keyboard()
grab hardware keyboard
Definition wayland-client-protocol-unstable.cpp:4591
wayland::zwp_input_method_context_v1_t::language
void language(uint32_t serial, std::string const &language)
Definition wayland-client-protocol-unstable.cpp:4610
wayland::zwp_input_method_context_v1_t::delete_surrounding_text
void delete_surrounding_text(int32_t index, uint32_t length)
delete text
Definition wayland-client-protocol-unstable.cpp:4567
wayland::zwp_input_method_context_v1_t::text_direction_since_version
static constexpr std::uint32_t text_direction_since_version
Minimum protocol version required for the text_direction function.
Definition wayland-client-protocol-unstable.hpp:950
wayland::zwp_input_method_context_v1_t::keysym
void keysym(uint32_t serial, uint32_t time, uint32_t sym, keyboard_key_state const &state, uint32_t modifiers)
keysym
Definition wayland-client-protocol-unstable.cpp:4585
wayland::zwp_input_method_context_v1_t::commit_string
void commit_string(uint32_t serial, std::string const &text)
commit string
Definition wayland-client-protocol-unstable.cpp:4543
wayland::zwp_input_method_context_v1_t::preedit_cursor_since_version
static constexpr std::uint32_t preedit_cursor_since_version
Minimum protocol version required for the preedit_cursor function.
Definition wayland-client-protocol-unstable.hpp:808
wayland::zwp_input_method_context_v1_t::keysym_since_version
static constexpr std::uint32_t keysym_since_version
Minimum protocol version required for the keysym function.
Definition wayland-client-protocol-unstable.hpp:875
wayland::zwp_input_method_context_v1_t::key
void key(uint32_t serial, uint32_t time, uint32_t key, keyboard_key_state const &state)
forward key event
Definition wayland-client-protocol-unstable.cpp:4598
wayland::zwp_input_method_context_v1_t::cursor_position_since_version
static constexpr std::uint32_t cursor_position_since_version
Minimum protocol version required for the cursor_position function.
Definition wayland-client-protocol-unstable.hpp:846
wayland::zwp_input_method_context_v1_t::delete_surrounding_text_since_version
static constexpr std::uint32_t delete_surrounding_text_since_version
Minimum protocol version required for the delete_surrounding_text function.
Definition wayland-client-protocol-unstable.hpp:824
wayland::zwp_input_method_context_v1_t::on_preferred_language
std::function< void(std::string)> & on_preferred_language()
Definition wayland-client-protocol-unstable.cpp:4647
wayland::zwp_input_method_context_v1_t::modifiers_map
void modifiers_map(array_t const &map)
Definition wayland-client-protocol-unstable.cpp:4579
wayland::zwp_input_method_context_v1_t::preedit_cursor
void preedit_cursor(int32_t index)
pre-edit cursor
Definition wayland-client-protocol-unstable.cpp:4561
wayland::zwp_input_method_context_v1_t::on_commit_state
std::function< void(uint32_t)> & on_commit_state()
Definition wayland-client-protocol-unstable.cpp:4642
wayland::zwp_input_method_v1_t
input method
Definition wayland-client-protocol-unstable.hpp:1009
wayland::zwp_input_method_v1_t::on_activate
std::function< void(zwp_input_method_context_v1_t)> & on_activate()
activate event
Definition wayland-client-protocol-unstable.cpp:4728
wayland::zwp_input_method_v1_t::on_deactivate
std::function< void(zwp_input_method_context_v1_t)> & on_deactivate()
deactivate event
Definition wayland-client-protocol-unstable.cpp:4733
wayland::zwp_input_panel_v1_t
interface for implementing keyboards
Definition wayland-client-protocol-unstable.hpp:1060
wayland::zwp_input_panel_v1_t::get_input_panel_surface
zwp_input_panel_surface_v1_t get_input_panel_surface(surface_t const &surface)
Definition wayland-client-protocol-unstable.cpp:4802
wayland::zwp_input_panel_v1_t::get_input_panel_surface_since_version
static constexpr std::uint32_t get_input_panel_surface_since_version
Minimum protocol version required for the get_input_panel_surface function.
Definition wayland-client-protocol-unstable.hpp:1089
wayland::zwp_input_timestamps_manager_v1_t
context object for high-resolution input timestamps
Definition wayland-client-protocol-unstable.hpp:1166
wayland::zwp_input_timestamps_manager_v1_t::get_keyboard_timestamps
zwp_input_timestamps_v1_t get_keyboard_timestamps(keyboard_t const &keyboard)
subscribe to high-resolution keyboard timestamp events
Definition wayland-client-protocol-unstable.cpp:4932
wayland::zwp_input_timestamps_manager_v1_t::get_pointer_timestamps_since_version
static constexpr std::uint32_t get_pointer_timestamps_since_version
Minimum protocol version required for the get_pointer_timestamps function.
Definition wayland-client-protocol-unstable.hpp:1223
wayland::zwp_input_timestamps_manager_v1_t::get_touch_timestamps_since_version
static constexpr std::uint32_t get_touch_timestamps_since_version
Minimum protocol version required for the get_touch_timestamps function.
Definition wayland-client-protocol-unstable.hpp:1242
wayland::zwp_input_timestamps_manager_v1_t::get_touch_timestamps
zwp_input_timestamps_v1_t get_touch_timestamps(touch_t const &touch)
subscribe to high-resolution touch timestamp events
Definition wayland-client-protocol-unstable.cpp:4946
wayland::zwp_input_timestamps_manager_v1_t::get_pointer_timestamps
zwp_input_timestamps_v1_t get_pointer_timestamps(pointer_t const &pointer)
subscribe to high-resolution pointer timestamp events
Definition wayland-client-protocol-unstable.cpp:4939
wayland::zwp_input_timestamps_manager_v1_t::get_keyboard_timestamps_since_version
static constexpr std::uint32_t get_keyboard_timestamps_since_version
Minimum protocol version required for the get_keyboard_timestamps function.
Definition wayland-client-protocol-unstable.hpp:1204
wayland::zwp_input_timestamps_v1_t
context object for input timestamps
Definition wayland-client-protocol-unstable.hpp:1255
wayland::zwp_input_timestamps_v1_t::on_timestamp
std::function< void(uint32_t, uint32_t, uint32_t)> & on_timestamp()
high-resolution timestamp event
Definition wayland-client-protocol-unstable.cpp:5009
wayland::zwp_keyboard_shortcuts_inhibit_manager_v1_t
context object for keyboard grab_manager
Definition wayland-client-protocol-unstable.hpp:1309
wayland::zwp_keyboard_shortcuts_inhibit_manager_v1_t::inhibit_shortcuts_since_version
static constexpr std::uint32_t inhibit_shortcuts_since_version
Minimum protocol version required for the inhibit_shortcuts function.
Definition wayland-client-protocol-unstable.hpp:1345
wayland::zwp_keyboard_shortcuts_inhibit_manager_v1_t::inhibit_shortcuts
zwp_keyboard_shortcuts_inhibitor_v1_t inhibit_shortcuts(surface_t const &surface, seat_t const &seat)
create a new keyboard shortcuts inhibitor object
Definition wayland-client-protocol-unstable.cpp:5077
wayland::zwp_keyboard_shortcuts_inhibitor_v1_t
context object for keyboard shortcuts inhibitor
Definition wayland-client-protocol-unstable.hpp:1397
wayland::zwp_keyboard_shortcuts_inhibitor_v1_t::on_inactive
std::function< void()> & on_inactive()
shortcuts are restored
Definition wayland-client-protocol-unstable.cpp:5146
wayland::zwp_keyboard_shortcuts_inhibitor_v1_t::on_active
std::function< void()> & on_active()
shortcuts are inhibited
Definition wayland-client-protocol-unstable.cpp:5141
wayland::zwp_linux_buffer_params_v1_t
parameters for creating a dmabuf-based wl_buffer
Definition wayland-client-protocol-unstable.hpp:1672
wayland::zwp_linux_buffer_params_v1_t::create_immed
buffer_t create_immed(int32_t width, int32_t height, uint32_t format, zwp_linux_buffer_params_v1_flags const &flags)
immediately create a wl_buffer from the given dmabufs
Definition wayland-client-protocol-unstable.cpp:5336
wayland::zwp_linux_buffer_params_v1_t::on_failed
std::function< void()> & on_failed()
buffer creation failed
Definition wayland-client-protocol-unstable.cpp:5353
wayland::zwp_linux_buffer_params_v1_t::add
void add(int fd, uint32_t plane_idx, uint32_t offset, uint32_t stride, uint32_t modifier_hi, uint32_t modifier_lo)
add a dmabuf to the temporary set
Definition wayland-client-protocol-unstable.cpp:5324
wayland::zwp_linux_buffer_params_v1_t::create_since_version
static constexpr std::uint32_t create_since_version
Minimum protocol version required for the create function.
Definition wayland-client-protocol-unstable.hpp:1798
wayland::zwp_linux_buffer_params_v1_t::on_created
std::function< void(buffer_t)> & on_created()
buffer creation succeeded
Definition wayland-client-protocol-unstable.cpp:5348
wayland::zwp_linux_buffer_params_v1_t::can_create_immed
bool can_create_immed() const
Check whether the create_immed function is available with the currently bound version of the protocol...
Definition wayland-client-protocol-unstable.cpp:5342
wayland::zwp_linux_buffer_params_v1_t::add_since_version
static constexpr std::uint32_t add_since_version
Minimum protocol version required for the add function.
Definition wayland-client-protocol-unstable.hpp:1725
wayland::zwp_linux_buffer_params_v1_t::create
void create(int32_t width, int32_t height, uint32_t format, zwp_linux_buffer_params_v1_flags const &flags)
create a wl_buffer from the given dmabufs
Definition wayland-client-protocol-unstable.cpp:5330
wayland::zwp_linux_buffer_params_v1_t::create_immed_since_version
static constexpr std::uint32_t create_immed_since_version
Minimum protocol version required for the create_immed function.
Definition wayland-client-protocol-unstable.hpp:1836
wayland::zwp_linux_buffer_release_v1_t
buffer release explicit synchronization
Definition wayland-client-protocol-unstable.hpp:2375
wayland::zwp_linux_buffer_release_v1_t::on_fenced_release
std::function< void(int)> & on_fenced_release()
release buffer with fence
Definition wayland-client-protocol-unstable.cpp:5679
wayland::zwp_linux_buffer_release_v1_t::on_immediate_release
std::function< void()> & on_immediate_release()
release buffer immediately
Definition wayland-client-protocol-unstable.cpp:5684
wayland::zwp_linux_dmabuf_feedback_v1_t
dmabuf feedback
Definition wayland-client-protocol-unstable.hpp:1940
wayland::zwp_linux_dmabuf_feedback_v1_t::on_tranche_done
std::function< void()> & on_tranche_done()
a preference tranche has been sent
Definition wayland-client-protocol-unstable.cpp:5444
wayland::zwp_linux_dmabuf_feedback_v1_t::on_main_device
std::function< void(array_t)> & on_main_device()
preferred main device
Definition wayland-client-protocol-unstable.cpp:5439
wayland::zwp_linux_dmabuf_feedback_v1_t::on_tranche_flags
std::function< void(zwp_linux_dmabuf_feedback_v1_tranche_flags)> & on_tranche_flags()
tranche flags
Definition wayland-client-protocol-unstable.cpp:5459
wayland::zwp_linux_dmabuf_feedback_v1_t::on_done
std::function< void()> & on_done()
all feedback has been sent
Definition wayland-client-protocol-unstable.cpp:5429
wayland::zwp_linux_dmabuf_feedback_v1_t::on_tranche_formats
std::function< void(array_t)> & on_tranche_formats()
supported buffer format modifier
Definition wayland-client-protocol-unstable.cpp:5454
wayland::zwp_linux_dmabuf_feedback_v1_t::on_format_table
std::function< void(int, uint32_t)> & on_format_table()
format and modifier table
Definition wayland-client-protocol-unstable.cpp:5434
wayland::zwp_linux_dmabuf_feedback_v1_t::on_tranche_target_device
std::function< void(array_t)> & on_tranche_target_device()
target device
Definition wayland-client-protocol-unstable.cpp:5449
wayland::zwp_linux_dmabuf_v1_t
factory for creating dmabuf-based wl_buffers
Definition wayland-client-protocol-unstable.hpp:1521
wayland::zwp_linux_dmabuf_v1_t::get_default_feedback_since_version
static constexpr std::uint32_t get_default_feedback_since_version
Minimum protocol version required for the get_default_feedback function.
Definition wayland-client-protocol-unstable.hpp:1571
wayland::zwp_linux_dmabuf_v1_t::on_format
std::function< void(uint32_t)> & on_format()
supported buffer format
Definition wayland-client-protocol-unstable.cpp:5248
wayland::zwp_linux_dmabuf_v1_t::can_get_default_feedback
bool can_get_default_feedback() const
Check whether the get_default_feedback function is available with the currently bound version of the ...
Definition wayland-client-protocol-unstable.cpp:5230
wayland::zwp_linux_dmabuf_v1_t::can_get_surface_feedback
bool can_get_surface_feedback() const
Check whether the get_surface_feedback function is available with the currently bound version of the ...
Definition wayland-client-protocol-unstable.cpp:5242
wayland::zwp_linux_dmabuf_v1_t::get_surface_feedback
zwp_linux_dmabuf_feedback_v1_t get_surface_feedback(surface_t const &surface)
get feedback for a surface
Definition wayland-client-protocol-unstable.cpp:5236
wayland::zwp_linux_dmabuf_v1_t::create_params_since_version
static constexpr std::uint32_t create_params_since_version
Minimum protocol version required for the create_params function.
Definition wayland-client-protocol-unstable.hpp:1557
wayland::zwp_linux_dmabuf_v1_t::get_default_feedback
zwp_linux_dmabuf_feedback_v1_t get_default_feedback()
get default feedback
Definition wayland-client-protocol-unstable.cpp:5224
wayland::zwp_linux_dmabuf_v1_t::on_modifier
std::function< void(uint32_t, uint32_t, uint32_t)> & on_modifier()
supported buffer format modifier
Definition wayland-client-protocol-unstable.cpp:5253
wayland::zwp_linux_dmabuf_v1_t::get_surface_feedback_since_version
static constexpr std::uint32_t get_surface_feedback_since_version
Minimum protocol version required for the get_surface_feedback function.
Definition wayland-client-protocol-unstable.hpp:1593
wayland::zwp_linux_dmabuf_v1_t::create_params
zwp_linux_buffer_params_v1_t create_params()
create a temporary object for buffer parameters
Definition wayland-client-protocol-unstable.cpp:5217
wayland::zwp_linux_explicit_synchronization_v1_t
protocol for providing explicit synchronization
Definition wayland-client-protocol-unstable.hpp:2157
wayland::zwp_linux_explicit_synchronization_v1_t::get_synchronization_since_version
static constexpr std::uint32_t get_synchronization_since_version
Minimum protocol version required for the get_synchronization function.
Definition wayland-client-protocol-unstable.hpp:2199
wayland::zwp_linux_explicit_synchronization_v1_t::get_synchronization
zwp_linux_surface_synchronization_v1_t get_synchronization(surface_t const &surface)
extend surface interface for explicit synchronization
Definition wayland-client-protocol-unstable.cpp:5547
wayland::zwp_linux_surface_synchronization_v1_t
per-surface explicit synchronization support
Definition wayland-client-protocol-unstable.hpp:2248
wayland::zwp_linux_surface_synchronization_v1_t::get_release_since_version
static constexpr std::uint32_t get_release_since_version
Minimum protocol version required for the get_release function.
Definition wayland-client-protocol-unstable.hpp:2329
wayland::zwp_linux_surface_synchronization_v1_t::get_release
zwp_linux_buffer_release_v1_t get_release()
release fence for last-attached buffer
Definition wayland-client-protocol-unstable.cpp:5617
wayland::zwp_linux_surface_synchronization_v1_t::set_acquire_fence_since_version
static constexpr std::uint32_t set_acquire_fence_since_version
Minimum protocol version required for the set_acquire_fence function.
Definition wayland-client-protocol-unstable.hpp:2301
wayland::zwp_linux_surface_synchronization_v1_t::set_acquire_fence
void set_acquire_fence(int fd)
set the acquire fence
Definition wayland-client-protocol-unstable.cpp:5611
wayland::zwp_locked_pointer_v1_t
receive relative pointer motion events
Definition wayland-client-protocol-unstable.hpp:2610
wayland::zwp_locked_pointer_v1_t::set_cursor_position_hint_since_version
static constexpr std::uint32_t set_cursor_position_hint_since_version
Minimum protocol version required for the set_cursor_position_hint function.
Definition wayland-client-protocol-unstable.hpp:2654
wayland::zwp_locked_pointer_v1_t::set_cursor_position_hint
void set_cursor_position_hint(double surface_x, double surface_y)
set the pointer cursor position hint
Definition wayland-client-protocol-unstable.cpp:5827
wayland::zwp_locked_pointer_v1_t::set_region
void set_region(region_t const &region)
set a new lock region
Definition wayland-client-protocol-unstable.cpp:5833
wayland::zwp_locked_pointer_v1_t::on_unlocked
std::function< void()> & on_unlocked()
lock deactivation event
Definition wayland-client-protocol-unstable.cpp:5844
wayland::zwp_locked_pointer_v1_t::on_locked
std::function< void()> & on_locked()
lock activation event
Definition wayland-client-protocol-unstable.cpp:5839
wayland::zwp_locked_pointer_v1_t::set_region_since_version
static constexpr std::uint32_t set_region_since_version
Minimum protocol version required for the set_region function.
Definition wayland-client-protocol-unstable.hpp:2672
wayland::zwp_pointer_constraints_v1_t
constrain the movement of a pointer
Definition wayland-client-protocol-unstable.hpp:2454
wayland::zwp_pointer_constraints_v1_t::lock_pointer_since_version
static constexpr std::uint32_t lock_pointer_since_version
Minimum protocol version required for the lock_pointer function.
Definition wayland-client-protocol-unstable.hpp:2521
wayland::zwp_pointer_constraints_v1_t::confine_pointer
zwp_confined_pointer_v1_t confine_pointer(surface_t const &surface, pointer_t const &pointer, region_t const &region, zwp_pointer_constraints_v1_lifetime const &lifetime)
confine pointer to a region
Definition wayland-client-protocol-unstable.cpp:5762
wayland::zwp_pointer_constraints_v1_t::lock_pointer
zwp_locked_pointer_v1_t lock_pointer(surface_t const &surface, pointer_t const &pointer, region_t const &region, zwp_pointer_constraints_v1_lifetime const &lifetime)
lock pointer to a position
Definition wayland-client-protocol-unstable.cpp:5755
wayland::zwp_pointer_constraints_v1_t::confine_pointer_since_version
static constexpr std::uint32_t confine_pointer_since_version
Minimum protocol version required for the confine_pointer function.
Definition wayland-client-protocol-unstable.hpp:2552
wayland::zwp_pointer_gesture_hold_v1_t
a hold gesture object
Definition wayland-client-protocol-unstable.hpp:3105
wayland::zwp_pointer_gesture_hold_v1_t::on_end
std::function< void(uint32_t, uint32_t, int32_t)> & on_end()
multi-finger hold end
Definition wayland-client-protocol-unstable.cpp:6261
wayland::zwp_pointer_gesture_hold_v1_t::on_begin
std::function< void(uint32_t, uint32_t, surface_t, uint32_t)> & on_begin()
multi-finger hold begin
Definition wayland-client-protocol-unstable.cpp:6256
wayland::zwp_pointer_gesture_pinch_v1_t
a pinch gesture object
Definition wayland-client-protocol-unstable.hpp:3005
wayland::zwp_pointer_gesture_pinch_v1_t::on_end
std::function< void(uint32_t, uint32_t, int32_t)> & on_end()
multi-finger pinch end
Definition wayland-client-protocol-unstable.cpp:6182
wayland::zwp_pointer_gesture_pinch_v1_t::on_update
std::function< void(uint32_t, double, double, double, double)> & on_update()
multi-finger pinch motion
Definition wayland-client-protocol-unstable.cpp:6177
wayland::zwp_pointer_gesture_pinch_v1_t::on_begin
std::function< void(uint32_t, uint32_t, surface_t, uint32_t)> & on_begin()
multi-finger pinch begin
Definition wayland-client-protocol-unstable.cpp:6172
wayland::zwp_pointer_gesture_swipe_v1_t
a swipe gesture object
Definition wayland-client-protocol-unstable.hpp:2916
wayland::zwp_pointer_gesture_swipe_v1_t::on_begin
std::function< void(uint32_t, uint32_t, surface_t, uint32_t)> & on_begin()
multi-finger swipe begin
Definition wayland-client-protocol-unstable.cpp:6088
wayland::zwp_pointer_gesture_swipe_v1_t::on_end
std::function< void(uint32_t, uint32_t, int32_t)> & on_end()
multi-finger swipe end
Definition wayland-client-protocol-unstable.cpp:6098
wayland::zwp_pointer_gesture_swipe_v1_t::on_update
std::function< void(uint32_t, double, double)> & on_update()
multi-finger swipe motion
Definition wayland-client-protocol-unstable.cpp:6093
wayland::zwp_pointer_gestures_v1_t
touchpad gestures
Definition wayland-client-protocol-unstable.hpp:2811
wayland::zwp_pointer_gestures_v1_t::get_hold_gesture_since_version
static constexpr std::uint32_t get_hold_gesture_since_version
Minimum protocol version required for the get_hold_gesture function.
Definition wayland-client-protocol-unstable.hpp:2886
wayland::zwp_pointer_gestures_v1_t::release_since_version
static constexpr std::uint32_t release_since_version
Minimum protocol version required for the release function.
Definition wayland-client-protocol-unstable.hpp:2868
wayland::zwp_pointer_gestures_v1_t::get_swipe_gesture
zwp_pointer_gesture_swipe_v1_t get_swipe_gesture(pointer_t const &pointer)
get swipe gesture
Definition wayland-client-protocol-unstable.cpp:5995
wayland::zwp_pointer_gestures_v1_t::get_pinch_gesture
zwp_pointer_gesture_pinch_v1_t get_pinch_gesture(pointer_t const &pointer)
get pinch gesture
Definition wayland-client-protocol-unstable.cpp:6002
wayland::zwp_pointer_gestures_v1_t::release
void release()
destroy the pointer gesture object
Definition wayland-client-protocol-unstable.cpp:6009
wayland::zwp_pointer_gestures_v1_t::get_swipe_gesture_since_version
static constexpr std::uint32_t get_swipe_gesture_since_version
Minimum protocol version required for the get_swipe_gesture function.
Definition wayland-client-protocol-unstable.hpp:2843
wayland::zwp_pointer_gestures_v1_t::get_pinch_gesture_since_version
static constexpr std::uint32_t get_pinch_gesture_since_version
Minimum protocol version required for the get_pinch_gesture function.
Definition wayland-client-protocol-unstable.hpp:2856
wayland::zwp_pointer_gestures_v1_t::can_release
bool can_release() const
Check whether the release function is available with the currently bound version of the protocol.
Definition wayland-client-protocol-unstable.cpp:6014
wayland::zwp_pointer_gestures_v1_t::can_get_hold_gesture
bool can_get_hold_gesture() const
Check whether the get_hold_gesture function is available with the currently bound version of the prot...
Definition wayland-client-protocol-unstable.cpp:6026
wayland::zwp_pointer_gestures_v1_t::get_hold_gesture
zwp_pointer_gesture_hold_v1_t get_hold_gesture(pointer_t const &pointer)
get hold gesture
Definition wayland-client-protocol-unstable.cpp:6020
wayland::zwp_primary_selection_device_manager_v1_t
X primary selection emulation.
Definition wayland-client-protocol-unstable.hpp:3169
wayland::zwp_primary_selection_device_manager_v1_t::get_device_since_version
static constexpr std::uint32_t get_device_since_version
Minimum protocol version required for the get_device function.
Definition wayland-client-protocol-unstable.hpp:3211
wayland::zwp_primary_selection_device_manager_v1_t::get_device
zwp_primary_selection_device_v1_t get_device(seat_t const &seat)
create a new primary selection device
Definition wayland-client-protocol-unstable.cpp:6339
wayland::zwp_primary_selection_device_manager_v1_t::create_source
zwp_primary_selection_source_v1_t create_source()
create a new primary selection source
Definition wayland-client-protocol-unstable.cpp:6332
wayland::zwp_primary_selection_device_manager_v1_t::create_source_since_version
static constexpr std::uint32_t create_source_since_version
Minimum protocol version required for the create_source function.
Definition wayland-client-protocol-unstable.hpp:3199
wayland::zwp_primary_selection_offer_v1_t
offer to transfer primary selection contents
Definition wayland-client-protocol-unstable.hpp:3300
wayland::zwp_primary_selection_offer_v1_t::receive
void receive(std::string const &mime_type, int fd)
request that the data is transferred
Definition wayland-client-protocol-unstable.cpp:6484
wayland::zwp_primary_selection_offer_v1_t::on_offer
std::function< void(std::string)> & on_offer()
advertise offered mime type
Definition wayland-client-protocol-unstable.cpp:6490
wayland::zwp_primary_selection_offer_v1_t::receive_since_version
static constexpr std::uint32_t receive_since_version
Minimum protocol version required for the receive function.
Definition wayland-client-protocol-unstable.hpp:3341
wayland::zwp_primary_selection_source_v1_t
offer to replace the contents of the primary selection
Definition wayland-client-protocol-unstable.hpp:3365
wayland::zwp_primary_selection_source_v1_t::on_cancelled
std::function< void()> & on_cancelled()
request for primary selection contents was canceled
Definition wayland-client-protocol-unstable.cpp:6569
wayland::zwp_primary_selection_source_v1_t::offer
void offer(std::string const &mime_type)
add an offered mime type
Definition wayland-client-protocol-unstable.cpp:6558
wayland::zwp_primary_selection_source_v1_t::on_send
std::function< void(std::string, int)> & on_send()
send the primary selection contents
Definition wayland-client-protocol-unstable.cpp:6564
wayland::zwp_primary_selection_source_v1_t::offer_since_version
static constexpr std::uint32_t offer_since_version
Minimum protocol version required for the offer function.
Definition wayland-client-protocol-unstable.hpp:3399
wayland::zwp_relative_pointer_manager_v1_t
get relative pointer objects
Definition wayland-client-protocol-unstable.hpp:3430
wayland::zwp_relative_pointer_manager_v1_t::get_relative_pointer
zwp_relative_pointer_v1_t get_relative_pointer(pointer_t const &pointer)
get a relative pointer object
Definition wayland-client-protocol-unstable.cpp:6640
wayland::zwp_relative_pointer_manager_v1_t::get_relative_pointer_since_version
static constexpr std::uint32_t get_relative_pointer_since_version
Minimum protocol version required for the get_relative_pointer function.
Definition wayland-client-protocol-unstable.hpp:3462
wayland::zwp_relative_pointer_v1_t
relative pointer object
Definition wayland-client-protocol-unstable.hpp:3476
wayland::zwp_relative_pointer_v1_t::on_relative_motion
std::function< void(uint32_t, uint32_t, double, double, double, double)> & on_relative_motion()
relative pointer motion
Definition wayland-client-protocol-unstable.cpp:6703
wayland::zwp_tablet_manager_v1_t
controller object for graphic tablet devices
Definition wayland-client-protocol-unstable.hpp:3551
wayland::zwp_tablet_manager_v1_t::get_tablet_seat_since_version
static constexpr std::uint32_t get_tablet_seat_since_version
Minimum protocol version required for the get_tablet_seat function.
Definition wayland-client-protocol-unstable.hpp:3583
wayland::zwp_tablet_manager_v1_t::get_tablet_seat
zwp_tablet_seat_v1_t get_tablet_seat(seat_t const &seat)
get the tablet seat
Definition wayland-client-protocol-unstable.cpp:6771
wayland::zwp_tablet_manager_v2_t
controller object for graphic tablet devices
Definition wayland-client-protocol-unstable.hpp:4234
wayland::zwp_tablet_manager_v2_t::get_tablet_seat_since_version
static constexpr std::uint32_t get_tablet_seat_since_version
Minimum protocol version required for the get_tablet_seat function.
Definition wayland-client-protocol-unstable.hpp:4266
wayland::zwp_tablet_manager_v2_t::get_tablet_seat
zwp_tablet_seat_v2_t get_tablet_seat(seat_t const &seat)
get the tablet seat
Definition wayland-client-protocol-unstable.cpp:7232
wayland::zwp_tablet_pad_group_v2_t
a set of buttons, rings and strips
Definition wayland-client-protocol-unstable.hpp:5251
wayland::zwp_tablet_pad_group_v2_t::on_done
std::function< void()> & on_done()
tablet group description events sequence complete
Definition wayland-client-protocol-unstable.cpp:7919
wayland::zwp_tablet_pad_group_v2_t::on_modes
std::function< void(uint32_t)> & on_modes()
mode-switch ability announced
Definition wayland-client-protocol-unstable.cpp:7914
wayland::zwp_tablet_pad_group_v2_t::on_strip
std::function< void(zwp_tablet_pad_strip_v2_t)> & on_strip()
strip announced
Definition wayland-client-protocol-unstable.cpp:7909
wayland::zwp_tablet_pad_group_v2_t::on_buttons
std::function< void(array_t)> & on_buttons()
buttons announced
Definition wayland-client-protocol-unstable.cpp:7899
wayland::zwp_tablet_pad_group_v2_t::on_mode_switch
std::function< void(uint32_t, uint32_t, uint32_t)> & on_mode_switch()
mode switch event
Definition wayland-client-protocol-unstable.cpp:7924
wayland::zwp_tablet_pad_group_v2_t::on_ring
std::function< void(zwp_tablet_pad_ring_v2_t)> & on_ring()
ring announced
Definition wayland-client-protocol-unstable.cpp:7904
wayland::zwp_tablet_pad_ring_v2_t
pad ring
Definition wayland-client-protocol-unstable.hpp:4935
wayland::zwp_tablet_pad_ring_v2_t::on_angle
std::function< void(double)> & on_angle()
angle changed
Definition wayland-client-protocol-unstable.cpp:7712
wayland::zwp_tablet_pad_ring_v2_t::set_feedback
void set_feedback(std::string const &description, uint32_t serial)
set compositor feedback
Definition wayland-client-protocol-unstable.cpp:7701
wayland::zwp_tablet_pad_ring_v2_t::on_frame
std::function< void(uint32_t)> & on_frame()
end of a ring event sequence
Definition wayland-client-protocol-unstable.cpp:7722
wayland::zwp_tablet_pad_ring_v2_t::set_feedback_since_version
static constexpr std::uint32_t set_feedback_since_version
Minimum protocol version required for the set_feedback function.
Definition wayland-client-protocol-unstable.hpp:4989
wayland::zwp_tablet_pad_ring_v2_t::on_source
std::function< void(zwp_tablet_pad_ring_v2_source)> & on_source()
ring event source
Definition wayland-client-protocol-unstable.cpp:7707
wayland::zwp_tablet_pad_ring_v2_t::on_stop
std::function< void()> & on_stop()
interaction stopped
Definition wayland-client-protocol-unstable.cpp:7717
wayland::zwp_tablet_pad_strip_v2_t
pad strip
Definition wayland-client-protocol-unstable.hpp:5084
wayland::zwp_tablet_pad_strip_v2_t::on_source
std::function< void(zwp_tablet_pad_strip_v2_source)> & on_source()
strip event source
Definition wayland-client-protocol-unstable.cpp:7806
wayland::zwp_tablet_pad_strip_v2_t::on_frame
std::function< void(uint32_t)> & on_frame()
end of a strip event sequence
Definition wayland-client-protocol-unstable.cpp:7821
wayland::zwp_tablet_pad_strip_v2_t::on_position
std::function< void(uint32_t)> & on_position()
position changed
Definition wayland-client-protocol-unstable.cpp:7811
wayland::zwp_tablet_pad_strip_v2_t::set_feedback
void set_feedback(std::string const &description, uint32_t serial)
set compositor feedback
Definition wayland-client-protocol-unstable.cpp:7800
wayland::zwp_tablet_pad_strip_v2_t::set_feedback_since_version
static constexpr std::uint32_t set_feedback_since_version
Minimum protocol version required for the set_feedback function.
Definition wayland-client-protocol-unstable.hpp:5138
wayland::zwp_tablet_pad_strip_v2_t::on_stop
std::function< void()> & on_stop()
interaction stopped
Definition wayland-client-protocol-unstable.cpp:7816
wayland::zwp_tablet_pad_v2_t
a set of buttons, rings and strips
Definition wayland-client-protocol-unstable.hpp:5416
wayland::zwp_tablet_pad_v2_t::on_leave
std::function< void(uint32_t, surface_t)> & on_leave()
enter event
Definition wayland-client-protocol-unstable.cpp:8043
wayland::zwp_tablet_pad_v2_t::on_enter
std::function< void(uint32_t, zwp_tablet_v2_t, surface_t)> & on_enter()
enter event
Definition wayland-client-protocol-unstable.cpp:8038
wayland::zwp_tablet_pad_v2_t::on_path
std::function< void(std::string)> & on_path()
path to the device
Definition wayland-client-protocol-unstable.cpp:8018
wayland::zwp_tablet_pad_v2_t::set_feedback
void set_feedback(uint32_t button, std::string const &description, uint32_t serial)
set compositor feedback
Definition wayland-client-protocol-unstable.cpp:8007
wayland::zwp_tablet_pad_v2_t::on_done
std::function< void()> & on_done()
pad description event sequence complete
Definition wayland-client-protocol-unstable.cpp:8028
wayland::zwp_tablet_pad_v2_t::on_button
std::function< void(uint32_t, uint32_t, zwp_tablet_pad_v2_button_state)> & on_button()
physical button state
Definition wayland-client-protocol-unstable.cpp:8033
wayland::zwp_tablet_pad_v2_t::set_feedback_since_version
static constexpr std::uint32_t set_feedback_since_version
Minimum protocol version required for the set_feedback function.
Definition wayland-client-protocol-unstable.hpp:5480
wayland::zwp_tablet_pad_v2_t::on_buttons
std::function< void(uint32_t)> & on_buttons()
buttons announced
Definition wayland-client-protocol-unstable.cpp:8023
wayland::zwp_tablet_pad_v2_t::on_removed
std::function< void()> & on_removed()
pad removed event
Definition wayland-client-protocol-unstable.cpp:8048
wayland::zwp_tablet_pad_v2_t::on_group
std::function< void(zwp_tablet_pad_group_v2_t)> & on_group()
group announced
Definition wayland-client-protocol-unstable.cpp:8013
wayland::zwp_tablet_seat_v1_t
controller object for graphic tablet devices of a seat
Definition wayland-client-protocol-unstable.hpp:3596
wayland::zwp_tablet_seat_v1_t::on_tool_added
std::function< void(zwp_tablet_tool_v1_t)> & on_tool_added()
a new tool has been used with a tablet
Definition wayland-client-protocol-unstable.cpp:6839
wayland::zwp_tablet_seat_v1_t::on_tablet_added
std::function< void(zwp_tablet_v1_t)> & on_tablet_added()
new device notification
Definition wayland-client-protocol-unstable.cpp:6834
wayland::zwp_tablet_seat_v2_t
controller object for graphic tablet devices of a seat
Definition wayland-client-protocol-unstable.hpp:4279
wayland::zwp_tablet_seat_v2_t::on_pad_added
std::function< void(zwp_tablet_pad_v2_t)> & on_pad_added()
new pad notification
Definition wayland-client-protocol-unstable.cpp:7305
wayland::zwp_tablet_seat_v2_t::on_tool_added
std::function< void(zwp_tablet_tool_v2_t)> & on_tool_added()
a new tool has been used with a tablet
Definition wayland-client-protocol-unstable.cpp:7300
wayland::zwp_tablet_seat_v2_t::on_tablet_added
std::function< void(zwp_tablet_v2_t)> & on_tablet_added()
new device notification
Definition wayland-client-protocol-unstable.cpp:7295
wayland::zwp_tablet_tool_v1_t
a physical tablet tool
Definition wayland-client-protocol-unstable.hpp:3669
wayland::zwp_tablet_tool_v1_t::set_cursor
void set_cursor(uint32_t serial, surface_t const &surface, int32_t hotspot_x, int32_t hotspot_y)
set the tablet tool's surface
Definition wayland-client-protocol-unstable.cpp:6910
wayland::zwp_tablet_tool_v1_t::on_motion
std::function< void(double, double)> & on_motion()
motion event
Definition wayland-client-protocol-unstable.cpp:6966
wayland::zwp_tablet_tool_v1_t::on_slider
std::function< void(int32_t)> & on_slider()
Slider position change event.
Definition wayland-client-protocol-unstable.cpp:6991
wayland::zwp_tablet_tool_v1_t::on_button
std::function< void(uint32_t, uint32_t, zwp_tablet_tool_v1_button_state)> & on_button()
button event
Definition wayland-client-protocol-unstable.cpp:7001
wayland::zwp_tablet_tool_v1_t::on_proximity_out
std::function< void()> & on_proximity_out()
proximity out event
Definition wayland-client-protocol-unstable.cpp:6951
wayland::zwp_tablet_tool_v1_t::on_up
std::function< void()> & on_up()
tablet tool is no longer making contact
Definition wayland-client-protocol-unstable.cpp:6961
wayland::zwp_tablet_tool_v1_t::on_frame
std::function< void(uint32_t)> & on_frame()
frame event
Definition wayland-client-protocol-unstable.cpp:7006
wayland::zwp_tablet_tool_v1_t::set_cursor_since_version
static constexpr std::uint32_t set_cursor_since_version
Minimum protocol version required for the set_cursor function.
Definition wayland-client-protocol-unstable.hpp:3753
wayland::zwp_tablet_tool_v1_t::on_distance
std::function< void(uint32_t)> & on_distance()
distance change event
Definition wayland-client-protocol-unstable.cpp:6976
wayland::zwp_tablet_tool_v1_t::on_down
std::function< void(uint32_t)> & on_down()
tablet tool is making contact
Definition wayland-client-protocol-unstable.cpp:6956
wayland::zwp_tablet_tool_v1_t::on_capability
std::function< void(zwp_tablet_tool_v1_capability)> & on_capability()
tool capability notification
Definition wayland-client-protocol-unstable.cpp:6931
wayland::zwp_tablet_tool_v1_t::on_rotation
std::function< void(int32_t)> & on_rotation()
z-rotation change event
Definition wayland-client-protocol-unstable.cpp:6986
wayland::zwp_tablet_tool_v1_t::on_done
std::function< void()> & on_done()
tool description events sequence complete
Definition wayland-client-protocol-unstable.cpp:6936
wayland::zwp_tablet_tool_v1_t::on_type
std::function< void(zwp_tablet_tool_v1_type)> & on_type()
tool type
Definition wayland-client-protocol-unstable.cpp:6916
wayland::zwp_tablet_tool_v1_t::on_wheel
std::function< void(int32_t, int32_t)> & on_wheel()
Wheel delta event.
Definition wayland-client-protocol-unstable.cpp:6996
wayland::zwp_tablet_tool_v1_t::on_removed
std::function< void()> & on_removed()
tool removed
Definition wayland-client-protocol-unstable.cpp:6941
wayland::zwp_tablet_tool_v1_t::on_hardware_id_wacom
std::function< void(uint32_t, uint32_t)> & on_hardware_id_wacom()
hardware id notification in Wacom's format
Definition wayland-client-protocol-unstable.cpp:6926
wayland::zwp_tablet_tool_v1_t::on_hardware_serial
std::function< void(uint32_t, uint32_t)> & on_hardware_serial()
unique hardware serial number of the tool
Definition wayland-client-protocol-unstable.cpp:6921
wayland::zwp_tablet_tool_v1_t::on_pressure
std::function< void(uint32_t)> & on_pressure()
pressure change event
Definition wayland-client-protocol-unstable.cpp:6971
wayland::zwp_tablet_tool_v1_t::on_proximity_in
std::function< void(uint32_t, zwp_tablet_v1_t, surface_t)> & on_proximity_in()
proximity in event
Definition wayland-client-protocol-unstable.cpp:6946
wayland::zwp_tablet_tool_v1_t::on_tilt
std::function< void(int32_t, int32_t)> & on_tilt()
tilt change event
Definition wayland-client-protocol-unstable.cpp:6981
wayland::zwp_tablet_tool_v2_t
a physical tablet tool
Definition wayland-client-protocol-unstable.hpp:4370
wayland::zwp_tablet_tool_v2_t::on_removed
std::function< void()> & on_removed()
tool removed
Definition wayland-client-protocol-unstable.cpp:7410
wayland::zwp_tablet_tool_v2_t::on_hardware_serial
std::function< void(uint32_t, uint32_t)> & on_hardware_serial()
unique hardware serial number of the tool
Definition wayland-client-protocol-unstable.cpp:7390
wayland::zwp_tablet_tool_v2_t::on_rotation
std::function< void(double)> & on_rotation()
z-rotation change event
Definition wayland-client-protocol-unstable.cpp:7455
wayland::zwp_tablet_tool_v2_t::on_down
std::function< void(uint32_t)> & on_down()
tablet tool is making contact
Definition wayland-client-protocol-unstable.cpp:7425
wayland::zwp_tablet_tool_v2_t::set_cursor_since_version
static constexpr std::uint32_t set_cursor_since_version
Minimum protocol version required for the set_cursor function.
Definition wayland-client-protocol-unstable.hpp:4452
wayland::zwp_tablet_tool_v2_t::on_tilt
std::function< void(double, double)> & on_tilt()
tilt change event
Definition wayland-client-protocol-unstable.cpp:7450
wayland::zwp_tablet_tool_v2_t::on_wheel
std::function< void(double, int32_t)> & on_wheel()
Wheel delta event.
Definition wayland-client-protocol-unstable.cpp:7465
wayland::zwp_tablet_tool_v2_t::on_slider
std::function< void(int32_t)> & on_slider()
Slider position change event.
Definition wayland-client-protocol-unstable.cpp:7460
wayland::zwp_tablet_tool_v2_t::on_up
std::function< void()> & on_up()
tablet tool is no longer making contact
Definition wayland-client-protocol-unstable.cpp:7430
wayland::zwp_tablet_tool_v2_t::on_type
std::function< void(zwp_tablet_tool_v2_type)> & on_type()
tool type
Definition wayland-client-protocol-unstable.cpp:7385
wayland::zwp_tablet_tool_v2_t::on_motion
std::function< void(double, double)> & on_motion()
motion event
Definition wayland-client-protocol-unstable.cpp:7435
wayland::zwp_tablet_tool_v2_t::on_done
std::function< void()> & on_done()
tool description events sequence complete
Definition wayland-client-protocol-unstable.cpp:7405
wayland::zwp_tablet_tool_v2_t::on_button
std::function< void(uint32_t, uint32_t, zwp_tablet_tool_v2_button_state)> & on_button()
button event
Definition wayland-client-protocol-unstable.cpp:7470
wayland::zwp_tablet_tool_v2_t::on_frame
std::function< void(uint32_t)> & on_frame()
frame event
Definition wayland-client-protocol-unstable.cpp:7475
wayland::zwp_tablet_tool_v2_t::on_capability
std::function< void(zwp_tablet_tool_v2_capability)> & on_capability()
tool capability notification
Definition wayland-client-protocol-unstable.cpp:7400
wayland::zwp_tablet_tool_v2_t::on_hardware_id_wacom
std::function< void(uint32_t, uint32_t)> & on_hardware_id_wacom()
hardware id notification in Wacom's format
Definition wayland-client-protocol-unstable.cpp:7395
wayland::zwp_tablet_tool_v2_t::on_distance
std::function< void(uint32_t)> & on_distance()
distance change event
Definition wayland-client-protocol-unstable.cpp:7445
wayland::zwp_tablet_tool_v2_t::set_cursor
void set_cursor(uint32_t serial, surface_t const &surface, int32_t hotspot_x, int32_t hotspot_y)
set the tablet tool's surface
Definition wayland-client-protocol-unstable.cpp:7379
wayland::zwp_tablet_tool_v2_t::on_pressure
std::function< void(uint32_t)> & on_pressure()
pressure change event
Definition wayland-client-protocol-unstable.cpp:7440
wayland::zwp_tablet_tool_v2_t::on_proximity_out
std::function< void()> & on_proximity_out()
proximity out event
Definition wayland-client-protocol-unstable.cpp:7420
wayland::zwp_tablet_tool_v2_t::on_proximity_in
std::function< void(uint32_t, zwp_tablet_v2_t, surface_t)> & on_proximity_in()
proximity in event
Definition wayland-client-protocol-unstable.cpp:7415
wayland::zwp_tablet_v1_t
graphics tablet device
Definition wayland-client-protocol-unstable.hpp:4136
wayland::zwp_tablet_v1_t::on_name
std::function< void(std::string)> & on_name()
tablet device name
Definition wayland-client-protocol-unstable.cpp:7132
wayland::zwp_tablet_v1_t::on_id
std::function< void(uint32_t, uint32_t)> & on_id()
tablet device USB vendor/product id
Definition wayland-client-protocol-unstable.cpp:7137
wayland::zwp_tablet_v1_t::on_done
std::function< void()> & on_done()
tablet description events sequence complete
Definition wayland-client-protocol-unstable.cpp:7147
wayland::zwp_tablet_v1_t::on_path
std::function< void(std::string)> & on_path()
path to the device
Definition wayland-client-protocol-unstable.cpp:7142
wayland::zwp_tablet_v1_t::on_removed
std::function< void()> & on_removed()
tablet removed event
Definition wayland-client-protocol-unstable.cpp:7152
wayland::zwp_tablet_v2_t
graphics tablet device
Definition wayland-client-protocol-unstable.hpp:4835
wayland::zwp_tablet_v2_t::on_removed
std::function< void()> & on_removed()
tablet removed event
Definition wayland-client-protocol-unstable.cpp:7621
wayland::zwp_tablet_v2_t::on_id
std::function< void(uint32_t, uint32_t)> & on_id()
tablet device USB vendor/product id
Definition wayland-client-protocol-unstable.cpp:7606
wayland::zwp_tablet_v2_t::on_path
std::function< void(std::string)> & on_path()
path to the device
Definition wayland-client-protocol-unstable.cpp:7611
wayland::zwp_tablet_v2_t::on_done
std::function< void()> & on_done()
tablet description events sequence complete
Definition wayland-client-protocol-unstable.cpp:7616
wayland::zwp_tablet_v2_t::on_name
std::function< void(std::string)> & on_name()
tablet device name
Definition wayland-client-protocol-unstable.cpp:7601
wayland::zwp_text_input_manager_v1_t
text input manager
Definition wayland-client-protocol-unstable.hpp:6100
wayland::zwp_text_input_manager_v1_t::create_text_input
zwp_text_input_v1_t create_text_input()
create text input
Definition wayland-client-protocol-unstable.cpp:8381
wayland::zwp_text_input_manager_v1_t::create_text_input_since_version
static constexpr std::uint32_t create_text_input_since_version
Minimum protocol version required for the create_text_input function.
Definition wayland-client-protocol-unstable.hpp:6130
wayland::zwp_text_input_manager_v3_t
text input manager
Definition wayland-client-protocol-unstable.hpp:6628
wayland::zwp_text_input_manager_v3_t::get_text_input
zwp_text_input_v3_t get_text_input(seat_t const &seat)
create a new text input object
Definition wayland-client-protocol-unstable.cpp:8608
wayland::zwp_text_input_manager_v3_t::get_text_input_since_version
static constexpr std::uint32_t get_text_input_since_version
Minimum protocol version required for the get_text_input function.
Definition wayland-client-protocol-unstable.hpp:6659
wayland::zwp_text_input_v1_t
text input
Definition wayland-client-protocol-unstable.hpp:5626
wayland::zwp_text_input_v1_t::on_preedit_string
std::function< void(uint32_t, std::string, std::string)> & on_preedit_string()
pre-edit
Definition wayland-client-protocol-unstable.cpp:8222
wayland::zwp_text_input_v1_t::hide_input_panel_since_version
static constexpr std::uint32_t hide_input_panel_since_version
Minimum protocol version required for the hide_input_panel function.
Definition wayland-client-protocol-unstable.hpp:5713
wayland::zwp_text_input_v1_t::hide_input_panel
void hide_input_panel()
hide input panels
Definition wayland-client-protocol-unstable.cpp:8154
wayland::zwp_text_input_v1_t::activate_since_version
static constexpr std::uint32_t activate_since_version
Minimum protocol version required for the activate function.
Definition wayland-client-protocol-unstable.hpp:5677
wayland::zwp_text_input_v1_t::deactivate
void deactivate(seat_t const &seat)
request deactivation
Definition wayland-client-protocol-unstable.cpp:8142
wayland::zwp_text_input_v1_t::set_content_type_since_version
static constexpr std::uint32_t set_content_type_since_version
Minimum protocol version required for the set_content_type function.
Definition wayland-client-protocol-unstable.hpp:5763
wayland::zwp_text_input_v1_t::activate
void activate(seat_t const &seat, surface_t const &surface)
request activation
Definition wayland-client-protocol-unstable.cpp:8136
wayland::zwp_text_input_v1_t::on_preedit_styling
std::function< void(uint32_t, uint32_t, zwp_text_input_v1_preedit_style)> & on_preedit_styling()
pre-edit styling
Definition wayland-client-protocol-unstable.cpp:8227
wayland::zwp_text_input_v1_t::set_surrounding_text
void set_surrounding_text(std::string const &text, uint32_t cursor, uint32_t anchor)
sets the surrounding text
Definition wayland-client-protocol-unstable.cpp:8166
wayland::zwp_text_input_v1_t::on_enter
std::function< void(surface_t)> & on_enter()
enter event
Definition wayland-client-protocol-unstable.cpp:8202
wayland::zwp_text_input_v1_t::on_language
std::function< void(uint32_t, std::string)> & on_language()
language
Definition wayland-client-protocol-unstable.cpp:8257
wayland::zwp_text_input_v1_t::on_preedit_cursor
std::function< void(int32_t)> & on_preedit_cursor()
pre-edit cursor
Definition wayland-client-protocol-unstable.cpp:8232
wayland::zwp_text_input_v1_t::on_modifiers_map
std::function< void(array_t)> & on_modifiers_map()
modifiers map
Definition wayland-client-protocol-unstable.cpp:8212
wayland::zwp_text_input_v1_t::reset_since_version
static constexpr std::uint32_t reset_since_version
Minimum protocol version required for the reset function.
Definition wayland-client-protocol-unstable.hpp:5726
wayland::zwp_text_input_v1_t::set_preferred_language_since_version
static constexpr std::uint32_t set_preferred_language_since_version
Minimum protocol version required for the set_preferred_language function.
Definition wayland-client-protocol-unstable.hpp:5794
wayland::zwp_text_input_v1_t::set_content_type
void set_content_type(zwp_text_input_v1_content_hint const &hint, zwp_text_input_v1_content_purpose const &purpose)
set content purpose and hint
Definition wayland-client-protocol-unstable.cpp:8172
wayland::zwp_text_input_v1_t::on_delete_surrounding_text
std::function< void(int32_t, uint32_t)> & on_delete_surrounding_text()
delete surrounding text
Definition wayland-client-protocol-unstable.cpp:8247
wayland::zwp_text_input_v1_t::invoke_action
void invoke_action(uint32_t button, uint32_t index)
Definition wayland-client-protocol-unstable.cpp:8196
wayland::zwp_text_input_v1_t::set_preferred_language
void set_preferred_language(std::string const &language)
sets preferred language
Definition wayland-client-protocol-unstable.cpp:8184
wayland::zwp_text_input_v1_t::set_surrounding_text_since_version
static constexpr std::uint32_t set_surrounding_text_since_version
Minimum protocol version required for the set_surrounding_text function.
Definition wayland-client-protocol-unstable.hpp:5744
wayland::zwp_text_input_v1_t::set_cursor_rectangle_since_version
static constexpr std::uint32_t set_cursor_rectangle_since_version
Minimum protocol version required for the set_cursor_rectangle function.
Definition wayland-client-protocol-unstable.hpp:5776
wayland::zwp_text_input_v1_t::set_cursor_rectangle
void set_cursor_rectangle(int32_t x, int32_t y, int32_t width, int32_t height)
Definition wayland-client-protocol-unstable.cpp:8178
wayland::zwp_text_input_v1_t::deactivate_since_version
static constexpr std::uint32_t deactivate_since_version
Minimum protocol version required for the deactivate function.
Definition wayland-client-protocol-unstable.hpp:5691
wayland::zwp_text_input_v1_t::on_input_panel_state
std::function< void(uint32_t)> & on_input_panel_state()
state of the input panel
Definition wayland-client-protocol-unstable.cpp:8217
wayland::zwp_text_input_v1_t::on_commit_string
std::function< void(uint32_t, std::string)> & on_commit_string()
commit
Definition wayland-client-protocol-unstable.cpp:8237
wayland::zwp_text_input_v1_t::show_input_panel_since_version
static constexpr std::uint32_t show_input_panel_since_version
Minimum protocol version required for the show_input_panel function.
Definition wayland-client-protocol-unstable.hpp:5702
wayland::zwp_text_input_v1_t::invoke_action_since_version
static constexpr std::uint32_t invoke_action_since_version
Minimum protocol version required for the invoke_action function.
Definition wayland-client-protocol-unstable.hpp:5815
wayland::zwp_text_input_v1_t::commit_state
void commit_state(uint32_t serial)
Definition wayland-client-protocol-unstable.cpp:8190
wayland::zwp_text_input_v1_t::commit_state_since_version
static constexpr std::uint32_t commit_state_since_version
Minimum protocol version required for the commit_state function.
Definition wayland-client-protocol-unstable.hpp:5804
wayland::zwp_text_input_v1_t::on_text_direction
std::function< void(uint32_t, zwp_text_input_v1_text_direction)> & on_text_direction()
text direction
Definition wayland-client-protocol-unstable.cpp:8262
wayland::zwp_text_input_v1_t::on_keysym
std::function< void(uint32_t, uint32_t, uint32_t, keyboard_key_state, uint32_t)> & on_keysym()
keysym
Definition wayland-client-protocol-unstable.cpp:8252
wayland::zwp_text_input_v1_t::on_cursor_position
std::function< void(int32_t, int32_t)> & on_cursor_position()
set cursor to new position
Definition wayland-client-protocol-unstable.cpp:8242
wayland::zwp_text_input_v1_t::reset
void reset()
reset
Definition wayland-client-protocol-unstable.cpp:8160
wayland::zwp_text_input_v1_t::show_input_panel
void show_input_panel()
show input panels
Definition wayland-client-protocol-unstable.cpp:8148
wayland::zwp_text_input_v1_t::on_leave
std::function< void()> & on_leave()
leave event
Definition wayland-client-protocol-unstable.cpp:8207
wayland::zwp_text_input_v3_t
text input
Definition wayland-client-protocol-unstable.hpp:6166
wayland::zwp_text_input_v3_t::set_content_type_since_version
static constexpr std::uint32_t set_content_type_since_version
Minimum protocol version required for the set_content_type function.
Definition wayland-client-protocol-unstable.hpp:6337
wayland::zwp_text_input_v3_t::on_leave
std::function< void(surface_t)> & on_leave()
leave event
Definition wayland-client-protocol-unstable.cpp:8491
wayland::zwp_text_input_v3_t::disable
void disable()
Disable text input on a surface.
Definition wayland-client-protocol-unstable.cpp:8450
wayland::zwp_text_input_v3_t::enable
void enable()
Request text input to be enabled.
Definition wayland-client-protocol-unstable.cpp:8444
wayland::zwp_text_input_v3_t::set_text_change_cause_since_version
static constexpr std::uint32_t set_text_change_cause_since_version
Minimum protocol version required for the set_text_change_cause function.
Definition wayland-client-protocol-unstable.hpp:6314
wayland::zwp_text_input_v3_t::set_content_type
void set_content_type(zwp_text_input_v3_content_hint const &hint, zwp_text_input_v3_content_purpose const &purpose)
set content purpose and hint
Definition wayland-client-protocol-unstable.cpp:8468
wayland::zwp_text_input_v3_t::enable_since_version
static constexpr std::uint32_t enable_since_version
Minimum protocol version required for the enable function.
Definition wayland-client-protocol-unstable.hpp:6230
wayland::zwp_text_input_v3_t::set_surrounding_text_since_version
static constexpr std::uint32_t set_surrounding_text_since_version
Minimum protocol version required for the set_surrounding_text function.
Definition wayland-client-protocol-unstable.hpp:6289
wayland::zwp_text_input_v3_t::on_commit_string
std::function< void(std::string)> & on_commit_string()
text commit
Definition wayland-client-protocol-unstable.cpp:8501
wayland::zwp_text_input_v3_t::set_surrounding_text
void set_surrounding_text(std::string const &text, int32_t cursor, int32_t anchor)
sets the surrounding text
Definition wayland-client-protocol-unstable.cpp:8456
wayland::zwp_text_input_v3_t::commit_since_version
static constexpr std::uint32_t commit_since_version
Minimum protocol version required for the commit function.
Definition wayland-client-protocol-unstable.hpp:6401
wayland::zwp_text_input_v3_t::on_done
std::function< void(uint32_t)> & on_done()
apply changes
Definition wayland-client-protocol-unstable.cpp:8511
wayland::zwp_text_input_v3_t::set_text_change_cause
void set_text_change_cause(zwp_text_input_v3_change_cause const &cause)
indicates the cause of surrounding text change
Definition wayland-client-protocol-unstable.cpp:8462
wayland::zwp_text_input_v3_t::on_delete_surrounding_text
std::function< void(uint32_t, uint32_t)> & on_delete_surrounding_text()
delete surrounding text
Definition wayland-client-protocol-unstable.cpp:8506
wayland::zwp_text_input_v3_t::set_cursor_rectangle_since_version
static constexpr std::uint32_t set_cursor_rectangle_since_version
Minimum protocol version required for the set_cursor_rectangle function.
Definition wayland-client-protocol-unstable.hpp:6368
wayland::zwp_text_input_v3_t::commit
void commit()
commit state
Definition wayland-client-protocol-unstable.cpp:8480
wayland::zwp_text_input_v3_t::on_enter
std::function< void(surface_t)> & on_enter()
enter event
Definition wayland-client-protocol-unstable.cpp:8486
wayland::zwp_text_input_v3_t::on_preedit_string
std::function< void(std::string, int32_t, int32_t)> & on_preedit_string()
pre-edit
Definition wayland-client-protocol-unstable.cpp:8496
wayland::zwp_text_input_v3_t::disable_since_version
static constexpr std::uint32_t disable_since_version
Minimum protocol version required for the disable function.
Definition wayland-client-protocol-unstable.hpp:6245
wayland::zwp_text_input_v3_t::set_cursor_rectangle
void set_cursor_rectangle(int32_t x, int32_t y, int32_t width, int32_t height)
set cursor position
Definition wayland-client-protocol-unstable.cpp:8474
wayland::zwp_xwayland_keyboard_grab_manager_v1_t
context object for keyboard grab manager
Definition wayland-client-protocol-unstable.hpp:8886
wayland::zwp_xwayland_keyboard_grab_manager_v1_t::grab_keyboard
zwp_xwayland_keyboard_grab_v1_t grab_keyboard(surface_t const &surface, seat_t const &seat)
grab the keyboard to a surface
Definition wayland-client-protocol-unstable.cpp:10224
wayland::zwp_xwayland_keyboard_grab_manager_v1_t::grab_keyboard_since_version
static constexpr std::uint32_t grab_keyboard_since_version
Minimum protocol version required for the grab_keyboard function.
Definition wayland-client-protocol-unstable.hpp:8936
wayland::zwp_xwayland_keyboard_grab_v1_t
interface for grabbing the keyboard
Definition wayland-client-protocol-unstable.hpp:8947
wayland::zxdg_decoration_manager_v1_t
window decoration manager
Definition wayland-client-protocol-unstable.hpp:6883
wayland::zxdg_decoration_manager_v1_t::get_toplevel_decoration_since_version
static constexpr std::uint32_t get_toplevel_decoration_since_version
Minimum protocol version required for the get_toplevel_decoration function.
Definition wayland-client-protocol-unstable.hpp:6920
wayland::zxdg_decoration_manager_v1_t::get_toplevel_decoration
zxdg_toplevel_decoration_v1_t get_toplevel_decoration(xdg_toplevel_t const &toplevel)
create a new toplevel decoration object
Definition wayland-client-protocol-unstable.cpp:8833
wayland::zxdg_exported_v1_t
an exported surface handle
Definition wayland-client-protocol-unstable.hpp:7153
wayland::zxdg_exported_v1_t::on_handle
std::function< void(std::string)> & on_handle()
the exported surface handle
Definition wayland-client-protocol-unstable.cpp:9104
wayland::zxdg_exported_v2_t
an exported surface handle
Definition wayland-client-protocol-unstable.hpp:7369
wayland::zxdg_exported_v2_t::on_handle
std::function< void(std::string)> & on_handle()
the exported surface handle
Definition wayland-client-protocol-unstable.cpp:9373
wayland::zxdg_exporter_v1_t
interface for exporting surfaces
Definition wayland-client-protocol-unstable.hpp:7051
wayland::zxdg_exporter_v1_t::_export
zxdg_exported_v1_t _export(surface_t const &surface)
export a surface
Definition wayland-client-protocol-unstable.cpp:8978
wayland::zxdg_exporter_v1_t::export_since_version
static constexpr std::uint32_t export_since_version
Minimum protocol version required for the _export function.
Definition wayland-client-protocol-unstable.hpp:7090
wayland::zxdg_exporter_v2_t
interface for exporting surfaces
Definition wayland-client-protocol-unstable.hpp:7254
wayland::zxdg_exporter_v2_t::export_toplevel_since_version
static constexpr std::uint32_t export_toplevel_since_version
Minimum protocol version required for the export_toplevel function.
Definition wayland-client-protocol-unstable.hpp:7294
wayland::zxdg_exporter_v2_t::export_toplevel
zxdg_exported_v2_t export_toplevel(surface_t const &surface)
export a toplevel surface
Definition wayland-client-protocol-unstable.cpp:9246
wayland::zxdg_imported_v1_t
an imported surface handle
Definition wayland-client-protocol-unstable.hpp:7197
wayland::zxdg_imported_v1_t::set_parent_of_since_version
static constexpr std::uint32_t set_parent_of_since_version
Minimum protocol version required for the set_parent_of function.
Definition wayland-client-protocol-unstable.hpp:7232
wayland::zxdg_imported_v1_t::on_destroyed
std::function< void()> & on_destroyed()
the imported surface handle has been destroyed
Definition wayland-client-protocol-unstable.cpp:9178
wayland::zxdg_imported_v1_t::set_parent_of
void set_parent_of(surface_t const &surface)
set as the parent of some surface
Definition wayland-client-protocol-unstable.cpp:9172
wayland::zxdg_imported_v2_t
an imported surface handle
Definition wayland-client-protocol-unstable.hpp:7413
wayland::zxdg_imported_v2_t::set_parent_of_since_version
static constexpr std::uint32_t set_parent_of_since_version
Minimum protocol version required for the set_parent_of function.
Definition wayland-client-protocol-unstable.hpp:7449
wayland::zxdg_imported_v2_t::on_destroyed
std::function< void()> & on_destroyed()
the imported surface handle has been destroyed
Definition wayland-client-protocol-unstable.cpp:9447
wayland::zxdg_imported_v2_t::set_parent_of
void set_parent_of(surface_t const &surface)
set as the parent of some surface
Definition wayland-client-protocol-unstable.cpp:9441
wayland::zxdg_importer_v1_t
interface for importing surfaces
Definition wayland-client-protocol-unstable.hpp:7103
wayland::zxdg_importer_v1_t::import_since_version
static constexpr std::uint32_t import_since_version
Minimum protocol version required for the import function.
Definition wayland-client-protocol-unstable.hpp:7139
wayland::zxdg_importer_v2_t
interface for importing surfaces
Definition wayland-client-protocol-unstable.hpp:7319
wayland::zxdg_importer_v2_t::import_toplevel_since_version
static constexpr std::uint32_t import_toplevel_since_version
Minimum protocol version required for the import_toplevel function.
Definition wayland-client-protocol-unstable.hpp:7355
wayland::zxdg_importer_v2_t::import_toplevel
zxdg_imported_v2_t import_toplevel(std::string const &handle)
import a toplevel surface
Definition wayland-client-protocol-unstable.cpp:9310
wayland::zxdg_output_manager_v1_t
manage xdg_output objects
Definition wayland-client-protocol-unstable.hpp:7482
wayland::zxdg_output_manager_v1_t::get_xdg_output
zxdg_output_v1_t get_xdg_output(output_t const &output)
create an xdg output from a wl_output
Definition wayland-client-protocol-unstable.cpp:9516
wayland::zxdg_output_manager_v1_t::get_xdg_output_since_version
static constexpr std::uint32_t get_xdg_output_since_version
Minimum protocol version required for the get_xdg_output function.
Definition wayland-client-protocol-unstable.hpp:7513
wayland::zxdg_output_v1_t
compositor logical output region
Definition wayland-client-protocol-unstable.hpp:7532
wayland::zxdg_output_v1_t::on_description
std::function< void(std::string)> & on_description()
human-readable description of this output
Definition wayland-client-protocol-unstable.cpp:9599
wayland::zxdg_output_v1_t::on_done
std::function< void()> & on_done()
all information about the output have been sent
Definition wayland-client-protocol-unstable.cpp:9589
wayland::zxdg_output_v1_t::on_logical_position
std::function< void(int32_t, int32_t)> & on_logical_position()
position of the output within the global compositor space
Definition wayland-client-protocol-unstable.cpp:9579
wayland::zxdg_output_v1_t::on_logical_size
std::function< void(int32_t, int32_t)> & on_logical_size()
size of the output in the global compositor space
Definition wayland-client-protocol-unstable.cpp:9584
wayland::zxdg_output_v1_t::on_name
std::function< void(std::string)> & on_name()
name of this output
Definition wayland-client-protocol-unstable.cpp:9594
wayland::zxdg_popup_v6_t
short-lived, popup surfaces for menus
Definition wayland-client-protocol-unstable.hpp:8766
wayland::zxdg_popup_v6_t::grab_since_version
static constexpr std::uint32_t grab_since_version
Minimum protocol version required for the grab function.
Definition wayland-client-protocol-unstable.hpp:8840
wayland::zxdg_popup_v6_t::grab
void grab(seat_t const &seat, uint32_t serial)
make the popup take an explicit grab
Definition wayland-client-protocol-unstable.cpp:10141
wayland::zxdg_popup_v6_t::on_popup_done
std::function< void()> & on_popup_done()
popup interaction is done
Definition wayland-client-protocol-unstable.cpp:10152
wayland::zxdg_popup_v6_t::on_configure
std::function< void(int32_t, int32_t, int32_t, int32_t)> & on_configure()
configure the popup surface
Definition wayland-client-protocol-unstable.cpp:10147
wayland::zxdg_positioner_v6_t
child surface positioner
Definition wayland-client-protocol-unstable.hpp:7822
wayland::zxdg_positioner_v6_t::set_size_since_version
static constexpr std::uint32_t set_size_since_version
Minimum protocol version required for the set_size function.
Definition wayland-client-protocol-unstable.hpp:7858
wayland::zxdg_positioner_v6_t::set_gravity_since_version
static constexpr std::uint32_t set_gravity_since_version
Minimum protocol version required for the set_gravity function.
Definition wayland-client-protocol-unstable.hpp:7923
wayland::zxdg_positioner_v6_t::set_anchor_since_version
static constexpr std::uint32_t set_anchor_since_version
Minimum protocol version required for the set_anchor function.
Definition wayland-client-protocol-unstable.hpp:7903
wayland::zxdg_positioner_v6_t::set_anchor
void set_anchor(zxdg_positioner_v6_anchor const &anchor)
set anchor rectangle anchor edges
Definition wayland-client-protocol-unstable.cpp:9780
wayland::zxdg_positioner_v6_t::set_anchor_rect_since_version
static constexpr std::uint32_t set_anchor_rect_since_version
Minimum protocol version required for the set_anchor_rect function.
Definition wayland-client-protocol-unstable.hpp:7882
wayland::zxdg_positioner_v6_t::set_offset
void set_offset(int32_t x, int32_t y)
set surface position offset
Definition wayland-client-protocol-unstable.cpp:9798
wayland::zxdg_positioner_v6_t::set_size
void set_size(int32_t width, int32_t height)
set the size of the to-be positioned rectangle
Definition wayland-client-protocol-unstable.cpp:9768
wayland::zxdg_positioner_v6_t::set_anchor_rect
void set_anchor_rect(int32_t x, int32_t y, int32_t width, int32_t height)
set the anchor rectangle within the parent surface
Definition wayland-client-protocol-unstable.cpp:9774
wayland::zxdg_positioner_v6_t::set_constraint_adjustment_since_version
static constexpr std::uint32_t set_constraint_adjustment_since_version
Minimum protocol version required for the set_constraint_adjustment function.
Definition wayland-client-protocol-unstable.hpp:7947
wayland::zxdg_positioner_v6_t::set_offset_since_version
static constexpr std::uint32_t set_offset_since_version
Minimum protocol version required for the set_offset function.
Definition wayland-client-protocol-unstable.hpp:7970
wayland::zxdg_positioner_v6_t::set_gravity
void set_gravity(zxdg_positioner_v6_gravity const &gravity)
set child surface gravity
Definition wayland-client-protocol-unstable.cpp:9786
wayland::zxdg_positioner_v6_t::set_constraint_adjustment
void set_constraint_adjustment(zxdg_positioner_v6_constraint_adjustment const &constraint_adjustment)
set the adjustment to be done when constrained
Definition wayland-client-protocol-unstable.cpp:9792
wayland::zxdg_shell_v6_t
create desktop-style surfaces
Definition wayland-client-protocol-unstable.hpp:7688
wayland::zxdg_shell_v6_t::pong
void pong(uint32_t serial)
respond to a ping event
Definition wayland-client-protocol-unstable.cpp:9693
wayland::zxdg_shell_v6_t::create_positioner
zxdg_positioner_v6_t create_positioner()
create a positioner object
Definition wayland-client-protocol-unstable.cpp:9679
wayland::zxdg_shell_v6_t::pong_since_version
static constexpr std::uint32_t pong_since_version
Minimum protocol version required for the pong function.
Definition wayland-client-protocol-unstable.hpp:7756
wayland::zxdg_shell_v6_t::create_positioner_since_version
static constexpr std::uint32_t create_positioner_since_version
Minimum protocol version required for the create_positioner function.
Definition wayland-client-protocol-unstable.hpp:7721
wayland::zxdg_shell_v6_t::on_ping
std::function< void(uint32_t)> & on_ping()
check if the client is alive
Definition wayland-client-protocol-unstable.cpp:9699
wayland::zxdg_shell_v6_t::get_xdg_surface_since_version
static constexpr std::uint32_t get_xdg_surface_since_version
Minimum protocol version required for the get_xdg_surface function.
Definition wayland-client-protocol-unstable.hpp:7743
wayland::zxdg_shell_v6_t::get_xdg_surface
zxdg_surface_v6_t get_xdg_surface(surface_t const &surface)
create a shell surface from a surface
Definition wayland-client-protocol-unstable.cpp:9686
wayland::zxdg_surface_v6_t
desktop user interface surface base interface
Definition wayland-client-protocol-unstable.hpp:8091
wayland::zxdg_surface_v6_t::get_toplevel
zxdg_toplevel_v6_t get_toplevel()
assign the xdg_toplevel surface role
Definition wayland-client-protocol-unstable.cpp:9881
wayland::zxdg_surface_v6_t::get_popup_since_version
static constexpr std::uint32_t get_popup_since_version
Minimum protocol version required for the get_popup function.
Definition wayland-client-protocol-unstable.hpp:8143
wayland::zxdg_surface_v6_t::get_toplevel_since_version
static constexpr std::uint32_t get_toplevel_since_version
Minimum protocol version required for the get_toplevel function.
Definition wayland-client-protocol-unstable.hpp:8126
wayland::zxdg_surface_v6_t::set_window_geometry_since_version
static constexpr std::uint32_t set_window_geometry_since_version
Minimum protocol version required for the set_window_geometry function.
Definition wayland-client-protocol-unstable.hpp:8181
wayland::zxdg_surface_v6_t::on_configure
std::function< void(uint32_t)> & on_configure()
suggest a surface change
Definition wayland-client-protocol-unstable.cpp:9907
wayland::zxdg_surface_v6_t::get_popup
zxdg_popup_v6_t get_popup(zxdg_surface_v6_t const &parent, zxdg_positioner_v6_t const &positioner)
assign the xdg_popup surface role
Definition wayland-client-protocol-unstable.cpp:9888
wayland::zxdg_surface_v6_t::ack_configure_since_version
static constexpr std::uint32_t ack_configure_since_version
Minimum protocol version required for the ack_configure function.
Definition wayland-client-protocol-unstable.hpp:8211
wayland::zxdg_surface_v6_t::set_window_geometry
void set_window_geometry(int32_t x, int32_t y, int32_t width, int32_t height)
set the new window geometry
Definition wayland-client-protocol-unstable.cpp:9895
wayland::zxdg_surface_v6_t::ack_configure
void ack_configure(uint32_t serial)
ack a configure event
Definition wayland-client-protocol-unstable.cpp:9901
wayland::zxdg_toplevel_decoration_v1_t
decoration object for a toplevel surface
Definition wayland-client-protocol-unstable.hpp:6936
wayland::zxdg_toplevel_decoration_v1_t::set_mode_since_version
static constexpr std::uint32_t set_mode_since_version
Minimum protocol version required for the set_mode function.
Definition wayland-client-protocol-unstable.hpp:6985
wayland::zxdg_toplevel_decoration_v1_t::unset_mode_since_version
static constexpr std::uint32_t unset_mode_since_version
Minimum protocol version required for the unset_mode function.
Definition wayland-client-protocol-unstable.hpp:6999
wayland::zxdg_toplevel_decoration_v1_t::on_configure
std::function< void(zxdg_toplevel_decoration_v1_mode)> & on_configure()
suggest a surface change
Definition wayland-client-protocol-unstable.cpp:8908
wayland::zxdg_toplevel_decoration_v1_t::unset_mode
void unset_mode()
unset the decoration mode
Definition wayland-client-protocol-unstable.cpp:8902
wayland::zxdg_toplevel_decoration_v1_t::set_mode
void set_mode(zxdg_toplevel_decoration_v1_mode const &mode)
set the decoration mode
Definition wayland-client-protocol-unstable.cpp:8896
wayland::zxdg_toplevel_v6_t
toplevel surface
Definition wayland-client-protocol-unstable.hpp:8259
wayland::zxdg_toplevel_v6_t::set_minimized
void set_minimized()
set the window as minimized
Definition wayland-client-protocol-unstable.cpp:10048
wayland::zxdg_toplevel_v6_t::set_parent
void set_parent(zxdg_toplevel_v6_t const &parent)
set the parent of this surface
Definition wayland-client-protocol-unstable.cpp:9976
wayland::zxdg_toplevel_v6_t::set_fullscreen
void set_fullscreen(output_t const &output)
set the window as fullscreen on a monitor
Definition wayland-client-protocol-unstable.cpp:10036
wayland::zxdg_toplevel_v6_t::unset_fullscreen_since_version
static constexpr std::uint32_t unset_fullscreen_since_version
Minimum protocol version required for the unset_fullscreen function.
Definition wayland-client-protocol-unstable.hpp:8617
wayland::zxdg_toplevel_v6_t::set_maximized_since_version
static constexpr std::uint32_t set_maximized_since_version
Minimum protocol version required for the set_maximized function.
Definition wayland-client-protocol-unstable.hpp:8561
wayland::zxdg_toplevel_v6_t::resize_since_version
static constexpr std::uint32_t resize_since_version
Minimum protocol version required for the resize function.
Definition wayland-client-protocol-unstable.hpp:8443
wayland::zxdg_toplevel_v6_t::set_app_id_since_version
static constexpr std::uint32_t set_app_id_since_version
Minimum protocol version required for the set_app_id function.
Definition wayland-client-protocol-unstable.hpp:8347
wayland::zxdg_toplevel_v6_t::on_configure
std::function< void(int32_t, int32_t, array_t)> & on_configure()
suggest a surface change
Definition wayland-client-protocol-unstable.cpp:10054
wayland::zxdg_toplevel_v6_t::set_parent_since_version
static constexpr std::uint32_t set_parent_since_version
Minimum protocol version required for the set_parent function.
Definition wayland-client-protocol-unstable.hpp:8298
wayland::zxdg_toplevel_v6_t::set_fullscreen_since_version
static constexpr std::uint32_t set_fullscreen_since_version
Minimum protocol version required for the set_fullscreen function.
Definition wayland-client-protocol-unstable.hpp:8608
wayland::zxdg_toplevel_v6_t::unset_maximized
void unset_maximized()
unmaximize the window
Definition wayland-client-protocol-unstable.cpp:10030
wayland::zxdg_toplevel_v6_t::set_minimized_since_version
static constexpr std::uint32_t set_minimized_since_version
Minimum protocol version required for the set_minimized function.
Definition wayland-client-protocol-unstable.hpp:8635
wayland::zxdg_toplevel_v6_t::show_window_menu
void show_window_menu(seat_t const &seat, uint32_t serial, int32_t x, int32_t y)
show the window menu
Definition wayland-client-protocol-unstable.cpp:9994
wayland::zxdg_toplevel_v6_t::unset_maximized_since_version
static constexpr std::uint32_t unset_maximized_since_version
Minimum protocol version required for the unset_maximized function.
Definition wayland-client-protocol-unstable.hpp:8588
wayland::zxdg_toplevel_v6_t::show_window_menu_since_version
static constexpr std::uint32_t show_window_menu_since_version
Minimum protocol version required for the show_window_menu function.
Definition wayland-client-protocol-unstable.hpp:8372
wayland::zxdg_toplevel_v6_t::set_title
void set_title(std::string const &title)
set surface title
Definition wayland-client-protocol-unstable.cpp:9982
wayland::zxdg_toplevel_v6_t::set_maximized
void set_maximized()
maximize the window
Definition wayland-client-protocol-unstable.cpp:10024
wayland::zxdg_toplevel_v6_t::set_title_since_version
static constexpr std::uint32_t set_title_since_version
Minimum protocol version required for the set_title function.
Definition wayland-client-protocol-unstable.hpp:8316
wayland::zxdg_toplevel_v6_t::resize
void resize(seat_t const &seat, uint32_t serial, zxdg_toplevel_v6_resize_edge const &edges)
start an interactive resize
Definition wayland-client-protocol-unstable.cpp:10006
wayland::zxdg_toplevel_v6_t::set_min_size_since_version
static constexpr std::uint32_t set_min_size_since_version
Minimum protocol version required for the set_min_size function.
Definition wayland-client-protocol-unstable.hpp:8535
wayland::zxdg_toplevel_v6_t::move
void move(seat_t const &seat, uint32_t serial)
start an interactive move
Definition wayland-client-protocol-unstable.cpp:10000
wayland::zxdg_toplevel_v6_t::set_min_size
void set_min_size(int32_t width, int32_t height)
set the minimum size
Definition wayland-client-protocol-unstable.cpp:10018
wayland::zxdg_toplevel_v6_t::move_since_version
static constexpr std::uint32_t move_since_version
Minimum protocol version required for the move function.
Definition wayland-client-protocol-unstable.hpp:8400
wayland::zxdg_toplevel_v6_t::on_close
std::function< void()> & on_close()
surface wants to be closed
Definition wayland-client-protocol-unstable.cpp:10059
wayland::zxdg_toplevel_v6_t::set_max_size_since_version
static constexpr std::uint32_t set_max_size_since_version
Minimum protocol version required for the set_max_size function.
Definition wayland-client-protocol-unstable.hpp:8489
wayland::zxdg_toplevel_v6_t::set_max_size
void set_max_size(int32_t width, int32_t height)
set the maximum size
Definition wayland-client-protocol-unstable.cpp:10012
wayland::zxdg_toplevel_v6_t::set_app_id
void set_app_id(std::string const &app_id)
set application ID
Definition wayland-client-protocol-unstable.cpp:9988
wayland::zwp_text_input_v1_content_hint
content hint
Definition wayland-client-protocol-unstable.hpp:5991
wayland::zwp_text_input_v1_content_hint::auto_completion
static const wayland::detail::bitfield< 10, 23 > auto_completion
suggest word completions
Definition wayland-client-protocol-unstable.hpp:6003
wayland::zwp_text_input_v1_content_hint::titlecase
static const wayland::detail::bitfield< 10, 23 > titlecase
prefer casing for titles and headings (can be language dependent)
Definition wayland-client-protocol-unstable.hpp:6013
wayland::zwp_text_input_v1_content_hint::latin
static const wayland::detail::bitfield< 10, 23 > latin
just latin characters should be entered
Definition wayland-client-protocol-unstable.hpp:6019
wayland::zwp_text_input_v1_content_hint::uppercase
static const wayland::detail::bitfield< 10, 23 > uppercase
prefer uppercase letters
Definition wayland-client-protocol-unstable.hpp:6011
wayland::zwp_text_input_v1_content_hint::sensitive_data
static const wayland::detail::bitfield< 10, 23 > sensitive_data
typed text should not be stored
Definition wayland-client-protocol-unstable.hpp:6017
wayland::zwp_text_input_v1_content_hint::lowercase
static const wayland::detail::bitfield< 10, 23 > lowercase
prefer lowercase letters
Definition wayland-client-protocol-unstable.hpp:6009
wayland::zwp_text_input_v1_content_hint::auto_capitalization
static const wayland::detail::bitfield< 10, 23 > auto_capitalization
switch to uppercase letters at the start of a sentence
Definition wayland-client-protocol-unstable.hpp:6007
wayland::zwp_text_input_v1_content_hint::none
static const wayland::detail::bitfield< 10, 23 > none
no special behaviour
Definition wayland-client-protocol-unstable.hpp:5997
wayland::zwp_text_input_v1_content_hint::hidden_text
static const wayland::detail::bitfield< 10, 23 > hidden_text
characters should be hidden
Definition wayland-client-protocol-unstable.hpp:6015
wayland::zwp_text_input_v1_content_hint::_default
static const wayland::detail::bitfield< 10, 23 > _default
auto completion, correction and capitalization
Definition wayland-client-protocol-unstable.hpp:5999
wayland::zwp_text_input_v1_content_hint::password
static const wayland::detail::bitfield< 10, 23 > password
hidden and sensitive text
Definition wayland-client-protocol-unstable.hpp:6001
wayland::zwp_text_input_v1_content_hint::multiline
static const wayland::detail::bitfield< 10, 23 > multiline
the text input is multiline
Definition wayland-client-protocol-unstable.hpp:6021
wayland::zwp_text_input_v1_content_hint::auto_correction
static const wayland::detail::bitfield< 10, 23 > auto_correction
suggest word corrections
Definition wayland-client-protocol-unstable.hpp:6005
wayland::zwp_text_input_v3_content_hint
content hint
Definition wayland-client-protocol-unstable.hpp:6551
wayland::zwp_text_input_v3_content_hint::spellcheck
static const wayland::detail::bitfield< 10, 28 > spellcheck
suggest word corrections
Definition wayland-client-protocol-unstable.hpp:6561
wayland::zwp_text_input_v3_content_hint::none
static const wayland::detail::bitfield< 10, 28 > none
no special behavior
Definition wayland-client-protocol-unstable.hpp:6557
wayland::zwp_text_input_v3_content_hint::titlecase
static const wayland::detail::bitfield< 10, 28 > titlecase
prefer casing for titles and headings (can be language dependent)
Definition wayland-client-protocol-unstable.hpp:6569
wayland::zwp_text_input_v3_content_hint::uppercase
static const wayland::detail::bitfield< 10, 28 > uppercase
prefer uppercase letters
Definition wayland-client-protocol-unstable.hpp:6567
wayland::zwp_text_input_v3_content_hint::lowercase
static const wayland::detail::bitfield< 10, 28 > lowercase
prefer lowercase letters
Definition wayland-client-protocol-unstable.hpp:6565
wayland::zwp_text_input_v3_content_hint::completion
static const wayland::detail::bitfield< 10, 28 > completion
suggest word completions
Definition wayland-client-protocol-unstable.hpp:6559
wayland::zwp_text_input_v3_content_hint::multiline
static const wayland::detail::bitfield< 10, 28 > multiline
the text input is multiline
Definition wayland-client-protocol-unstable.hpp:6577
wayland::zwp_text_input_v3_content_hint::latin
static const wayland::detail::bitfield< 10, 28 > latin
just Latin characters should be entered
Definition wayland-client-protocol-unstable.hpp:6575
wayland::zwp_text_input_v3_content_hint::hidden_text
static const wayland::detail::bitfield< 10, 28 > hidden_text
characters should be hidden
Definition wayland-client-protocol-unstable.hpp:6571
wayland::zwp_text_input_v3_content_hint::sensitive_data
static const wayland::detail::bitfield< 10, 28 > sensitive_data
typed text should not be stored
Definition wayland-client-protocol-unstable.hpp:6573
wayland::zwp_text_input_v3_content_hint::auto_capitalization
static const wayland::detail::bitfield< 10, 28 > auto_capitalization
switch to uppercase letters at the start of a sentence
Definition wayland-client-protocol-unstable.hpp:6563
wayland::zxdg_positioner_v6_constraint_adjustment
constraint adjustments
Definition wayland-client-protocol-unstable.hpp:8041
wayland::zxdg_toplevel_v6_resize_edge
edge values for resizing
Definition wayland-client-protocol-unstable.hpp:8688
wayland-client.hpp