Module mist_core::dialogs[][src]

Expand description

Dialog boxes to prompt the user for things.

Functions

error

Create a dialog box informing the user of an error, then exit the program. Only used at the top level of the call stack in mist. Do not go using this in places.

get_file

Open a selectfile dialog box. Box title will be title. filter should be formatted like *.msf to filter for msf file extensions etc.

get_save_as

Open a save as file dialog box. None if the user closes/cancels without choosing a file path to save to.

open_config
open_run

One-and-done function to both select a file but also parse it to a Run.

save_check

Open a dialog box to check if the user wants to save their modified split file. If they click yes, return true. No returns false.