Skip to content

File handling examples? #223

@sacha-renault

Description

@sacha-renault

Hey, are there any examples for file operations in plugins? I'm trying to add file loading to my plugin but can't find any examples. I am using egui.

Specifically looking for:

  • Drag & drop files into the plugin GUI
  • File picker dialogs that don't crash the plugin

I tried using rfd but it crashes my plugin in most DAWs (which I could expect since it blocks the gui thread until the file is picked). BaseView drag & drop doesn't seem to work on Windows.
Would be super helpful to have an example showing the proper way to do this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions