DVUI

openMultiple

Block while showing a native file open dialog with multiple selection. Return the selected file paths or null if cancelled.

Not thread safe, but can be used from any thread.

Returned slice and strings are created by passed allocator. Not implemented for web (returns null).

Parameters

#
alloc:std.mem.Allocator
std.mem.Allocator
opts:DialogOptions
DialogOptions

Source

Implementation

#
pub fn openMultiple(alloc: std.mem.Allocator, opts: DialogOptions) std.mem.Allocator.Error!?[][:0]const u8 {
        return internal(.openMultiple, alloc, opts);
    }