mirror of
https://github.com/slint-ui/slint.git
synced 2025-07-12 07:35:18 +00:00
Add the accessible-placeholder-text
property (#5464)
This commit is contained in:
parent
bd18d8dc0a
commit
ce2db77e88
19 changed files with 48 additions and 11 deletions
|
@ -232,6 +232,13 @@ public:
|
|||
return get_accessible_string_property(cbindgen_private::AccessibleStringProperty::Value);
|
||||
}
|
||||
|
||||
/// Returns the accessible-placeholder-text of that element, if any.
|
||||
std::optional<SharedString> accessible_placeholder_text() const
|
||||
{
|
||||
return get_accessible_string_property(
|
||||
cbindgen_private::AccessibleStringProperty::PlaceholderText);
|
||||
}
|
||||
|
||||
/// Returns the accessible-description of that element, if any.
|
||||
std::optional<SharedString> accessible_description() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue