38 #include <sys/types.h>
68 G_GNUC_UNUSED
char **input,
69 G_GNUC_UNUSED
unsigned int selected_line) {
87 int *state, G_GNUC_UNUSED GList **list,
95 return g_strdup(pd->
messages[selected_line]);
112 .cfg_name_key =
"display-keys",
118 ._get_completion = NULL,
120 .private_data = NULL,
char ** config_parser_return_display_help(unsigned int *length)
int helper_token_match(rofi_int_matcher *const *tokens, const char *input)
void mode_set_private_data(Mode *mode, void *pd)
void * mode_get_private_data(const Mode *mode)
static char * _get_display_value(const Mode *sw, unsigned int selected_line, int *state, G_GNUC_UNUSED GList **list, int get_entry)
static ModeMode help_keys_mode_result(G_GNUC_UNUSED Mode *sw, int mretv, G_GNUC_UNUSED char **input, G_GNUC_UNUSED unsigned int selected_line)
static unsigned int help_keys_mode_get_num_entries(const Mode *sw)
static void help_keys_mode_destroy(Mode *sw)
static int help_keys_token_match(const Mode *data, rofi_int_matcher **tokens, unsigned int index)
static int help_keys_mode_init(Mode *sw)
static void get_apps(KeysHelpModePrivateData *pd)
unsigned int messages_length