CorsixTH Lua Documentation

UIChooseSoundfont Class

Window where the user can choose a soundfont file.

Declared on: line 26 of Lua/dialogs/resizables/file_browsers/choose_soundfont.lua.
Inheritance: UIChooseSoundfont » UIFileBrowser » UIResizable » Window

Method Index

Member Index

(*) only used in superclass methods
function UIChooseSoundfont:UIChooseSoundfont(ui, mode, soundOptionsUI, choiceCallback)

Parameters:

NameTypeDescription
ui ? ?
mode ? ?
soundOptionsUI ? ?
choiceCallback ? ?

Declared on: line 32 of Lua/dialogs/resizables/file_browsers/choose_soundfont.lua.

function UIChooseSoundfont:choiceMade(name)

Callback when a file is chosen

Parameters:

NameTypeDescription
name ? ?

Overrides: UIFileBrowser:choiceMade.
Declared on: line 50 of Lua/dialogs/resizables/file_browsers/choose_soundfont.lua.

function UIChooseSoundfont:close()

Close the dialog and return to the previous dialog

Overrides: Window:close.
Declared on: line 58 of Lua/dialogs/resizables/file_browsers/choose_soundfont.lua.