[][src]Module druid_shell::windows

Creation and management of windows.

Modules

application

Windows implementation of features at the application scope.

dcomp

Safe-ish wrappers for DirectComposition and related interfaces.

dialog

File open/save dialogs, Windows implementation.

menu

Safe wrapper for menus.

paint

Bureaucracy to create render targets for painting.

util

Various utilities for working with windows. Includes utilities for converting between Windows and Rust types, including strings. Also includes some code to dynamically load functions at runtime. This is needed for functions which are only supported on certain versions of windows.

win_main

Windows main loop.

Structs

IdleHandle

A handle that can get used to schedule an idle handler. Note that this handle is thread safe. If the handle is used after the hwnd has been destroyed, probably not much will go wrong (the XI_RUN_IDLE message may be sent to a stray window).

WindowBuilder

Builder abstraction for creating new windows.

WindowHandle

Enums

PresentStrategy

It's very tricky to get smooth dynamics (especially resizing) and good performance on Windows. This setting lets clients experiment with different strategies.

Functions

DwmFlush