FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    InputMethod

    struct · ferroui-base · v0.5.0

    struct InputMethod
    

    Defines the attached property and the routed event that connect an input element to the input method of the platform.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this type.

    Source

    is_input_method_enabled_property

    fn is_input_method_enabled_property() -> &'static AttachedProperty<bool>
    

    A dependency property that enables alternative text inputs.

    Source

    set_is_input_method_enabled

    fn set_is_input_method_enabled(target: &InputElement, value: bool)
    

    Setter for the IsInputMethodEnabled attached property.

    Source

    get_is_input_method_enabled

    fn get_is_input_method_enabled(target: &InputElement) -> bool
    

    Getter for the IsInputMethodEnabled attached property.

    Source

    text_input_method_client_requery_requested_event

    fn text_input_method_client_requery_requested_event() -> &'static RoutedEvent<TextInputMethodClientRequeryRequestedEventArgs>
    

    Defines the TextInputMethodClientRequeryRequested event: raise it on an element to have the input system query the focused element for its text input method client again.

    Source

    add_text_input_method_client_requery_requested_handler

    fn add_text_input_method_client_requery_requested_handler(element: &Interactive, handler: impl Fn(&Interactive, &RoutedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
    

    Adds a handler for the TextInputMethodClientRequeryRequested attached event.

    Source

    remove_text_input_method_client_requery_requested_handler

    fn remove_text_input_method_client_requery_requested_handler(element: &Interactive, handler: RoutedEventHandlerToken)
    

    Removes a handler for the TextInputMethodClientRequeryRequested attached event.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither
    • StaticType
    • MarkupTyped

    Availability

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