ELinks 0.16.1.1
|
Macros | |
#define | get_current_tab(term) |
#define | inactive_tab(win) |
#define | foreach_tab(tab, terminal) |
#define | foreachback_tab(tab, terminal) |
Functions | |
struct window * | init_tab (struct terminal *term, void *data, window_handler_T handler) |
int | tabs_are_on_top (struct terminal *) |
If the topmost window is a tab, return 1; else, return 0. | |
int | number_of_tabs (struct terminal *) |
Number of tabs at the terminal (in term->windows) | |
int | get_tab_number (struct window *) |
Number of tab. | |
int | get_tab_number_by_xpos (struct terminal *term, int xpos) |
Returns number of the tab at xpos, or -1 if none. | |
struct window * | get_tab_by_number (struct terminal *, int) |
Get tab of an according index. | |
void | switch_to_tab (struct terminal *, int, int) |
void | switch_current_tab (struct session *ses, int direction) |
void | close_tab (struct terminal *, struct session *) |
void | close_all_tabs_but_current (struct session *ses) |
void | open_uri_in_new_tab (struct session *ses, struct uri *uri, int in_background, int based) |
void | delayed_open (void *) |
void | open_current_link_in_new_tab (struct session *ses, int in_background) |
void | move_current_tab (struct session *ses, int direction) |
#define foreach_tab | ( | tab, | |
terminal ) |
#define foreachback_tab | ( | tab, | |
terminal ) |
#define get_current_tab | ( | term | ) |
#define inactive_tab | ( | win | ) |
void close_all_tabs_but_current | ( | struct session * | ses | ) |
void delayed_open | ( | void * | data | ) |
Get tab of an according index.
int get_tab_number | ( | struct window * | window | ) |
Number of tab.
int get_tab_number_by_xpos | ( | struct terminal * | term, |
int | xpos ) |
Returns number of the tab at xpos, or -1 if none.
struct window * init_tab | ( | struct terminal * | term, |
void * | data, | ||
window_handler_T | handler ) |
void move_current_tab | ( | struct session * | ses, |
int | direction ) |
int number_of_tabs | ( | struct terminal * | term | ) |
Number of tabs at the terminal (in term->windows)
void open_current_link_in_new_tab | ( | struct session * | ses, |
int | in_background ) |
void switch_current_tab | ( | struct session * | ses, |
int | direction ) |
void switch_to_tab | ( | struct terminal * | term, |
int | tab, | ||
int | tabs_count ) |
If tabs_count > 0, then it is taken as the result of a recent call to number_of_tabs() so it just uses this value.
int tabs_are_on_top | ( | struct terminal * | term | ) |
If the topmost window is a tab, return 1; else, return 0.