Move all operations to widget::operation module

This commit is contained in:
Héctor Ramón Jiménez 2025-08-23 03:54:54 +02:00
parent 885d45f435
commit 34a42b5ad4
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
14 changed files with 124 additions and 136 deletions

View file

@ -1,6 +1,6 @@
use iced::widget::{
button, center, center_x, column, container, horizontal_space, scrollable,
text, text_input,
button, center, center_x, column, container, horizontal_space, operation,
scrollable, text, text_input,
};
use iced::window;
use iced::{
@ -85,7 +85,7 @@ impl Example {
}
Message::WindowOpened(id) => {
let window = Window::new(self.windows.len() + 1);
let focus_input = text_input::focus(format!("input-{id}"));
let focus_input = operation::focus(format!("input-{id}"));
self.windows.insert(id, window);