Module iced::window

source ·
Expand description

Configure the window of your application in native platforms.


  • Attach an icon to the window of your application.
  • Take screenshots of a window.


  • An window icon normally used for the titlebar or taskbar.
  • The platform specific window settings of an application.
  • Data of a screenshot, captured with window::screenshot().
  • The window settings of an application.


  • An operation to be performed on some window.
  • A window-related event.
  • A window level groups windows with respect to their z-position.
  • The mode of a window-based application.
  • The position of a window in a given screen.
  • A request to redraw a window.
  • The type of user attention to request.


  • Changes the Icon of the window.
  • Changes the window Level.
  • Changes the Mode of the window.
  • Closes the current window and exits the application.
  • Begins dragging the window while the left mouse button is held.
  • Fetches an identifier unique to the window.
  • Fetches the current Mode of the window.
  • Fetches the current window size in logical dimensions.
  • Subscribes to the frames of the window of the running application.
  • Brings the window to the front and sets input focus. Has no effect if the window is already in focus, minimized, or not visible.
  • Maximizes the window.
  • Minimes the window.
  • Moves a window to the given logical coordinates.
  • Request user attention to the window, this has no effect if the application is already focused. How requesting for user attention manifests is platform dependent, see UserAttention for details.
  • Resizes the window to the given logical dimensions.
  • Captures a Screenshot from the window.
  • Toggles the window decorations.
  • Toggles the window to maximized or back.