rusty_desktop_icons.IconSnapshot

class rusty_desktop_icons.IconSnapshot

Read-only snapshot of a single desktop icon.

property display_name: str

Human-readable name as shown on the desktop.

property id: str

Opaque stable identifier for this icon (safe to JSON-round-trip).

property is_virtual: bool

True for virtual items that have no filesystem path.

property path: str | None

Absolute filesystem path, or None for virtual items (This PC, Recycle Bin, …).

property position: tuple[int, int]

Current position as a (x, y) tuple.