![]() If empty, a sane default will be used.Į.g. ( string) Initial directory to show in the open dialog. ( string) Title of the dialog ( string) Default filename to preselect. The path to the selected file(s), or nil if the user canceled. ![]() Open a standard file open dialog to ask the user for a filename. Synopsis: file_name = (title, default_file, default_dir, wildcards, allow_multiple=false, must_exist=true) result_table ( table) The Dialog ResultĬonfig = ) if btn then frobulate ( result. Even ifĬustom buttons were specified, this can still be boolean false if the userĬloses the dialog without pressing any button. Were specified, this is the text on the button clicked by the user. Ok (true) or Cancel (false) were clicked in the dialog. button ( boolean or string) If no custom buttons were specified, this is a boolean telling whether Specify which button will be triggered if the user hits Enter or ESC. Which platform button IDs, making it possible to A table which specifies which buttons in the dialog correspond to Identifying them in the return values of the function. The strings in this table are used as labels on the buttons, and for If this is left out, empty or is otherwise not a table, the This is an array of strings defining the buttons that appear in It then returns whether the user accepted or cancelled the dialog, and This function displays a configuration dialog to the user and waits for it toĬlose. Synopsis: button, result_table = (dialog, buttons, button_ids)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |