Skip to content

Consider adding onDeviceUnloaded callback? #624

@tlambert03

Description

@tlambert03

In pymmcore-widgets (and other event-driven stuff on the python side), I don't believe we currently have a good way to know if a device has been unloaded (so as to disable certain features in the GUI). We currently use onSystemConfigurationLoaded as a sort of proxy for this, since it often means a device has been both unloaded and reloaded... but it's not quite accurate, and would miss cases in which a device is unloaded but not reloaded

@marktsuchida, what do you think about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions