rofi 1.7.7
|
#include <mode-private.h>
Data Fields | |
unsigned int | abi_version |
char * | name |
char | cfg_name_key [128] |
char * | display_name |
__mode_init | _init |
__mode_destroy | _destroy |
__mode_get_num_entries | _get_num_entries |
_mode_result | _result |
_mode_token_match | _token_match |
_mode_get_display_value | _get_display_value |
_mode_get_icon | _get_icon |
_mode_get_completion | _get_completion |
_mode_preprocess_input | _preprocess_input |
_mode_get_message | _get_message |
void * | private_data |
_mode_free | free |
_mode_create | _create |
_mode_completer_result | _completer_result |
void * | ed |
GModule * | module |
uint32_t | fallback_icon_fetch_uid |
uint32_t | fallback_icon_not_found |
ModeType | type |
Structure defining a switcher. It consists of a name, callback and if enabled a textbox for the sidebar-mode.
Definition at line 197 of file mode-private.h.
_mode_completer_result rofi_mode::_completer_result |
If this mode is used as completer.
Definition at line 247 of file mode-private.h.
Referenced by mode_completer_result(), and mode_init().
_mode_create rofi_mode::_create |
__mode_destroy rofi_mode::_destroy |
Destroy the switcher, e.g. free all its memory.
Definition at line 211 of file mode-private.h.
Referenced by mode_destroy(), and script_mode_parse_setup().
_mode_get_completion rofi_mode::_get_completion |
Get the 'completed' entry.
Definition at line 223 of file mode-private.h.
Referenced by mode_get_completion(), and script_mode_parse_setup().
_mode_get_display_value rofi_mode::_get_display_value |
Get the string to display for the entry.
Definition at line 219 of file mode-private.h.
Referenced by _get_display_value(), mode_get_completion(), mode_get_display_value(), and script_mode_parse_setup().
_mode_get_icon rofi_mode::_get_icon |
Get the icon for the entry.
Definition at line 221 of file mode-private.h.
Referenced by _get_icon(), mode_get_icon(), and script_mode_parse_setup().
_mode_get_message rofi_mode::_get_message |
Definition at line 227 of file mode-private.h.
Referenced by mode_get_message(), and script_mode_parse_setup().
__mode_get_num_entries rofi_mode::_get_num_entries |
Get number of entries to display. (unfiltered).
Definition at line 213 of file mode-private.h.
Referenced by mode_get_num_entries(), run_mode_get_num_entries(), and script_mode_parse_setup().
__mode_init rofi_mode::_init |
A switcher normally consists of the following parts: Initialize the Mode
Definition at line 209 of file mode-private.h.
Referenced by mode_init(), and script_mode_parse_setup().
_mode_preprocess_input rofi_mode::_preprocess_input |
Definition at line 225 of file mode-private.h.
Referenced by mode_preprocess_input(), and script_mode_parse_setup().
_mode_result rofi_mode::_result |
Process the result of the user selection.
Definition at line 215 of file mode-private.h.
Referenced by mode_result(), and script_mode_parse_setup().
_mode_token_match rofi_mode::_token_match |
Token match.
Definition at line 217 of file mode-private.h.
Referenced by mode_token_match(), run_token_match(), and script_mode_parse_setup().
unsigned int rofi_mode::abi_version |
Used for external plugins.
Definition at line 199 of file mode-private.h.
Referenced by rofi_collectmodes_dir().
char rofi_mode::cfg_name_key[128] |
Definition at line 202 of file mode-private.h.
Referenced by mode_set_config().
char* rofi_mode::display_name |
Definition at line 203 of file mode-private.h.
Referenced by dmenu_mode_dialog(), dmenu_mode_init(), mode_get_display_name(), mode_set_config(), and parse_header_entry().
void* rofi_mode::ed |
Extra fields for script
Definition at line 250 of file mode-private.h.
Referenced by execute_executor(), script_mode_parse_setup(), and script_switcher_free().
uint32_t rofi_mode::fallback_icon_fetch_uid |
Fallack icon.
Definition at line 256 of file mode-private.h.
Referenced by mode_get_icon(), and mode_init().
uint32_t rofi_mode::fallback_icon_not_found |
Definition at line 257 of file mode-private.h.
Referenced by mode_get_icon(), and mode_init().
_mode_free rofi_mode::free |
Free SWitcher Only to be used when the switcher object itself is dynamic. And has data in ed
Definition at line 237 of file mode-private.h.
Referenced by script_mode_parse_setup().
GModule* rofi_mode::module |
Module
Definition at line 253 of file mode-private.h.
Referenced by rofi_collectmodes_destroy(), and rofi_collectmodes_dir().
char* rofi_mode::name |
Name (max 31 char long)
Definition at line 201 of file mode-private.h.
Referenced by combi_mgrv(), combi_mode_parse_switchers(), file_browser_mode_init_config(), file_browser_mode_init_current_dir(), file_browser_mode_result(), mode_get_display_name(), mode_get_icon(), mode_get_name(), mode_init(), mode_set_config(), recursive_browser_mode_init_config(), recursive_browser_mode_init_current_dir(), recursive_browser_mode_result(), rofi_collectmodes_add(), script_mode_parse_setup(), and script_switcher_free().
void* rofi_mode::private_data |
Pointer to private data.
Definition at line 230 of file mode-private.h.
Referenced by _get_display_value(), _get_display_value(), create_new_file_browser(), create_new_recursive_browser(), dmenu_finalize(), dmenu_mode_dialog(), execute_executor(), mode_get_private_data(), mode_set_private_data(), parse_header_entry(), run_get_message(), run_mode_destroy(), run_mode_get_num_entries(), run_mode_init(), run_mode_result(), run_token_match(), script_get_message(), script_mode_destroy(), script_mode_get_num_entries(), script_mode_init(), script_mode_reset_highlight(), script_mode_result(), and script_token_match().
ModeType rofi_mode::type |
type
Definition at line 260 of file mode-private.h.
Referenced by mode_completer_result(), mode_init(), mode_is_completer(), and script_mode_parse_setup().