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 capitalization
  • password β€” hidden and sensitive text
  • auto_completion β€” suggest word completions
  • auto_correction β€” suggest word corrections
  • auto_capitalization β€” switch to uppercase letters at the start of a sentence
  • lowercase β€” prefer lowercase letters
  • uppercase β€” prefer uppercase letters
  • titlecase β€” prefer casing for titles and headings (can be language dependent)
  • hidden_text β€” characters should be hidden
  • sensitive_data β€” typed text should not be stored
  • latin β€” just latin characters should be entered
  • multiline β€” 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