This commit is contained in:
Nathan Sobo 2023-11-08 22:03:26 -07:00
parent 7c922ad6ee
commit d52c5646b4
2 changed files with 11 additions and 0 deletions

View file

@ -2170,6 +2170,9 @@ impl<'a, V: 'static> ViewContext<'a, V> {
});
}
/// Set an input handler, such as [ElementInputHandler], which interfaces with the
/// platform to receive textual input with proper integration with concerns such
/// as IME interactions.
pub fn handle_input(
&mut self,
focus_handle: &FocusHandle,