def list_menu(self, options, title="<STR_LIT>", message="<STR_LIT>", default=None, **kwargs):
choices = []<EOL>for option in options:<EOL><INDENT>if option == default:<EOL><INDENT>choices.append("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>choices.append("<STR_LIT>")<EOL><DEDENT>choices.append(option)<EOL><DEDENT>return self._run_zenity(<EOL>title,<EOL>["<STR_LIT>", "<STR_LIT>", "<STR_LIT>", message, "<STR_LIT>", "<STR_LIT:U+0020>", "<STR_LIT>", "<STR_LIT>"] + choices,<EOL>kwargs)<EOL>
Show a single-selection list menu

Usage: C{dialog.list_menu(options, title="Choose a value", message="Choose a value", default=None, **kwargs)}

@param options: list of options (strings) for the dialog
@param title: window title for the dialog
@param message: message displayed above the list
@param default: default value to be selected
@return: a tuple containing the exit code and user choice
@rtype: C{DialogData(int, str)}