rusty_desktop_icons.FolderFlagOp

class rusty_desktop_icons.FolderFlagOp

Folder-flag mutation mode used in [AnimationOptions.before_flags] / after_flags.

Construct via [FolderFlagOp.set] (OR-set) or [FolderFlagOp.exactly] (mask-set).

classmethod exactly(flags: int) → FolderFlagOp

Exactly-set semantics — matches the legacy exactly_set_desktop_flags.

classmethod set(flags: int) → FolderFlagOp

OR-set semantics — matches the legacy set_desktop_flags.

property flags: int

Flag word.

property kind: rusty_desktop_icons._enums.FolderFlagOpKind

Operation kind, also accepted in dict and tuple flag operations.