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.
Members
TYPEis_input_method_enabled_propertyset_is_input_method_enabledget_is_input_method_enabledtext_input_method_client_requery_requested_eventadd_text_input_method_client_requery_requested_handlerremove_text_input_method_client_requery_requested_handler
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this type.
is_input_method_enabled_property
fn is_input_method_enabled_property() -> &'static AttachedProperty<bool>
A dependency property that enables alternative text inputs.
set_is_input_method_enabled
fn set_is_input_method_enabled(target: &InputElement, value: bool)
Setter for the IsInputMethodEnabled attached property.
get_is_input_method_enabled
fn get_is_input_method_enabled(target: &InputElement) -> bool
Getter for the IsInputMethodEnabled attached property.
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.
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.
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.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherStaticTypeMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.