mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
Add the accessible-id property (#9940)
Changelog: Added the `accessible-id` property
This commit is contained in:
parent
43f24171b3
commit
6348dc4b19
7 changed files with 95 additions and 0 deletions
|
|
@ -250,6 +250,12 @@ public:
|
|||
cbindgen_private::AccessibleStringProperty::Description);
|
||||
}
|
||||
|
||||
/// Returns the accessible-id of that element, if any.
|
||||
std::optional<SharedString> accessible_id() const
|
||||
{
|
||||
return get_accessible_string_property(cbindgen_private::AccessibleStringProperty::Id);
|
||||
}
|
||||
|
||||
/// Returns the accessible-value-maximum of that element, if any.
|
||||
std::optional<float> accessible_value_maximum() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue