FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AutomationPeerImpl

    trait · ferroui-controls · v0.5.0

    trait AutomationPeerImpl: FerroObjectImpl + $crate::Upcast<AutomationPeer>
    

    The overridable members introduced by the class.

    View source

    Members

    get_localized_control_type_core

    fn get_localized_control_type_core(this: &Self) -> String
    

    Gets a human-readable localized string that represents the type of the control that is associated with this automation peer.

    Source

    bring_into_view_core

    fn bring_into_view_core(this: &Self)
    

    Source

    get_accelerator_key_core

    fn get_accelerator_key_core(this: &Self) -> Option<String>
    

    Source

    get_access_key_core

    fn get_access_key_core(this: &Self) -> Option<String>
    

    Source

    get_automation_control_type_core

    fn get_automation_control_type_core(this: &Self) -> AutomationControlType
    

    Source

    get_automation_id_core

    fn get_automation_id_core(this: &Self) -> Option<String>
    

    Source

    get_bounding_rectangle_core

    fn get_bounding_rectangle_core(this: &Self) -> Rect
    

    Source

    get_or_create_children_core

    fn get_or_create_children_core(this: &Self) -> Rc<Vec<Ref<AutomationPeer>>>
    

    Source

    get_class_name_core

    fn get_class_name_core(this: &Self) -> String
    

    Source

    get_labeled_by_core

    fn get_labeled_by_core(this: &Self) -> Option<Ref<AutomationPeer>>
    

    Source

    get_name_core

    fn get_name_core(this: &Self) -> Option<String>
    

    Source

    get_help_text_core

    fn get_help_text_core(this: &Self) -> Option<String>
    

    Source

    get_placeholder_text_core

    fn get_placeholder_text_core(this: &Self) -> Option<String>
    

    Source

    get_landmark_type_core

    fn get_landmark_type_core(this: &Self) -> Option<AutomationLandmarkType>
    

    Source

    get_heading_level_core

    fn get_heading_level_core(this: &Self) -> i32
    

    Source

    get_item_type_core

    fn get_item_type_core(this: &Self) -> Option<String>
    

    Source

    get_item_status_core

    fn get_item_status_core(this: &Self) -> Option<String>
    

    Source

    get_parent_core

    fn get_parent_core(this: &Self) -> Option<Ref<AutomationPeer>>
    

    Source

    has_keyboard_focus_core

    fn has_keyboard_focus_core(this: &Self) -> bool
    

    Source

    is_content_element_core

    fn is_content_element_core(this: &Self) -> bool
    

    Source

    is_control_element_core

    fn is_control_element_core(this: &Self) -> bool
    

    Source

    is_enabled_core

    fn is_enabled_core(this: &Self) -> bool
    

    Source

    is_keyboard_focusable_core

    fn is_keyboard_focusable_core(this: &Self) -> bool
    

    Source

    is_offscreen_core

    fn is_offscreen_core(this: &Self) -> bool
    

    Source

    set_focus_core

    fn set_focus_core(this: &Self)
    

    Source

    show_context_menu_core

    fn show_context_menu_core(this: &Self) -> bool
    

    Source

    get_live_setting_core

    fn get_live_setting_core(this: &Self) -> AutomationLiveSetting
    

    Source

    get_control_type_override_core

    fn get_control_type_override_core(this: &Self) -> AutomationControlType
    

    Source

    get_class_name_override_core

    fn get_class_name_override_core(this: &Self) -> String
    

    Source

    get_automation_root_core

    fn get_automation_root_core(this: &Self) -> Option<Ref<AutomationPeer>>
    

    Gets the root of the automation tree of the peer (not for use outside the framework).

    Source

    get_visual_root_core

    fn get_visual_root_core(this: &Self) -> Option<Ref<AutomationPeer>>
    

    Gets the peer of the visual root of the element (not for use outside the framework).

    Source

    to_screen_core

    fn to_screen_core(this: &Self, rect: Rect) -> Option<Rect>
    

    Converts a rectangle in the coordinates of the visual root to screen coordinates (not for use outside the framework).

    Source

    is_content_element_override_core

    fn is_content_element_override_core(this: &Self) -> bool
    

    Source

    is_control_element_override_core

    fn is_control_element_override_core(this: &Self) -> bool
    

    Source

    get_provider_core

    fn get_provider_core(this: &Self, provider_type: ValueType) -> Option<BoxedValue>
    

    Gets the handle of the provider contract provider_type (the type of the handle, for example Rc<dyn IInvokeProvider>) if the peer provides it.

    Source

    try_set_parent

    fn try_set_parent(this: &Self, parent: Option<Ref<AutomationPeer>>) -> bool
    

    Sets the parent of the peer; returns whether the peer accepted it.

    Source

    is_element_available_core

    fn is_element_available_core(this: &Self) -> bool
    

    Whether the element of the peer still exists (true by default; a ControlAutomationPeer whose control is gone answers false).

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.