wayland::serv...1_content_hint(3)
π NAME π
wayland::server::zwp_text_input_v1_content_hint β content hint, bestie π
So like, this whole page lives in the Wayland++ manual (section 3, if you're keeping score π). It's the docs for a lil class that's basically a bitmask of hints you hand to a text input so it knows what kind of typing is about to happen. Iconic behaviour, truly.
β¨ SYNOPSIS β¨
Pull it in like this, no cap:
#include <wayland-server-protocol-unstable.hpp>
πΈ Static Public Attributes πΈ
Every single one of these bad boys is static const wayland::detail::bitfield< 10, 23 >, and here's what each one is serving:
noneβ no special behaviour_defaultβ auto completion, correction and capitalizationpasswordβ hidden and sensitive textauto_completionβ suggest word completionsauto_correctionβ suggest word correctionsauto_capitalizationβ switch to uppercase letters at the start of a sentencelowercaseβ prefer lowercase lettersuppercaseβ prefer uppercase letterstitlecaseβ prefer casing for titles and headings (can be language dependent)hidden_textβ characters should be hiddensensitive_dataβ typed text should not be storedlatinβ just latin characters should be enteredmultilineβ the text input is multiline
π¦ Detailed Description π¦
Okay so: content hint.
Content hint is a bitmask to allow to modify the behavior of the text input. That's the whole vibe β you OR together whichever hints you want and the text input does its little thing accordingly. π«
Definition at line 6809 of file wayland-server-protocol-unstable.hpp.
π Member Data Documentation π
Alright bestie, here's every member, dripped out with its exact type, its exact static-ness, and exactly where it lives in the header. Not me being thorough π
π _default
const wayland::detail::bitfield<10, 23>
wayland::server::zwp_text_input_v1_content_hint::_default [static]
auto completion, correction and capitalization
Definition at line 6818 of file wayland-server-protocol-unstable.hpp.
π auto_capitalization
const wayland::detail::bitfield<10, 23>
wayland::server::zwp_text_input_v1_content_hint::auto_capitalization
[static]
switch to uppercase letters at the start of a sentence
Definition at line 6826 of file wayland-server-protocol-unstable.hpp.
π auto_completion
const wayland::detail::bitfield<10, 23>
wayland::server::zwp_text_input_v1_content_hint::auto_completion
[static]
suggest word completions
Definition at line 6822 of file wayland-server-protocol-unstable.hpp.
π auto_correction
const wayland::detail::bitfield<10, 23>
wayland::server::zwp_text_input_v1_content_hint::auto_correction
[static]
suggest word corrections
Definition at line 6824 of file wayland-server-protocol-unstable.hpp.
π hidden_text
const wayland::detail::bitfield<10, 23>
wayland::server::zwp_text_input_v1_content_hint::hidden_text [static]
characters should be hidden
Definition at line 6834 of file wayland-server-protocol-unstable.hpp.
π latin
const wayland::detail::bitfield<10, 23>
wayland::server::zwp_text_input_v1_content_hint::latin [static]
just latin characters should be entered
Definition at line 6838 of file wayland-server-protocol-unstable.hpp.
π lowercase
const wayland::detail::bitfield<10, 23>
wayland::server::zwp_text_input_v1_content_hint::lowercase [static]
prefer lowercase letters
Definition at line 6828 of file wayland-server-protocol-unstable.hpp.
π multiline
const wayland::detail::bitfield<10, 23>
wayland::server::zwp_text_input_v1_content_hint::multiline [static]
the text input is multiline
Definition at line 6840 of file wayland-server-protocol-unstable.hpp.
π none
const wayland::detail::bitfield<10, 23>
wayland::server::zwp_text_input_v1_content_hint::none [static]
no special behaviour
Definition at line 6816 of file wayland-server-protocol-unstable.hpp.
π password
const wayland::detail::bitfield<10, 23>
wayland::server::zwp_text_input_v1_content_hint::password [static]
hidden and sensitive text
Definition at line 6820 of file wayland-server-protocol-unstable.hpp.
π sensitive_data
const wayland::detail::bitfield<10, 23>
wayland::server::zwp_text_input_v1_content_hint::sensitive_data [static]
typed text should not be stored
Definition at line 6836 of file wayland-server-protocol-unstable.hpp.
π titlecase
const wayland::detail::bitfield<10, 23>
wayland::server::zwp_text_input_v1_content_hint::titlecase [static]
prefer casing for titles and headings (can be language dependent)
Definition at line 6832 of file wayland-server-protocol-unstable.hpp.
π uppercase
const wayland::detail::bitfield<10, 23>
wayland::server::zwp_text_input_v1_content_hint::uppercase [static]
prefer uppercase letters
Definition at line 6830 of file wayland-server-protocol-unstable.hpp.
π«Ά Author π«Ά
Generated automatically by Doxygen for Wayland++ from the source code. Not me hand-writing this, the robot did it and honestly? It ate. πβ¨
That's it, that's the whole page. Go forth and hint content, bestie. ππ
Version 1.0.1 β dated Fri Mar 27 2026, for the Wayland++ manual. mwah πππ¦
π¦ where this page comes from
- ubuntu stonking: waylandpp-dev 1.0.1-2 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms