InputElementProps
trait · ferroui-view · v0.5.0
trait InputElementProps: ElementBuilder
The properties and routed events of InputElement.
Members
focusableallow_focus_on_interactionis_enabledcursoris_hit_test_visibleis_tab_stoptab_indexon_got_focuson_getting_focuson_lost_focuson_losing_focuson_key_downon_key_upon_text_inputon_text_input_method_client_requestedon_pointer_enteredon_pointer_exitedon_pointer_movedon_pointer_pressedon_pointer_releasedon_pointer_capture_loston_pointer_wheel_changedon_context_requestedon_context_canceledon_pinchon_pinch_endedon_pull_gestureon_pull_gesture_endedon_swipe_gestureon_swipe_gesture_endedon_scroll_gestureon_scroll_gesture_inertia_startingon_scroll_gesture_endedon_pointer_touch_pad_gesture_magnifyon_pointer_touch_pad_gesture_rotateon_pointer_touch_pad_gesture_swipeon_tappedon_right_tappedon_holdingon_double_tapped
focusable
fn focusable<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets InputElement::focusable_property.
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.
is_enabled
fn is_enabled<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets InputElement::is_enabled_property.
cursor
fn cursor<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<ferroui_base::input::Cursor>>, M>) -> Self
Sets InputElement::cursor_property.
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.
is_tab_stop
fn is_tab_stop<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets InputElement::is_tab_stop_property.
tab_index
fn tab_index<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets InputElement::tab_index_property.
on_got_focus
fn on_got_focus(self: Self, handler: impl Fn(&ferroui_base::input::FocusChangedEventArgs) -> () + 'static) -> Self
Handles InputElement::got_focus_event.
on_getting_focus
fn on_getting_focus(self: Self, handler: impl Fn(&ferroui_base::input::FocusChangingEventArgs) -> () + 'static) -> Self
Handles InputElement::getting_focus_event.
on_lost_focus
fn on_lost_focus(self: Self, handler: impl Fn(&ferroui_base::input::FocusChangedEventArgs) -> () + 'static) -> Self
Handles InputElement::lost_focus_event.
on_losing_focus
fn on_losing_focus(self: Self, handler: impl Fn(&ferroui_base::input::FocusChangingEventArgs) -> () + 'static) -> Self
Handles InputElement::losing_focus_event.
on_key_down
fn on_key_down(self: Self, handler: impl Fn(&ferroui_base::input::KeyEventArgs) -> () + 'static) -> Self
Handles InputElement::key_down_event.
on_key_up
fn on_key_up(self: Self, handler: impl Fn(&ferroui_base::input::KeyEventArgs) -> () + 'static) -> Self
Handles InputElement::key_up_event.
on_text_input
fn on_text_input(self: Self, handler: impl Fn(&ferroui_base::input::TextInputEventArgs) -> () + 'static) -> Self
Handles InputElement::text_input_event.
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.
on_pointer_entered
fn on_pointer_entered(self: Self, handler: impl Fn(&ferroui_base::input::PointerEventArgs) -> () + 'static) -> Self
Handles InputElement::pointer_entered_event.
on_pointer_exited
fn on_pointer_exited(self: Self, handler: impl Fn(&ferroui_base::input::PointerEventArgs) -> () + 'static) -> Self
Handles InputElement::pointer_exited_event.
on_pointer_moved
fn on_pointer_moved(self: Self, handler: impl Fn(&ferroui_base::input::PointerEventArgs) -> () + 'static) -> Self
Handles InputElement::pointer_moved_event.
on_pointer_pressed
fn on_pointer_pressed(self: Self, handler: impl Fn(&ferroui_base::input::PointerPressedEventArgs) -> () + 'static) -> Self
Handles InputElement::pointer_pressed_event.
on_pointer_released
fn on_pointer_released(self: Self, handler: impl Fn(&ferroui_base::input::PointerReleasedEventArgs) -> () + 'static) -> Self
Handles InputElement::pointer_released_event.
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.
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.
on_context_requested
fn on_context_requested(self: Self, handler: impl Fn(&ferroui_base::input::ContextRequestedEventArgs) -> () + 'static) -> Self
Handles InputElement::context_requested_event.
on_context_canceled
fn on_context_canceled(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
Handles InputElement::context_canceled_event.
on_pinch
fn on_pinch(self: Self, handler: impl Fn(&ferroui_base::input::PinchEventArgs) -> () + 'static) -> Self
Handles InputElement::pinch_event.
on_pinch_ended
fn on_pinch_ended(self: Self, handler: impl Fn(&ferroui_base::input::PinchEndedEventArgs) -> () + 'static) -> Self
Handles InputElement::pinch_ended_event.
on_pull_gesture
fn on_pull_gesture(self: Self, handler: impl Fn(&ferroui_base::input::PullGestureEventArgs) -> () + 'static) -> Self
Handles InputElement::pull_gesture_event.
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.
on_swipe_gesture
fn on_swipe_gesture(self: Self, handler: impl Fn(&ferroui_base::input::SwipeGestureEventArgs) -> () + 'static) -> Self
Handles InputElement::swipe_gesture_event.
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.
on_scroll_gesture
fn on_scroll_gesture(self: Self, handler: impl Fn(&ferroui_base::input::ScrollGestureEventArgs) -> () + 'static) -> Self
Handles InputElement::scroll_gesture_event.
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.
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.
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.
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.
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.
on_tapped
fn on_tapped(self: Self, handler: impl Fn(&ferroui_base::input::TappedEventArgs) -> () + 'static) -> Self
Handles InputElement::tapped_event.
on_right_tapped
fn on_right_tapped(self: Self, handler: impl Fn(&ferroui_base::input::TappedEventArgs) -> () + 'static) -> Self
Handles InputElement::right_tapped_event.
on_holding
fn on_holding(self: Self, handler: impl Fn(&ferroui_base::input::HoldingRoutedEventArgs) -> () + 'static) -> Self
Handles InputElement::holding_event.
on_double_tapped
fn on_double_tapped(self: Self, handler: impl Fn(&ferroui_base::input::TappedEventArgs) -> () + 'static) -> Self
Handles InputElement::double_tapped_event.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.