Module iced::window

source ·
Expand description

Configure the window of your application in native platforms.

Modules

  • Attach an icon to the window of your application.
  • Interoperability library for Rust Windowing applications.
  • Take screenshots of a window.
  • Configure your windows.

Structs

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

Enums

  • 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.

Functions

  • Changes the Icon of the window.
  • Changes the window Level.
  • Changes the Mode of the window.
  • Closes the window with id.
  • Begins dragging the window while the left mouse button is held.
  • Fetches an identifier unique to the window, provided by the underlying windowing system. This is not to be confused with Id.
  • Fetches if the window is maximized.
  • Fetches if the window is minimized.
  • Fetches the current Mode of the window.
  • Fetches the current window position in logical coordinates.
  • Fetches the window’s 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.
  • Minimizes the window.
  • Moves the 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.
  • Runs the given callback with the native window handle for the window with the given id.
  • Captures a Screenshot from the window.
  • Show the system menu at cursor position.
  • Spawns a new window with the given settings.
  • Toggles the window decorations.
  • Toggles the window to maximized or back.