ui_events.in.h
Go to the documentation of this file.
1 #ifndef NVIM_API_UI_EVENTS_IN_H
2 #define NVIM_API_UI_EVENTS_IN_H
3 
4 // This file is not compiled, just parsed for definitons
5 #ifdef INCLUDE_GENERATED_DECLARATIONS
6 # error "don't include this file, include nvim/ui.h"
7 #endif
8 
10 #include "nvim/func_attr.h"
11 #include "nvim/ui.h"
12 
13 void mode_info_set(Boolean enabled, Array cursor_styles)
14  FUNC_API_SINCE(3);
15 void update_menu(void)
16  FUNC_API_SINCE(3);
17 void busy_start(void)
18  FUNC_API_SINCE(3);
19 void busy_stop(void)
20  FUNC_API_SINCE(3);
21 void mouse_on(void)
22  FUNC_API_SINCE(3);
23 void mouse_off(void)
24  FUNC_API_SINCE(3);
25 void mode_change(String mode, Integer mode_idx)
26  FUNC_API_SINCE(3);
27 void bell(void)
28  FUNC_API_SINCE(3);
29 void visual_bell(void)
30  FUNC_API_SINCE(3);
31 void flush(void)
32  FUNC_API_SINCE(3) FUNC_API_REMOTE_IMPL;
33 void suspend(void)
34  FUNC_API_SINCE(3) FUNC_API_BRIDGE_IMPL;
36  FUNC_API_SINCE(3);
37 void set_icon(String icon)
38  FUNC_API_SINCE(3);
39 void option_set(String name, Object value)
40  FUNC_API_SINCE(4) FUNC_API_BRIDGE_IMPL;
41 
42 // First revison of the grid protocol, used by default
43 void update_fg(Integer fg)
44  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
45 void update_bg(Integer bg)
46  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
47 void update_sp(Integer sp)
48  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
49 void resize(Integer width, Integer height)
50  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
51 void clear(void)
52  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
53 void eol_clear(void)
54  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
55 void cursor_goto(Integer row, Integer col)
56  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
57 void highlight_set(HlAttrs attrs)
58  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY FUNC_API_REMOTE_IMPL;
59 void put(String str)
60  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
61 void set_scroll_region(Integer top, Integer bot, Integer left, Integer right)
62  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
63 void scroll(Integer count)
64  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
65 
66 // Second revison of the grid protocol, used with ext_linegrid ui option
67 void default_colors_set(Integer rgb_fg, Integer rgb_bg, Integer rgb_sp,
68  Integer cterm_fg, Integer cterm_bg)
69  FUNC_API_SINCE(4) FUNC_API_REMOTE_IMPL;
70 void hl_attr_define(Integer id, HlAttrs rgb_attrs, HlAttrs cterm_attrs,
71  Array info)
72  FUNC_API_SINCE(5) FUNC_API_REMOTE_IMPL FUNC_API_BRIDGE_IMPL;
73 void grid_resize(Integer grid, Integer width, Integer height)
74  FUNC_API_SINCE(5) FUNC_API_REMOTE_IMPL;
75 void grid_clear(Integer grid)
76  FUNC_API_SINCE(5) FUNC_API_REMOTE_IMPL;
77 void grid_cursor_goto(Integer grid, Integer row, Integer col)
78  FUNC_API_SINCE(5) FUNC_API_REMOTE_IMPL;
79 void grid_line(Integer grid, Integer row, Integer col_start, Array data)
80  FUNC_API_SINCE(5) FUNC_API_REMOTE_ONLY;
81 void grid_scroll(Integer grid, Integer top, Integer bot,
82  Integer left, Integer right, Integer rows, Integer cols)
83  FUNC_API_SINCE(5) FUNC_API_REMOTE_IMPL;
84 void grid_destroy(Integer grid)
85  FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY;
86 
87 void win_pos(Integer grid, Integer win, Integer startrow,
88  Integer startcol, Integer width, Integer height)
89  FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY;
90 void win_hide(Integer grid)
91  FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY;
92 void win_scroll_over_start(void)
93  FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY;
94 void win_scroll_over_reset(void)
95  FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY;
96 
97 void popupmenu_show(Array items, Integer selected,
98  Integer row, Integer col, Integer grid)
99  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
100 void popupmenu_hide(void)
101  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
102 void popupmenu_select(Integer selected)
103  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
104 
105 void tabline_update(Tabpage current, Array tabs)
106  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
107 
108 void cmdline_show(Array content, Integer pos, String firstc, String prompt,
109  Integer indent, Integer level)
110  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
111 void cmdline_pos(Integer pos, Integer level)
112  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
114  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
116  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
117 void cmdline_block_show(Array lines)
118  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
119 void cmdline_block_append(Array lines)
120  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
121 void cmdline_block_hide(void)
122  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
123 
124 void wildmenu_show(Array items)
125  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
126 void wildmenu_select(Integer selected)
127  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
128 void wildmenu_hide(void)
129  FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
130 #endif // NVIM_API_UI_EVENTS_IN_H
void resize(Integer width, Integer height) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void win_pos(Integer grid, Integer win, Integer startrow, Integer startcol, Integer width, Integer height) FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY
void default_colors_set(Integer rgb_fg, Integer rgb_bg, Integer rgb_sp, Integer cterm_fg, Integer cterm_bg) FUNC_API_SINCE(4) FUNC_API_REMOTE_IMPL
void scroll(Integer count) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void popupmenu_select(Integer selected) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void cmdline_block_show(Array lines) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void update_bg(Integer bg) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void popupmenu_show(Array items, Integer selected, Integer row, Integer col, Integer grid) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void wildmenu_select(Integer selected) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
Definition: defs.h:77
void popupmenu_hide(void) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void bell(void) FUNC_API_SINCE(3)
void cmdline_hide(Integer level) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void set_title(String title) FUNC_API_SINCE(3)
void wildmenu_show(Array items) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
bool Boolean
Definition: defs.h:67
void update_sp(Integer sp) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
Definition: highlight_defs.h:24
Definition: defs.h:114
void clear(void) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void grid_scroll(Integer grid, Integer top, Integer bot, Integer left, Integer right, Integer rows, Integer cols) FUNC_API_SINCE(5) FUNC_API_REMOTE_IMPL
void hl_attr_define(Integer id, HlAttrs rgb_attrs, HlAttrs cterm_attrs, Array info) FUNC_API_SINCE(5) FUNC_API_REMOTE_IMPL FUNC_API_BRIDGE_IMPL
void mode_info_set(Boolean enabled, Array cursor_styles) FUNC_API_SINCE(3)
void mouse_on(void) FUNC_API_SINCE(3)
static void const char * title
Definition: eval.c:14695
void busy_stop(void) FUNC_API_SINCE(3)
fc level
Definition: eval.c:21373
void mouse_off(void) FUNC_API_SINCE(3)
void update_fg(Integer fg) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void suspend(void) FUNC_API_SINCE(3) FUNC_API_BRIDGE_IMPL
void option_set(String name, Object value) FUNC_API_SINCE(4) FUNC_API_BRIDGE_IMPL
void tabline_update(Tabpage current, Array tabs) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void busy_start(void) FUNC_API_SINCE(3)
void cmdline_block_append(Array lines) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
Definition: defs.h:88
void win_scroll_over_reset(void) FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY
void grid_resize(Integer grid, Integer width, Integer height) FUNC_API_SINCE(5) FUNC_API_REMOTE_IMPL
void grid_cursor_goto(Integer grid, Integer row, Integer col) FUNC_API_SINCE(5) FUNC_API_REMOTE_IMPL
int64_t Integer
Definition: defs.h:68
char * name
Definition: eval.c:1850
void win_scroll_over_start(void) FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY
void visual_bell(void) FUNC_API_SINCE(3)
void eol_clear(void) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void update_menu(void) FUNC_API_SINCE(3)
void highlight_set(HlAttrs attrs) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY FUNC_API_REMOTE_IMPL
void set_scroll_region(Integer top, Integer bot, Integer left, Integer right) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void cmdline_show(Array content, Integer pos, String firstc, String prompt, Integer indent, Integer level) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void cmdline_special_char(String c, Boolean shift, Integer level) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void cmdline_block_hide(void) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void mode_change(String mode, Integer mode_idx) FUNC_API_SINCE(3)
void flush(void) FUNC_API_SINCE(3) FUNC_API_REMOTE_IMPL
void grid_clear(Integer grid) FUNC_API_SINCE(5) FUNC_API_REMOTE_IMPL
void wildmenu_hide(void) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void cursor_goto(Integer row, Integer col) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void grid_destroy(Integer grid) FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY
void put(String str) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY
void win_hide(Integer grid) FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY
void grid_line(Integer grid, Integer row, Integer col_start, Array data) FUNC_API_SINCE(5) FUNC_API_REMOTE_ONLY
void set_icon(String icon) FUNC_API_SINCE(3)
void cmdline_pos(Integer pos, Integer level) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY