diff options
author | 2025-02-03 03:34:41 +0100 | |
---|---|---|
committer | 2025-02-03 03:34:41 +0100 | |
commit | ba755c69d648cace61f23537266f2e556ee70c15 (patch) | |
tree | 8a402369992a8b50774a6a5b8a390e1f06d7f891 /core | |
parent | c9abe25d3167bb12d935e3a095160a897dd98176 (diff) | |
download | iced-ba755c69d648cace61f23537266f2e556ee70c15.tar.gz iced-ba755c69d648cace61f23537266f2e556ee70c15.tar.bz2 iced-ba755c69d648cace61f23537266f2e556ee70c15.zip |
Fulfill `InputMethod` requests only during `RedrawRequested`
Diffstat (limited to 'core')
-rw-r--r-- | core/src/shell.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/shell.rs b/core/src/shell.rs index d01233c7..a13492d5 100644 --- a/core/src/shell.rs +++ b/core/src/shell.rs @@ -78,6 +78,9 @@ impl<'a, Message> Shell<'a, Message> { } /// Requests the current [`InputMethod`] strategy. + /// + /// __Important__: This request will only be honored by the + /// [`Shell`] only during a [`window::Event::RedrawRequested`]. pub fn request_input_method<T: AsRef<str>>( &mut self, ime: &InputMethod<T>, |