FileDialog.setAcceptLabel

Sets the label shown on the file chooser's accept button.

Leaving the accept label unset or setting it as NULL will fall back to a default label, depending on what API is used to launch the file dialog.

class FileDialog
void
setAcceptLabel
(
string acceptLabel = null
)

Parameters

acceptLabel string

the new accept label