rofi  1.5.4
help-keys.c File Reference
#include <config.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <limits.h>
#include <signal.h>
#include <sys/types.h>
#include <dirent.h>
#include <strings.h>
#include <string.h>
#include <errno.h>
#include "rofi.h"
#include "settings.h"
#include "helper.h"
#include "xrmoptions.h"
#include "dialogs/help-keys.h"
#include "widgets/textbox.h"
#include "mode-private.h"
Include dependency graph for help-keys.c:

Go to the source code of this file.

Data Structures

struct  KeysHelpModePrivateData
 

Functions

static void get_apps (KeysHelpModePrivateData *pd)
 
static int help_keys_mode_init (Mode *sw)
 
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 void help_keys_mode_destroy (Mode *sw)
 
static char * _get_display_value (const Mode *sw, unsigned int selected_line, int *state, G_GNUC_UNUSED GList **list, int get_entry)
 
static int help_keys_token_match (const Mode *data, rofi_int_matcher **tokens, unsigned int index)
 
static unsigned int help_keys_mode_get_num_entries (const Mode *sw)
 

Variables

Mode help_keys_mode
 

Function Documentation

◆ _get_display_value()

static char* _get_display_value ( const Mode sw,
unsigned int  selected_line,
int *  state,
G_GNUC_UNUSED GList **  list,
int  get_entry 
)
static

Definition at line 97 of file help-keys.c.

References MARKUP, KeysHelpModePrivateData::messages, and mode_get_private_data().

Here is the call graph for this function:

◆ get_apps()

static void get_apps ( KeysHelpModePrivateData pd)
static

Definition at line 54 of file help-keys.c.

References config_parser_return_display_help(), KeysHelpModePrivateData::messages, and KeysHelpModePrivateData::messages_length.

Referenced by help_keys_mode_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ help_keys_mode_destroy()

static void help_keys_mode_destroy ( Mode sw)
static

Definition at line 87 of file help-keys.c.

References KeysHelpModePrivateData::messages, mode_get_private_data(), and mode_set_private_data().

Here is the call graph for this function:

◆ help_keys_mode_get_num_entries()

static unsigned int help_keys_mode_get_num_entries ( const Mode sw)
static

Definition at line 115 of file help-keys.c.

References KeysHelpModePrivateData::messages_length, and mode_get_private_data().

Here is the call graph for this function:

◆ help_keys_mode_init()

static int help_keys_mode_init ( Mode sw)
static

Definition at line 59 of file help-keys.c.

References get_apps(), mode_get_private_data(), and mode_set_private_data().

Here is the call graph for this function:

◆ help_keys_mode_result()

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

◆ help_keys_token_match()

static int help_keys_token_match ( const Mode data,
rofi_int_matcher **  tokens,
unsigned int  index 
)
static

Definition at line 106 of file help-keys.c.

References helper_token_match(), KeysHelpModePrivateData::messages, and mode_get_private_data().

Here is the call graph for this function: