rusty_desktop_icons¶
Exceptions¶
Raised when a caller asks for exclusive animation access but another animation is already running. |
|
Raised when the desktop backend could not be initialised or acquired. |
|
Raised when a COM / Win32 call returned a failure HRESULT. |
|
Raised when a requested icon id is not present on the desktop. |
|
Raised when a curve fails validation or a sampled Python callable returned an unusable value. |
|
Raised when a Duration policy cannot be resolved. |
|
Invalid shader source or effect configuration. |
|
Unavailable grid geometry or no collision-free destination. |
|
Base class for all errors raised by rusty-desktop-icons. |
|
Raised when no compiled backend supports the current OS. |
|
Raised when the animation worker thread has stopped unexpectedly. |
Classes¶
Handle returned by [DesktopController.animate]. |
|
Global animation options. |
|
Platform-independent movement, strength envelope and duration values. |
|
Built-in shader sources; compilation requires Windows. |
|
Off-screen dimensions in physical pixels; icon_size is the baseline DIP slot size. |
|
Owned, tightly packed premultiplied BGRA pixels. Convert alpha before saving PNG. |
|
Animation curve. |
|
Representation of an animation curve. |
|
Top-level entry point for animating the current user's desktop. |
|
Duration policy for an animation. |
|
How an animation duration is resolved. |
|
Result of the Shell-side final commit at the end of an animation. |
|
Why an animation ended. |
|
Discriminator of an animation's finish reason. |
|
Combinable Windows flags accepted by all integer flag APIs. |
|
Folder-flag mutation mode used in |
|
Folder-flag operation discriminator for dict and tuple inputs. |
|
Per-icon animation description. |
|
Per-icon animation state captured by [AnimationHandle.snapshot]. |
|
Read-only snapshot of a single desktop icon. |
|
Interpolation between sampled or explicit keyframes. |
|
Destination for native tracing events. |
|
A single connected display in the virtual-screen coordinate system. |
|
Read-only view of the motion metadata handed to a |
|
Axis-aligned pixel rectangle in virtual-screen coordinates. |
|
Prepared off-screen scene. No window, Shell position writes or visibility changes. |
|
Geometry pipeline used by a shader source. |
|
Argument passed to on_start callbacks. |
|
How an animation should leave the desktop when |
|
Argument passed to on_tick callbacks. |
|
Persistent, seekable playback opened by |
|
Package Contents¶
- rusty_desktop_icons.init_logging(level: str | None = None, target: LogTarget | str = 'loguru') bool¶
Route this library’s diagnostics somewhere useful.
Called automatically at import time with the defaults, so configuring a loguru sink is usually all you need. Call this explicitly to change the level or switch sinks.