Version: 
Back to list

Core :: askYesNo

Synopsis

   Ask a question which need a Yes/No answer

GUI Dialog

   

Script function

   core.askYesNo(question[, defaultValue]) -> answer

Parameters

   question (String) : Question to display
   defaultValue (Boolean[optional] : Default value (if interfactive mode is disabled)

Return value

   answer (Boolean) : True if the user say Yes, else False