67. DontShowAgain

Handling "Don Not Show This Dialog Again"

67.1. Authors

  • Lukas Ocilka <locilka@suse.cz>

67.2. Summary of Module Globals

List of Global Functions

List of Global Variables

    67.3. Global Functions

    67.3.1. GetCurrentConfigurationMap

    Returns the current configuration map

    Return value

    • map <string, map <string, map <string, any> > > - with the current configuration

    See also:

    • current_configuration

    67.3.2. GetDefaultReturn

    Return the default return value for question that should not be shown again

    Function parameters

    • map <string, string> params

    Return value

    • any - default return value

    See also:

    • current_configuration

    67.3.3. GetShowQuestionAgain

    Returns whether the question should be shown again

    Function parameters

    • map <string, string> params

    Return value

    • boolean - it should be shown

    See also:

    • current_configuration

    67.3.4. RemoveShowQuestionAgain

    Removes one entry defined with map params

    Function parameters

    • map <string, string> params

    Return value

    • boolean - if success

    See also:

    • current_configuration

    67.3.5. SetDefaultReturn

    Sets the default return value for the question that should not be shown

    Function parameters

    • map <string, string> params

    • any default_return

    Return value

    • boolean - if success

    See also:

    • current_configuration

    67.3.6. SetShowQuestionAgain

    Sets and stores whether the question should be shown again. If it should be, the result is not stored since the 'show again' is the default value.

    Function parameters

    • map <string, string> params

    • boolean new_value

    Return value

    • boolean - if success

    See also:

    • current_configuration

    67.4. Global Variables

    67.5. Module Requirements

    67.5.1. Module Imports

    • Directory
    • FileUtils

    67.5.2. Module Includes