Available on crate feature
ui
only.Expand description
UI components: Windows, taskbar.
Modules§
- menu
- Menus and menu items.
- message_
box - messaging
- Window and thread message handling.
- resource
- Application resources.
Structs§
- Balloon
Notification - A Balloon notification above the Windows notification area.
- Notification
Icon - An icon in the Windows notification area.
- Notification
Icon Options - Options for a new notification icon used by
Window::add_notification_icon
. - Taskbar
- Taskbar functionality.
- TryFromHWND
Error - Window
- A window based on a
WindowClass
. - Window
Class - Window class serving as a base for
Window
. - Window
Class Appearance - Window
Handle - A (non-null) handle to a window.
- Window
Placement - Window show state plus positions.
Enums§
- Balloon
Notification Standard Icon - Built-in Windows standard icons for balloon notifications.
- Flash
Duration - The amount of times the window should be flashed.
- Flash
Element - The target of the flash animation.
- Flash
Interval - The interval between flashes.
- Monitor
Power - Monitor power state.
- Notification
Icon Id - Notification icon ID given to the Windows API.
- Progress
State - Taskbar progress state animation type.
- Window
Command - Window command corresponding to its buttons in the top right corner.
- Window
Show State - Window show state such as ‘minimized’ or ‘hidden’.
Functions§
- allocate_
console - Creates a console window for the current process if there is none.
- detach_
console - Detaches the current process from its console.
- lock_
workstation - Locks the computer, same as the user action.