xref: /vim-8.2.3635/src/proto/gui_gtk_x11.pro (revision 4eeedc09)
1/* gui_gtk_x11.c */
2void gui_mch_prepare(int *argc, char **argv);
3void gui_mch_free_all(void);
4int gui_mch_is_blinking(void);
5int gui_mch_is_blink_off(void);
6void gui_mch_set_blinking(long waittime, long on, long off);
7void gui_mch_stop_blink(int may_call_gui_update_cursor);
8void gui_mch_start_blink(void);
9int gui_mch_early_init_check(int give_message);
10int gui_mch_init_check(void);
11void gui_mch_set_dark_theme(int dark);
12void gui_mch_show_tabline(int showit);
13int gui_mch_showing_tabline(void);
14void gui_mch_update_tabline(void);
15void gui_mch_set_curtab(int nr);
16void gui_gtk_set_selection_targets(void);
17void gui_gtk_set_dnd_targets(void);
18int gui_mch_init(void);
19void gui_mch_forked(void);
20void gui_mch_new_colors(void);
21void gui_gtk_get_screen_geom_of_win(GtkWidget *wid, int point_x, int point_y, int *screen_x, int *screen_y, int *width, int *height);
22void gui_mch_get_screen_dimensions(int *screen_w, int *screen_h);
23int gui_mch_open(void);
24void gui_mch_exit(int rc);
25int gui_mch_get_winpos(int *x, int *y);
26void gui_mch_set_winpos(int x, int y);
27int gui_mch_maximized(void);
28void gui_mch_unmaximize(void);
29void gui_mch_newfont(void);
30void gui_mch_set_shellsize(int width, int height, int min_width, int min_height, int base_width, int base_height, int direction);
31void gui_mch_settitle(char_u *title, char_u *icon);
32void gui_mch_enable_menu(int showit);
33void gui_mch_show_toolbar(int showit);
34int gui_mch_adjust_charheight(void);
35char_u *gui_mch_font_dialog(char_u *oldval);
36int gui_mch_init_font(char_u *font_name, int fontset);
37GuiFont gui_mch_get_font(char_u *name, int report_error);
38char_u *gui_mch_get_fontname(GuiFont font, char_u *name);
39void gui_mch_free_font(GuiFont font);
40guicolor_T gui_mch_get_color(char_u *name);
41guicolor_T gui_mch_get_rgb_color(int r, int g, int b);
42void gui_mch_set_fg_color(guicolor_T color);
43void gui_mch_set_bg_color(guicolor_T color);
44void gui_mch_set_sp_color(guicolor_T color);
45int gui_gtk2_draw_string(int row, int col, char_u *s, int len, int flags);
46int gui_gtk2_draw_string_ext(int row, int col, char_u *s, int len, int flags, int force_pango);
47int gui_mch_haskey(char_u *name);
48int gui_get_x11_windis(Window *win, Display **dis);
49Display *gui_mch_get_display(void);
50void gui_mch_beep(void);
51void gui_mch_flash(int msec);
52void gui_mch_invert_rectangle(int r, int c, int nr, int nc);
53void gui_mch_iconify(void);
54void gui_mch_set_foreground(void);
55void gui_mch_draw_hollow_cursor(guicolor_T color);
56void gui_mch_draw_part_cursor(int w, int h, guicolor_T color);
57void gui_mch_update(void);
58int gui_mch_wait_for_chars(long wtime);
59void gui_mch_flush(void);
60void gui_mch_clear_block(int row1arg, int col1arg, int row2arg, int col2arg);
61void gui_mch_clear_all(void);
62void gui_mch_delete_lines(int row, int num_lines);
63void gui_mch_insert_lines(int row, int num_lines);
64void clip_mch_request_selection(Clipboard_T *cbd);
65void clip_mch_lose_selection(Clipboard_T *cbd);
66int clip_mch_own_selection(Clipboard_T *cbd);
67void clip_mch_set_selection(Clipboard_T *cbd);
68int clip_gtk_owner_exists(Clipboard_T *cbd);
69void gui_mch_menu_grey(vimmenu_T *menu, int grey);
70void gui_mch_menu_hidden(vimmenu_T *menu, int hidden);
71void gui_mch_draw_menubar(void);
72void gui_mch_enable_scrollbar(scrollbar_T *sb, int flag);
73guicolor_T gui_mch_get_rgb(guicolor_T pixel);
74void gui_mch_getmouse(int *x, int *y);
75void gui_mch_setmouse(int x, int y);
76void gui_mch_mousehide(int hide);
77void mch_set_mouse_shape(int shape);
78void gui_mch_drawsign(int row, int col, int typenr);
79void *gui_mch_register_sign(char_u *signfile);
80void gui_mch_destroy_sign(void *sign);
81/* vim: set ft=c : */
82