Module cosmic::iced_widget::runtime::window
source · Expand description
Build window-based GUI applications.
Modules§
- Take screenshots of a window.
Structs§
- The id of the window.
- Data of a screenshot, captured with
window::screenshot()
.
Enums§
- An operation to be performed on some window.
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 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.
- Captures a
Screenshot
from the window. - Show window menu at cursor position.
- Spawns a new window with the given
settings
. - Toggles the window decorations.
- Toggles the window to maximized or back.