PickOpenDocument

data class PickOpenDocument(val id: EffectId, val acceptedExtensions: Set<String> = setOf("pl", "2p", "txt")) : GuiEffect

Show a native "open file" picker restricted to acceptedExtensions.

Constructors

Link copied to clipboard
constructor(id: EffectId, acceptedExtensions: Set<String> = setOf("pl", "2p", "txt"))

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: EffectId

Uniquely identifies this effect instance.