Function cosmic::iced_widget::runtime::window::screenshot
source ยท pub fn screenshot<Message>(
id: Id,
f: impl FnOnce(Screenshot) -> Message + Send + 'static,
) -> Command<Message>
Expand description
Captures a Screenshot
from the window.