AutomationProperties
struct · ferroui-controls · v0.5.0
struct AutomationProperties
The attached properties that describe an element to UI automation.
Members
TYPEaccelerator_key_propertyaccessibility_view_propertyaccess_key_propertyautomation_id_propertycontrol_type_override_propertyclass_name_override_propertyis_control_element_override_propertyhelp_text_propertylandmark_type_propertyheading_level_propertyis_column_header_propertyis_required_for_form_propertyis_row_header_propertyis_offscreen_behavior_propertyitem_status_propertyitem_type_propertylabeled_by_propertylive_setting_propertyname_propertyposition_in_set_propertysize_of_set_propertyset_accelerator_keyget_accelerator_keyset_accessibility_viewget_accessibility_viewset_access_keyget_access_keyset_automation_idget_automation_idset_control_type_overrideget_control_type_overrideset_class_name_overrideget_class_name_overrideset_is_control_element_overrideget_is_control_element_overrideset_help_textget_help_textset_landmark_typeget_landmark_typeset_heading_levelget_heading_levelset_is_column_headerget_is_column_headerset_is_required_for_formget_is_required_for_formget_is_row_headerset_is_row_headerset_is_offscreen_behaviorget_is_offscreen_behaviorset_item_statusget_item_statusset_item_typeget_item_typeset_labeled_byget_labeled_byset_live_settingget_live_settingset_nameget_nameset_position_in_setget_position_in_setset_size_of_setget_size_of_set
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this type.
accelerator_key_property
fn accelerator_key_property() -> &'static AttachedProperty<Option<String>>
Defines the AutomationProperties.AcceleratorKey attached property.
This property affects the default value for AutomationPeer::get_accelerator_key.
accessibility_view_property
fn accessibility_view_property() -> &'static AttachedProperty<AccessibilityView>
Defines the AutomationProperties.AccessibilityView attached property.
The value of this property affects the default value of the
AutomationPeer::is_content_element and AutomationPeer::is_control_element properties.
access_key_property
fn access_key_property() -> &'static AttachedProperty<Option<String>>
Defines the AutomationProperties.AccessKey attached property.
This property affects the default value for AutomationPeer::get_access_key.
automation_id_property
fn automation_id_property() -> &'static AttachedProperty<Option<String>>
Defines the AutomationProperties.AutomationId attached property.
This property affects the default value for AutomationPeer::get_automation_id.
control_type_override_property
fn control_type_override_property() -> &'static AttachedProperty<Option<AutomationControlType>>
Defines the AutomationProperties.ControlTypeOverride attached property.
This property affects the default value for
AutomationPeer::get_automation_control_type.
class_name_override_property
fn class_name_override_property() -> &'static AttachedProperty<Option<String>>
Defines the AutomationProperties.ClassNameOverride attached property.
This property affects the default value for AutomationPeer::get_class_name.
is_control_element_override_property
fn is_control_element_override_property() -> &'static AttachedProperty<Option<bool>>
Defines the AutomationProperties.IsControlElementOverride attached property.
This property affects the default value for
AutomationPeer::is_control_element.
help_text_property
fn help_text_property() -> &'static AttachedProperty<Option<String>>
Defines the AutomationProperties.HelpText attached property.
This property affects the default value for AutomationPeer::get_help_text.
landmark_type_property
fn landmark_type_property() -> &'static AttachedProperty<Option<AutomationLandmarkType>>
Defines the AutomationProperties.LandmarkType attached property.
This property affects the default value for AutomationPeer::get_landmark_type
heading_level_property
fn heading_level_property() -> &'static AttachedProperty<i32>
Defines the AutomationProperties.HeadingLevel attached property.
This property affects the default value for AutomationPeer::get_heading_level.
is_column_header_property
fn is_column_header_property() -> &'static AttachedProperty<bool>
Defines the AutomationProperties.IsColumnHeader attached property.
This property currently has no effect.
is_required_for_form_property
fn is_required_for_form_property() -> &'static AttachedProperty<bool>
Defines the AutomationProperties.IsRequiredForForm attached property.
This property currently has no effect.
is_row_header_property
fn is_row_header_property() -> &'static AttachedProperty<bool>
Defines the AutomationProperties.IsRowHeader attached property.
This property currently has no effect.
is_offscreen_behavior_property
fn is_offscreen_behavior_property() -> &'static AttachedProperty<IsOffscreenBehavior>
Defines the AutomationProperties.IsOffscreenBehavior attached property.
This property affects the default value for AutomationPeer::is_offscreen.
item_status_property
fn item_status_property() -> &'static AttachedProperty<Option<String>>
Defines the AutomationProperties.ItemStatus attached property.
This property currently has no effect.
item_type_property
fn item_type_property() -> &'static AttachedProperty<Option<String>>
Defines the AutomationProperties.ItemType attached property.
This property currently has no effect.
labeled_by_property
fn labeled_by_property() -> &'static AttachedProperty<Option<ElementRef<Control>>>
Defines the AutomationProperties.LabeledBy attached property.
This property affects the default value for AutomationPeer::get_labeled_by.
An element does not own the control that labels it, so the value is an element reference.
live_setting_property
fn live_setting_property() -> &'static AttachedProperty<AutomationLiveSetting>
Defines the AutomationProperties.LiveSetting attached property.
This property affects the default value for AutomationPeer::get_live_setting and controls whether live region changed events are emitted.
name_property
fn name_property() -> &'static AttachedProperty<Option<String>>
Defines the AutomationProperties.Name attached property.
This property affects the default value for AutomationPeer::get_name.
position_in_set_property
fn position_in_set_property() -> &'static AttachedProperty<i32>
Defines the AutomationProperties.PositionInSet attached property.
Linux AT-SPI exposes positive values as the posinset attribute.
The PositionInSet property describes the ordinal location of the element within a set of elements which are considered to be siblings. PositionInSet works in coordination with the SizeOfSet property to describe the ordinal location in the set.
size_of_set_property
fn size_of_set_property() -> &'static AttachedProperty<i32>
Defines the AutomationProperties.SizeOfSet attached property.
Linux AT-SPI exposes positive values as the setsize attribute.
The SizeOfSet property describes the count of automation elements in a group or set that are considered to be siblings. SizeOfSet works in coordination with the PositionInSet property to describe the count of items in the set.
set_accelerator_key
fn set_accelerator_key(element: &StyledElement, value: &str)
Helper for setting the value of the accelerator_key_property on a StyledElement.
get_accelerator_key
fn get_accelerator_key(element: &StyledElement) -> Option<String>
Helper for reading the value of the accelerator_key_property on a StyledElement.
set_accessibility_view
fn set_accessibility_view(element: &StyledElement, value: AccessibilityView)
Helper for setting the value of the accessibility_view_property on a StyledElement.
get_accessibility_view
fn get_accessibility_view(element: &StyledElement) -> AccessibilityView
Helper for reading the value of the accessibility_view_property on a StyledElement.
set_access_key
fn set_access_key(element: &StyledElement, value: &str)
Helper for setting the value of the access_key_property on a StyledElement.
get_access_key
fn get_access_key(element: &StyledElement) -> Option<String>
Helper for reading the value of the access_key_property on a StyledElement.
set_automation_id
fn set_automation_id(element: &StyledElement, value: Option<&str>)
Helper for setting the value of the automation_id_property on a StyledElement.
get_automation_id
fn get_automation_id(element: &StyledElement) -> Option<String>
Helper for reading the value of the automation_id_property on a StyledElement.
set_control_type_override
fn set_control_type_override(element: &StyledElement, value: Option<AutomationControlType>)
Helper for setting the value of the control_type_override_property on a StyledElement.
get_control_type_override
fn get_control_type_override(element: &StyledElement) -> Option<AutomationControlType>
Helper for reading the value of the control_type_override_property on a StyledElement.
set_class_name_override
fn set_class_name_override(element: &StyledElement, value: Option<&str>)
Helper for setting the value of the class_name_override_property on a StyledElement.
get_class_name_override
fn get_class_name_override(element: &StyledElement) -> Option<String>
Helper for reading the value of the class_name_override_property on a StyledElement.
set_is_control_element_override
fn set_is_control_element_override(element: &StyledElement, value: Option<bool>)
Helper for setting the value of the is_control_element_override_property on a StyledElement.
get_is_control_element_override
fn get_is_control_element_override(element: &StyledElement) -> Option<bool>
Helper for reading the value of the is_control_element_override_property on a StyledElement.
set_help_text
fn set_help_text(element: &StyledElement, value: Option<&str>)
Helper for setting the value of the help_text_property on a StyledElement.
get_help_text
fn get_help_text(element: &StyledElement) -> Option<String>
Helper for reading the value of the help_text_property on a StyledElement.
set_landmark_type
fn set_landmark_type(element: &StyledElement, value: Option<AutomationLandmarkType>)
Helper for setting the value of the landmark_type_property on a StyledElement.
get_landmark_type
fn get_landmark_type(element: &StyledElement) -> Option<AutomationLandmarkType>
Helper for reading the value of the landmark_type_property on a StyledElement.
set_heading_level
fn set_heading_level(element: &StyledElement, value: i32)
Helper for setting the value of the heading_level_property on a StyledElement.
get_heading_level
fn get_heading_level(element: &StyledElement) -> i32
Helper for reading the value of the heading_level_property on a StyledElement.
set_is_column_header
fn set_is_column_header(element: &StyledElement, value: bool)
Helper for setting the value of the is_column_header_property on a StyledElement.
get_is_column_header
fn get_is_column_header(element: &StyledElement) -> bool
Helper for reading the value of the is_column_header_property on a StyledElement.
set_is_required_for_form
fn set_is_required_for_form(element: &StyledElement, value: bool)
Helper for setting the value of the is_required_for_form_property on a StyledElement.
get_is_required_for_form
fn get_is_required_for_form(element: &StyledElement) -> bool
Helper for reading the value of the is_required_for_form_property on a StyledElement.
get_is_row_header
fn get_is_row_header(element: &StyledElement) -> bool
Helper for reading the value of the is_row_header_property on a StyledElement.
set_is_row_header
fn set_is_row_header(element: &StyledElement, value: bool)
Helper for setting the value of the is_row_header_property on a StyledElement.
set_is_offscreen_behavior
fn set_is_offscreen_behavior(element: &StyledElement, value: IsOffscreenBehavior)
Helper for setting the value of the is_offscreen_behavior_property on a StyledElement.
get_is_offscreen_behavior
fn get_is_offscreen_behavior(element: &StyledElement) -> IsOffscreenBehavior
Helper for reading the value of the is_offscreen_behavior_property on a StyledElement.
set_item_status
fn set_item_status(element: &StyledElement, value: Option<&str>)
Helper for setting the value of the item_status_property on a StyledElement.
get_item_status
fn get_item_status(element: &StyledElement) -> Option<String>
Helper for reading the value of the item_status_property on a StyledElement.
set_item_type
fn set_item_type(element: &StyledElement, value: Option<&str>)
Helper for setting the value of the item_type_property on a StyledElement.
get_item_type
fn get_item_type(element: &StyledElement) -> Option<String>
Helper for reading the value of the item_type_property on a StyledElement.
set_labeled_by
fn set_labeled_by(element: &StyledElement, value: impl Into<Nullable<Control>>)
Helper for setting the value of the labeled_by_property on a StyledElement.
get_labeled_by
fn get_labeled_by(element: &StyledElement) -> Option<Ref<Control>>
Helper for reading the value of the labeled_by_property on a StyledElement.
set_live_setting
fn set_live_setting(element: &StyledElement, value: AutomationLiveSetting)
Helper for setting the value of the live_setting_property on a StyledElement.
get_live_setting
fn get_live_setting(element: &StyledElement) -> AutomationLiveSetting
Helper for reading the value of the live_setting_property on a StyledElement.
set_name
fn set_name(element: &StyledElement, value: Option<&str>)
Helper for setting the value of the name_property on a StyledElement.
get_name
fn get_name(element: &StyledElement) -> Option<String>
Helper for reading the value of the name_property on a StyledElement.
set_position_in_set
fn set_position_in_set(element: &StyledElement, value: i32)
Helper for setting the value of the position_in_set_property on a StyledElement.
get_position_in_set
fn get_position_in_set(element: &StyledElement) -> i32
Helper for reading the value of the position_in_set_property on a StyledElement.
set_size_of_set
fn set_size_of_set(element: &StyledElement, value: i32)
Helper for setting the value of the size_of_set_property on a StyledElement.
get_size_of_set
fn get_size_of_set(element: &StyledElement) -> i32
Helper for reading the value of the size_of_set_property on a StyledElement.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherStaticType
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.