FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    InputElementProps

    trait · ferroui-view · v0.5.0

    trait InputElementProps: ElementBuilder
    

    The properties and routed events of InputElement.

    View source

    Members

    focusable

    fn focusable<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets InputElement::focusable_property.

    Source

    allow_focus_on_interaction

    fn allow_focus_on_interaction<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets InputElement::allow_focus_on_interaction_property.

    Source

    is_enabled

    fn is_enabled<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets InputElement::is_enabled_property.

    Source

    cursor

    fn cursor<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<ferroui_base::input::Cursor>>, M>) -> Self
    

    Sets InputElement::cursor_property.

    Source

    is_hit_test_visible

    fn is_hit_test_visible<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets InputElement::is_hit_test_visible_property.

    Source

    is_tab_stop

    fn is_tab_stop<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets InputElement::is_tab_stop_property.

    Source

    tab_index

    fn tab_index<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
    

    Sets InputElement::tab_index_property.

    Source

    on_got_focus

    fn on_got_focus(self: Self, handler: impl Fn(&ferroui_base::input::FocusChangedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::got_focus_event.

    Source

    on_getting_focus

    fn on_getting_focus(self: Self, handler: impl Fn(&ferroui_base::input::FocusChangingEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::getting_focus_event.

    Source

    on_lost_focus

    fn on_lost_focus(self: Self, handler: impl Fn(&ferroui_base::input::FocusChangedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::lost_focus_event.

    Source

    on_losing_focus

    fn on_losing_focus(self: Self, handler: impl Fn(&ferroui_base::input::FocusChangingEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::losing_focus_event.

    Source

    on_key_down

    fn on_key_down(self: Self, handler: impl Fn(&ferroui_base::input::KeyEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::key_down_event.

    Source

    on_key_up

    fn on_key_up(self: Self, handler: impl Fn(&ferroui_base::input::KeyEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::key_up_event.

    Source

    on_text_input

    fn on_text_input(self: Self, handler: impl Fn(&ferroui_base::input::TextInputEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::text_input_event.

    Source

    on_text_input_method_client_requested

    fn on_text_input_method_client_requested(self: Self, handler: impl Fn(&ferroui_base::input::text_input::TextInputMethodClientRequestedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::text_input_method_client_requested_event.

    Source

    on_pointer_entered

    fn on_pointer_entered(self: Self, handler: impl Fn(&ferroui_base::input::PointerEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pointer_entered_event.

    Source

    on_pointer_exited

    fn on_pointer_exited(self: Self, handler: impl Fn(&ferroui_base::input::PointerEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pointer_exited_event.

    Source

    on_pointer_moved

    fn on_pointer_moved(self: Self, handler: impl Fn(&ferroui_base::input::PointerEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pointer_moved_event.

    Source

    on_pointer_pressed

    fn on_pointer_pressed(self: Self, handler: impl Fn(&ferroui_base::input::PointerPressedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pointer_pressed_event.

    Source

    on_pointer_released

    fn on_pointer_released(self: Self, handler: impl Fn(&ferroui_base::input::PointerReleasedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pointer_released_event.

    Source

    on_pointer_capture_lost

    fn on_pointer_capture_lost(self: Self, handler: impl Fn(&ferroui_base::input::PointerCaptureLostEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pointer_capture_lost_event.

    Source

    on_pointer_wheel_changed

    fn on_pointer_wheel_changed(self: Self, handler: impl Fn(&ferroui_base::input::PointerWheelEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pointer_wheel_changed_event.

    Source

    on_context_requested

    fn on_context_requested(self: Self, handler: impl Fn(&ferroui_base::input::ContextRequestedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::context_requested_event.

    Source

    on_context_canceled

    fn on_context_canceled(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::context_canceled_event.

    Source

    on_pinch

    fn on_pinch(self: Self, handler: impl Fn(&ferroui_base::input::PinchEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pinch_event.

    Source

    on_pinch_ended

    fn on_pinch_ended(self: Self, handler: impl Fn(&ferroui_base::input::PinchEndedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pinch_ended_event.

    Source

    on_pull_gesture

    fn on_pull_gesture(self: Self, handler: impl Fn(&ferroui_base::input::PullGestureEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pull_gesture_event.

    Source

    on_pull_gesture_ended

    fn on_pull_gesture_ended(self: Self, handler: impl Fn(&ferroui_base::input::PullGestureEndedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pull_gesture_ended_event.

    Source

    on_swipe_gesture

    fn on_swipe_gesture(self: Self, handler: impl Fn(&ferroui_base::input::SwipeGestureEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::swipe_gesture_event.

    Source

    on_swipe_gesture_ended

    fn on_swipe_gesture_ended(self: Self, handler: impl Fn(&ferroui_base::input::SwipeGestureEndedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::swipe_gesture_ended_event.

    Source

    on_scroll_gesture

    fn on_scroll_gesture(self: Self, handler: impl Fn(&ferroui_base::input::ScrollGestureEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::scroll_gesture_event.

    Source

    on_scroll_gesture_inertia_starting

    fn on_scroll_gesture_inertia_starting(self: Self, handler: impl Fn(&ferroui_base::input::ScrollGestureInertiaStartingEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::scroll_gesture_inertia_starting_event.

    Source

    on_scroll_gesture_ended

    fn on_scroll_gesture_ended(self: Self, handler: impl Fn(&ferroui_base::input::ScrollGestureEndedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::scroll_gesture_ended_event.

    Source

    on_pointer_touch_pad_gesture_magnify

    fn on_pointer_touch_pad_gesture_magnify(self: Self, handler: impl Fn(&ferroui_base::input::PointerDeltaEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pointer_touch_pad_gesture_magnify_event.

    Source

    on_pointer_touch_pad_gesture_rotate

    fn on_pointer_touch_pad_gesture_rotate(self: Self, handler: impl Fn(&ferroui_base::input::PointerDeltaEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pointer_touch_pad_gesture_rotate_event.

    Source

    on_pointer_touch_pad_gesture_swipe

    fn on_pointer_touch_pad_gesture_swipe(self: Self, handler: impl Fn(&ferroui_base::input::PointerDeltaEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::pointer_touch_pad_gesture_swipe_event.

    Source

    on_tapped

    fn on_tapped(self: Self, handler: impl Fn(&ferroui_base::input::TappedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::tapped_event.

    Source

    on_right_tapped

    fn on_right_tapped(self: Self, handler: impl Fn(&ferroui_base::input::TappedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::right_tapped_event.

    Source

    on_holding

    fn on_holding(self: Self, handler: impl Fn(&ferroui_base::input::HoldingRoutedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::holding_event.

    Source

    on_double_tapped

    fn on_double_tapped(self: Self, handler: impl Fn(&ferroui_base::input::TappedEventArgs) -> () + 'static) -> Self
    

    Handles InputElement::double_tapped_event.

    Source

    Trait implementations

    Availability

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