1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
18  */
19 
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 
25 module vtec.vte;
26 
27 import std.stdio;
28 import vtec.vtetypes;
29 import gtkd.Loader;
30 
31 version (Windows)
32 	static immutable LIBRARY_VTE = ["libvte-2.91-0.dll"];
33 else version (OSX)
34 	static immutable LIBRARY_VTE = ["libvte-2.91.0.dylib"];
35 else
36 	static immutable LIBRARY_VTE = ["libvte-2.91.so.0"];
37 
38 shared static this()
39 {
40 	// vte.Pty
41 
42 	Linker.link(vte_pty_get_type, "vte_pty_get_type", LIBRARY_VTE);
43 	Linker.link(vte_pty_new_foreign_sync, "vte_pty_new_foreign_sync", LIBRARY_VTE);
44 	Linker.link(vte_pty_new_sync, "vte_pty_new_sync", LIBRARY_VTE);
45 	Linker.link(vte_pty_child_setup, "vte_pty_child_setup", LIBRARY_VTE);
46 	Linker.link(vte_pty_close, "vte_pty_close", LIBRARY_VTE);
47 	Linker.link(vte_pty_get_fd, "vte_pty_get_fd", LIBRARY_VTE);
48 	Linker.link(vte_pty_get_size, "vte_pty_get_size", LIBRARY_VTE);
49 	Linker.link(vte_pty_set_size, "vte_pty_set_size", LIBRARY_VTE);
50 	Linker.link(vte_pty_set_utf8, "vte_pty_set_utf8", LIBRARY_VTE);
51 	Linker.link(vte_pty_spawn_async, "vte_pty_spawn_async", LIBRARY_VTE);
52 	Linker.link(vte_pty_spawn_finish, "vte_pty_spawn_finish", LIBRARY_VTE);
53 
54 	// vte.Regex
55 
56 	Linker.link(vte_regex_get_type, "vte_regex_get_type", LIBRARY_VTE);
57 	Linker.link(vte_regex_new_for_match, "vte_regex_new_for_match", LIBRARY_VTE);
58 	Linker.link(vte_regex_new_for_search, "vte_regex_new_for_search", LIBRARY_VTE);
59 	Linker.link(vte_regex_jit, "vte_regex_jit", LIBRARY_VTE);
60 	Linker.link(vte_regex_ref, "vte_regex_ref", LIBRARY_VTE);
61 	Linker.link(vte_regex_unref, "vte_regex_unref", LIBRARY_VTE);
62 
63 	// vte.Terminal
64 
65 	Linker.link(vte_terminal_get_type, "vte_terminal_get_type", LIBRARY_VTE);
66 	Linker.link(vte_terminal_new, "vte_terminal_new", LIBRARY_VTE);
67 	Linker.link(vte_terminal_copy_clipboard, "vte_terminal_copy_clipboard", LIBRARY_VTE);
68 	Linker.link(vte_terminal_copy_primary, "vte_terminal_copy_primary", LIBRARY_VTE);
69 	Linker.link(vte_terminal_event_check_gregex_simple, "vte_terminal_event_check_gregex_simple", LIBRARY_VTE);
70 	Linker.link(vte_terminal_event_check_regex_simple, "vte_terminal_event_check_regex_simple", LIBRARY_VTE);
71 	Linker.link(vte_terminal_feed, "vte_terminal_feed", LIBRARY_VTE);
72 	Linker.link(vte_terminal_feed_child, "vte_terminal_feed_child", LIBRARY_VTE);
73 	Linker.link(vte_terminal_feed_child_binary, "vte_terminal_feed_child_binary", LIBRARY_VTE);
74 	Linker.link(vte_terminal_get_allow_bold, "vte_terminal_get_allow_bold", LIBRARY_VTE);
75 	Linker.link(vte_terminal_get_audible_bell, "vte_terminal_get_audible_bell", LIBRARY_VTE);
76 	Linker.link(vte_terminal_get_char_height, "vte_terminal_get_char_height", LIBRARY_VTE);
77 	Linker.link(vte_terminal_get_char_width, "vte_terminal_get_char_width", LIBRARY_VTE);
78 	Linker.link(vte_terminal_get_cjk_ambiguous_width, "vte_terminal_get_cjk_ambiguous_width", LIBRARY_VTE);
79 	Linker.link(vte_terminal_get_column_count, "vte_terminal_get_column_count", LIBRARY_VTE);
80 	Linker.link(vte_terminal_get_current_directory_uri, "vte_terminal_get_current_directory_uri", LIBRARY_VTE);
81 	Linker.link(vte_terminal_get_current_file_uri, "vte_terminal_get_current_file_uri", LIBRARY_VTE);
82 	Linker.link(vte_terminal_get_cursor_blink_mode, "vte_terminal_get_cursor_blink_mode", LIBRARY_VTE);
83 	Linker.link(vte_terminal_get_cursor_position, "vte_terminal_get_cursor_position", LIBRARY_VTE);
84 	Linker.link(vte_terminal_get_cursor_shape, "vte_terminal_get_cursor_shape", LIBRARY_VTE);
85 	Linker.link(vte_terminal_get_encoding, "vte_terminal_get_encoding", LIBRARY_VTE);
86 	Linker.link(vte_terminal_get_font, "vte_terminal_get_font", LIBRARY_VTE);
87 	Linker.link(vte_terminal_get_font_scale, "vte_terminal_get_font_scale", LIBRARY_VTE);
88 	Linker.link(vte_terminal_get_geometry_hints, "vte_terminal_get_geometry_hints", LIBRARY_VTE);
89 	Linker.link(vte_terminal_get_has_selection, "vte_terminal_get_has_selection", LIBRARY_VTE);
90 	Linker.link(vte_terminal_get_icon_title, "vte_terminal_get_icon_title", LIBRARY_VTE);
91 	Linker.link(vte_terminal_get_input_enabled, "vte_terminal_get_input_enabled", LIBRARY_VTE);
92 	Linker.link(vte_terminal_get_mouse_autohide, "vte_terminal_get_mouse_autohide", LIBRARY_VTE);
93 	Linker.link(vte_terminal_get_pty, "vte_terminal_get_pty", LIBRARY_VTE);
94 	Linker.link(vte_terminal_get_rewrap_on_resize, "vte_terminal_get_rewrap_on_resize", LIBRARY_VTE);
95 	Linker.link(vte_terminal_get_row_count, "vte_terminal_get_row_count", LIBRARY_VTE);
96 	Linker.link(vte_terminal_get_text, "vte_terminal_get_text", LIBRARY_VTE);
97 	Linker.link(vte_terminal_get_text_include_trailing_spaces, "vte_terminal_get_text_include_trailing_spaces", LIBRARY_VTE);
98 	Linker.link(vte_terminal_get_text_range, "vte_terminal_get_text_range", LIBRARY_VTE);
99 	Linker.link(vte_terminal_get_window_title, "vte_terminal_get_window_title", LIBRARY_VTE);
100 	Linker.link(vte_terminal_get_word_char_exceptions, "vte_terminal_get_word_char_exceptions", LIBRARY_VTE);
101 	Linker.link(vte_terminal_match_add_gregex, "vte_terminal_match_add_gregex", LIBRARY_VTE);
102 	Linker.link(vte_terminal_match_add_regex, "vte_terminal_match_add_regex", LIBRARY_VTE);
103 	Linker.link(vte_terminal_match_check, "vte_terminal_match_check", LIBRARY_VTE);
104 	Linker.link(vte_terminal_match_check_event, "vte_terminal_match_check_event", LIBRARY_VTE);
105 	Linker.link(vte_terminal_match_remove, "vte_terminal_match_remove", LIBRARY_VTE);
106 	Linker.link(vte_terminal_match_remove_all, "vte_terminal_match_remove_all", LIBRARY_VTE);
107 	Linker.link(vte_terminal_match_set_cursor, "vte_terminal_match_set_cursor", LIBRARY_VTE);
108 	Linker.link(vte_terminal_match_set_cursor_name, "vte_terminal_match_set_cursor_name", LIBRARY_VTE);
109 	Linker.link(vte_terminal_match_set_cursor_type, "vte_terminal_match_set_cursor_type", LIBRARY_VTE);
110 	Linker.link(vte_terminal_paste_clipboard, "vte_terminal_paste_clipboard", LIBRARY_VTE);
111 	Linker.link(vte_terminal_paste_primary, "vte_terminal_paste_primary", LIBRARY_VTE);
112 	Linker.link(vte_terminal_pty_new_sync, "vte_terminal_pty_new_sync", LIBRARY_VTE);
113 	Linker.link(vte_terminal_reset, "vte_terminal_reset", LIBRARY_VTE);
114 	Linker.link(vte_terminal_search_find_next, "vte_terminal_search_find_next", LIBRARY_VTE);
115 	Linker.link(vte_terminal_search_find_previous, "vte_terminal_search_find_previous", LIBRARY_VTE);
116 	Linker.link(vte_terminal_search_get_gregex, "vte_terminal_search_get_gregex", LIBRARY_VTE);
117 	Linker.link(vte_terminal_search_get_regex, "vte_terminal_search_get_regex", LIBRARY_VTE);
118 	Linker.link(vte_terminal_search_get_wrap_around, "vte_terminal_search_get_wrap_around", LIBRARY_VTE);
119 	Linker.link(vte_terminal_search_set_gregex, "vte_terminal_search_set_gregex", LIBRARY_VTE);
120 	Linker.link(vte_terminal_search_set_regex, "vte_terminal_search_set_regex", LIBRARY_VTE);
121 	Linker.link(vte_terminal_search_set_wrap_around, "vte_terminal_search_set_wrap_around", LIBRARY_VTE);
122 	Linker.link(vte_terminal_select_all, "vte_terminal_select_all", LIBRARY_VTE);
123 	Linker.link(vte_terminal_set_allow_bold, "vte_terminal_set_allow_bold", LIBRARY_VTE);
124 	Linker.link(vte_terminal_set_audible_bell, "vte_terminal_set_audible_bell", LIBRARY_VTE);
125 	Linker.link(vte_terminal_set_backspace_binding, "vte_terminal_set_backspace_binding", LIBRARY_VTE);
126 	Linker.link(vte_terminal_set_cjk_ambiguous_width, "vte_terminal_set_cjk_ambiguous_width", LIBRARY_VTE);
127 	Linker.link(vte_terminal_set_color_background, "vte_terminal_set_color_background", LIBRARY_VTE);
128 	Linker.link(vte_terminal_set_color_bold, "vte_terminal_set_color_bold", LIBRARY_VTE);
129 	Linker.link(vte_terminal_set_color_cursor, "vte_terminal_set_color_cursor", LIBRARY_VTE);
130 	Linker.link(vte_terminal_set_color_cursor_foreground, "vte_terminal_set_color_cursor_foreground", LIBRARY_VTE);
131 	Linker.link(vte_terminal_set_color_foreground, "vte_terminal_set_color_foreground", LIBRARY_VTE);
132 	Linker.link(vte_terminal_set_color_highlight, "vte_terminal_set_color_highlight", LIBRARY_VTE);
133 	Linker.link(vte_terminal_set_color_highlight_foreground, "vte_terminal_set_color_highlight_foreground", LIBRARY_VTE);
134 	Linker.link(vte_terminal_set_colors, "vte_terminal_set_colors", LIBRARY_VTE);
135 	Linker.link(vte_terminal_set_cursor_blink_mode, "vte_terminal_set_cursor_blink_mode", LIBRARY_VTE);
136 	Linker.link(vte_terminal_set_cursor_shape, "vte_terminal_set_cursor_shape", LIBRARY_VTE);
137 	Linker.link(vte_terminal_set_default_colors, "vte_terminal_set_default_colors", LIBRARY_VTE);
138 	Linker.link(vte_terminal_set_delete_binding, "vte_terminal_set_delete_binding", LIBRARY_VTE);
139 	Linker.link(vte_terminal_set_encoding, "vte_terminal_set_encoding", LIBRARY_VTE);
140 	Linker.link(vte_terminal_set_font, "vte_terminal_set_font", LIBRARY_VTE);
141 	Linker.link(vte_terminal_set_font_scale, "vte_terminal_set_font_scale", LIBRARY_VTE);
142 	Linker.link(vte_terminal_set_geometry_hints_for_window, "vte_terminal_set_geometry_hints_for_window", LIBRARY_VTE);
143 	Linker.link(vte_terminal_set_input_enabled, "vte_terminal_set_input_enabled", LIBRARY_VTE);
144 	Linker.link(vte_terminal_set_mouse_autohide, "vte_terminal_set_mouse_autohide", LIBRARY_VTE);
145 	Linker.link(vte_terminal_set_pty, "vte_terminal_set_pty", LIBRARY_VTE);
146 	Linker.link(vte_terminal_set_rewrap_on_resize, "vte_terminal_set_rewrap_on_resize", LIBRARY_VTE);
147 	Linker.link(vte_terminal_set_scroll_on_keystroke, "vte_terminal_set_scroll_on_keystroke", LIBRARY_VTE);
148 	Linker.link(vte_terminal_set_scroll_on_output, "vte_terminal_set_scroll_on_output", LIBRARY_VTE);
149 	Linker.link(vte_terminal_set_scrollback_lines, "vte_terminal_set_scrollback_lines", LIBRARY_VTE);
150 	Linker.link(vte_terminal_set_size, "vte_terminal_set_size", LIBRARY_VTE);
151 	Linker.link(vte_terminal_set_word_char_exceptions, "vte_terminal_set_word_char_exceptions", LIBRARY_VTE);
152 	Linker.link(vte_terminal_spawn_async, "vte_terminal_spawn_async", LIBRARY_VTE);
153 	Linker.link(vte_terminal_spawn_sync, "vte_terminal_spawn_sync", LIBRARY_VTE);
154 	Linker.link(vte_terminal_unselect_all, "vte_terminal_unselect_all", LIBRARY_VTE);
155 	Linker.link(vte_terminal_watch_child, "vte_terminal_watch_child", LIBRARY_VTE);
156 	Linker.link(vte_terminal_write_contents_sync, "vte_terminal_write_contents_sync", LIBRARY_VTE);
157 	Linker.link(vte_get_user_shell, "vte_get_user_shell", LIBRARY_VTE);
158 
159 	// vte.Version
160 
161 	Linker.link(vte_get_features, "vte_get_features", LIBRARY_VTE);
162 	Linker.link(vte_get_major_version, "vte_get_major_version", LIBRARY_VTE);
163 	Linker.link(vte_get_micro_version, "vte_get_micro_version", LIBRARY_VTE);
164 	Linker.link(vte_get_minor_version, "vte_get_minor_version", LIBRARY_VTE);
165 }
166 
167 __gshared extern(C)
168 {
169 
170 	// vte.Pty
171 
172 	GType function() c_vte_pty_get_type;
173 	VtePty* function(int fd, GCancellable* cancellable, GError** err) c_vte_pty_new_foreign_sync;
174 	VtePty* function(VtePtyFlags flags, GCancellable* cancellable, GError** err) c_vte_pty_new_sync;
175 	void function(VtePty* pty) c_vte_pty_child_setup;
176 	void function(VtePty* pty) c_vte_pty_close;
177 	int function(VtePty* pty) c_vte_pty_get_fd;
178 	int function(VtePty* pty, int* rows, int* columns, GError** err) c_vte_pty_get_size;
179 	int function(VtePty* pty, int rows, int columns, GError** err) c_vte_pty_set_size;
180 	int function(VtePty* pty, int utf8, GError** err) c_vte_pty_set_utf8;
181 	void function(VtePty* pty, const(char)* workingDirectory, char** argv, char** envv, GSpawnFlags spawnFlags, GSpawnChildSetupFunc childSetup, void* childSetupData, GDestroyNotify childSetupDataDestroy, int timeout, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) c_vte_pty_spawn_async;
182 	int function(VtePty* pty, GAsyncResult* result, GPid* childPid, GError** err) c_vte_pty_spawn_finish;
183 
184 	// vte.Regex
185 
186 	GType function() c_vte_regex_get_type;
187 	VteRegex* function(const(char)* pattern, ptrdiff_t patternLength, uint flags, GError** err) c_vte_regex_new_for_match;
188 	VteRegex* function(const(char)* pattern, ptrdiff_t patternLength, uint flags, GError** err) c_vte_regex_new_for_search;
189 	int function(VteRegex* regex, uint flags, GError** err) c_vte_regex_jit;
190 	VteRegex* function(VteRegex* regex) c_vte_regex_ref;
191 	VteRegex* function(VteRegex* regex) c_vte_regex_unref;
192 
193 	// vte.Terminal
194 
195 	GType function() c_vte_terminal_get_type;
196 	GtkWidget* function() c_vte_terminal_new;
197 	void function(VteTerminal* terminal) c_vte_terminal_copy_clipboard;
198 	void function(VteTerminal* terminal) c_vte_terminal_copy_primary;
199 	int function(VteTerminal* terminal, GdkEvent* event, GRegex** regexes, size_t nRegexes, GRegexMatchFlags matchFlags, char** matches) c_vte_terminal_event_check_gregex_simple;
200 	int function(VteTerminal* terminal, GdkEvent* event, VteRegex** regexes, size_t nRegexes, uint matchFlags, char** matches) c_vte_terminal_event_check_regex_simple;
201 	void function(VteTerminal* terminal, char* data, ptrdiff_t length) c_vte_terminal_feed;
202 	void function(VteTerminal* terminal, const(char)* text, ptrdiff_t length) c_vte_terminal_feed_child;
203 	void function(VteTerminal* terminal, ubyte* data, size_t length) c_vte_terminal_feed_child_binary;
204 	int function(VteTerminal* terminal) c_vte_terminal_get_allow_bold;
205 	int function(VteTerminal* terminal) c_vte_terminal_get_audible_bell;
206 	glong function(VteTerminal* terminal) c_vte_terminal_get_char_height;
207 	glong function(VteTerminal* terminal) c_vte_terminal_get_char_width;
208 	int function(VteTerminal* terminal) c_vte_terminal_get_cjk_ambiguous_width;
209 	glong function(VteTerminal* terminal) c_vte_terminal_get_column_count;
210 	const(char)* function(VteTerminal* terminal) c_vte_terminal_get_current_directory_uri;
211 	const(char)* function(VteTerminal* terminal) c_vte_terminal_get_current_file_uri;
212 	VteCursorBlinkMode function(VteTerminal* terminal) c_vte_terminal_get_cursor_blink_mode;
213 	void function(VteTerminal* terminal, glong* column, glong* row) c_vte_terminal_get_cursor_position;
214 	VteCursorShape function(VteTerminal* terminal) c_vte_terminal_get_cursor_shape;
215 	const(char)* function(VteTerminal* terminal) c_vte_terminal_get_encoding;
216 	PangoFontDescription* function(VteTerminal* terminal) c_vte_terminal_get_font;
217 	double function(VteTerminal* terminal) c_vte_terminal_get_font_scale;
218 	void function(VteTerminal* terminal, GdkGeometry* hints, int minRows, int minColumns) c_vte_terminal_get_geometry_hints;
219 	int function(VteTerminal* terminal) c_vte_terminal_get_has_selection;
220 	const(char)* function(VteTerminal* terminal) c_vte_terminal_get_icon_title;
221 	int function(VteTerminal* terminal) c_vte_terminal_get_input_enabled;
222 	int function(VteTerminal* terminal) c_vte_terminal_get_mouse_autohide;
223 	VtePty* function(VteTerminal* terminal) c_vte_terminal_get_pty;
224 	int function(VteTerminal* terminal) c_vte_terminal_get_rewrap_on_resize;
225 	glong function(VteTerminal* terminal) c_vte_terminal_get_row_count;
226 	char* function(VteTerminal* terminal, VteSelectionFunc isSelected, void* userData, GArray* attributes) c_vte_terminal_get_text;
227 	char* function(VteTerminal* terminal, VteSelectionFunc isSelected, void* userData, GArray* attributes) c_vte_terminal_get_text_include_trailing_spaces;
228 	char* function(VteTerminal* terminal, glong startRow, glong startCol, glong endRow, glong endCol, VteSelectionFunc isSelected, void* userData, GArray* attributes) c_vte_terminal_get_text_range;
229 	const(char)* function(VteTerminal* terminal) c_vte_terminal_get_window_title;
230 	const(char)* function(VteTerminal* terminal) c_vte_terminal_get_word_char_exceptions;
231 	int function(VteTerminal* terminal, GRegex* gregex, GRegexMatchFlags gflags) c_vte_terminal_match_add_gregex;
232 	int function(VteTerminal* terminal, VteRegex* regex, uint flags) c_vte_terminal_match_add_regex;
233 	char* function(VteTerminal* terminal, glong column, glong row, int* tag) c_vte_terminal_match_check;
234 	char* function(VteTerminal* terminal, GdkEvent* event, int* tag) c_vte_terminal_match_check_event;
235 	void function(VteTerminal* terminal, int tag) c_vte_terminal_match_remove;
236 	void function(VteTerminal* terminal) c_vte_terminal_match_remove_all;
237 	void function(VteTerminal* terminal, int tag, GdkCursor* cursor) c_vte_terminal_match_set_cursor;
238 	void function(VteTerminal* terminal, int tag, const(char)* cursorName) c_vte_terminal_match_set_cursor_name;
239 	void function(VteTerminal* terminal, int tag, GdkCursorType cursorType) c_vte_terminal_match_set_cursor_type;
240 	void function(VteTerminal* terminal) c_vte_terminal_paste_clipboard;
241 	void function(VteTerminal* terminal) c_vte_terminal_paste_primary;
242 	VtePty* function(VteTerminal* terminal, VtePtyFlags flags, GCancellable* cancellable, GError** err) c_vte_terminal_pty_new_sync;
243 	void function(VteTerminal* terminal, int clearTabstops, int clearHistory) c_vte_terminal_reset;
244 	int function(VteTerminal* terminal) c_vte_terminal_search_find_next;
245 	int function(VteTerminal* terminal) c_vte_terminal_search_find_previous;
246 	GRegex* function(VteTerminal* terminal) c_vte_terminal_search_get_gregex;
247 	VteRegex* function(VteTerminal* terminal) c_vte_terminal_search_get_regex;
248 	int function(VteTerminal* terminal) c_vte_terminal_search_get_wrap_around;
249 	void function(VteTerminal* terminal, GRegex* gregex, GRegexMatchFlags gflags) c_vte_terminal_search_set_gregex;
250 	void function(VteTerminal* terminal, VteRegex* regex, uint flags) c_vte_terminal_search_set_regex;
251 	void function(VteTerminal* terminal, int wrapAround) c_vte_terminal_search_set_wrap_around;
252 	void function(VteTerminal* terminal) c_vte_terminal_select_all;
253 	void function(VteTerminal* terminal, int allowBold) c_vte_terminal_set_allow_bold;
254 	void function(VteTerminal* terminal, int isAudible) c_vte_terminal_set_audible_bell;
255 	void function(VteTerminal* terminal, VteEraseBinding binding) c_vte_terminal_set_backspace_binding;
256 	void function(VteTerminal* terminal, int width) c_vte_terminal_set_cjk_ambiguous_width;
257 	void function(VteTerminal* terminal, GdkRGBA* background) c_vte_terminal_set_color_background;
258 	void function(VteTerminal* terminal, GdkRGBA* bold) c_vte_terminal_set_color_bold;
259 	void function(VteTerminal* terminal, GdkRGBA* cursorBackground) c_vte_terminal_set_color_cursor;
260 	void function(VteTerminal* terminal, GdkRGBA* cursorForeground) c_vte_terminal_set_color_cursor_foreground;
261 	void function(VteTerminal* terminal, GdkRGBA* foreground) c_vte_terminal_set_color_foreground;
262 	void function(VteTerminal* terminal, GdkRGBA* highlightBackground) c_vte_terminal_set_color_highlight;
263 	void function(VteTerminal* terminal, GdkRGBA* highlightForeground) c_vte_terminal_set_color_highlight_foreground;
264 	void function(VteTerminal* terminal, GdkRGBA* foreground, GdkRGBA* background, GdkRGBA* palette, size_t paletteSize) c_vte_terminal_set_colors;
265 	void function(VteTerminal* terminal, VteCursorBlinkMode mode) c_vte_terminal_set_cursor_blink_mode;
266 	void function(VteTerminal* terminal, VteCursorShape shape) c_vte_terminal_set_cursor_shape;
267 	void function(VteTerminal* terminal) c_vte_terminal_set_default_colors;
268 	void function(VteTerminal* terminal, VteEraseBinding binding) c_vte_terminal_set_delete_binding;
269 	int function(VteTerminal* terminal, const(char)* codeset, GError** err) c_vte_terminal_set_encoding;
270 	void function(VteTerminal* terminal, PangoFontDescription* fontDesc) c_vte_terminal_set_font;
271 	void function(VteTerminal* terminal, double scale) c_vte_terminal_set_font_scale;
272 	void function(VteTerminal* terminal, GtkWindow* window) c_vte_terminal_set_geometry_hints_for_window;
273 	void function(VteTerminal* terminal, int enabled) c_vte_terminal_set_input_enabled;
274 	void function(VteTerminal* terminal, int setting) c_vte_terminal_set_mouse_autohide;
275 	void function(VteTerminal* terminal, VtePty* pty) c_vte_terminal_set_pty;
276 	void function(VteTerminal* terminal, int rewrap) c_vte_terminal_set_rewrap_on_resize;
277 	void function(VteTerminal* terminal, int scroll) c_vte_terminal_set_scroll_on_keystroke;
278 	void function(VteTerminal* terminal, int scroll) c_vte_terminal_set_scroll_on_output;
279 	void function(VteTerminal* terminal, glong lines) c_vte_terminal_set_scrollback_lines;
280 	void function(VteTerminal* terminal, glong columns, glong rows) c_vte_terminal_set_size;
281 	void function(VteTerminal* terminal, const(char)* exceptions) c_vte_terminal_set_word_char_exceptions;
282 	void function(VteTerminal* terminal, VtePtyFlags ptyFlags, const(char)* workingDirectory, char** argv, char** envv, GSpawnFlags spawnFlags, GSpawnChildSetupFunc childSetup, void* childSetupData, GDestroyNotify childSetupDataDestroy, int timeout, GCancellable* cancellable, VteTerminalSpawnAsyncCallback callback, void* userData) c_vte_terminal_spawn_async;
283 	int function(VteTerminal* terminal, VtePtyFlags ptyFlags, const(char)* workingDirectory, char** argv, char** envv, GSpawnFlags spawnFlags, GSpawnChildSetupFunc childSetup, void* childSetupData, GPid* childPid, GCancellable* cancellable, GError** err) c_vte_terminal_spawn_sync;
284 	void function(VteTerminal* terminal) c_vte_terminal_unselect_all;
285 	void function(VteTerminal* terminal, GPid childPid) c_vte_terminal_watch_child;
286 	int function(VteTerminal* terminal, GOutputStream* stream, VteWriteFlags flags, GCancellable* cancellable, GError** err) c_vte_terminal_write_contents_sync;
287 	char* function() c_vte_get_user_shell;
288 
289 	// vte.Version
290 
291 	const(char)* function() c_vte_get_features;
292 	uint function() c_vte_get_major_version;
293 	uint function() c_vte_get_micro_version;
294 	uint function() c_vte_get_minor_version;
295 }
296 
297 
298 // vte.Pty
299 
300 alias c_vte_pty_get_type vte_pty_get_type;
301 alias c_vte_pty_new_foreign_sync vte_pty_new_foreign_sync;
302 alias c_vte_pty_new_sync vte_pty_new_sync;
303 alias c_vte_pty_child_setup vte_pty_child_setup;
304 alias c_vte_pty_close vte_pty_close;
305 alias c_vte_pty_get_fd vte_pty_get_fd;
306 alias c_vte_pty_get_size vte_pty_get_size;
307 alias c_vte_pty_set_size vte_pty_set_size;
308 alias c_vte_pty_set_utf8 vte_pty_set_utf8;
309 alias c_vte_pty_spawn_async vte_pty_spawn_async;
310 alias c_vte_pty_spawn_finish vte_pty_spawn_finish;
311 
312 // vte.Regex
313 
314 alias c_vte_regex_get_type vte_regex_get_type;
315 alias c_vte_regex_new_for_match vte_regex_new_for_match;
316 alias c_vte_regex_new_for_search vte_regex_new_for_search;
317 alias c_vte_regex_jit vte_regex_jit;
318 alias c_vte_regex_ref vte_regex_ref;
319 alias c_vte_regex_unref vte_regex_unref;
320 
321 // vte.Terminal
322 
323 alias c_vte_terminal_get_type vte_terminal_get_type;
324 alias c_vte_terminal_new vte_terminal_new;
325 alias c_vte_terminal_copy_clipboard vte_terminal_copy_clipboard;
326 alias c_vte_terminal_copy_primary vte_terminal_copy_primary;
327 alias c_vte_terminal_event_check_gregex_simple vte_terminal_event_check_gregex_simple;
328 alias c_vte_terminal_event_check_regex_simple vte_terminal_event_check_regex_simple;
329 alias c_vte_terminal_feed vte_terminal_feed;
330 alias c_vte_terminal_feed_child vte_terminal_feed_child;
331 alias c_vte_terminal_feed_child_binary vte_terminal_feed_child_binary;
332 alias c_vte_terminal_get_allow_bold vte_terminal_get_allow_bold;
333 alias c_vte_terminal_get_audible_bell vte_terminal_get_audible_bell;
334 alias c_vte_terminal_get_char_height vte_terminal_get_char_height;
335 alias c_vte_terminal_get_char_width vte_terminal_get_char_width;
336 alias c_vte_terminal_get_cjk_ambiguous_width vte_terminal_get_cjk_ambiguous_width;
337 alias c_vte_terminal_get_column_count vte_terminal_get_column_count;
338 alias c_vte_terminal_get_current_directory_uri vte_terminal_get_current_directory_uri;
339 alias c_vte_terminal_get_current_file_uri vte_terminal_get_current_file_uri;
340 alias c_vte_terminal_get_cursor_blink_mode vte_terminal_get_cursor_blink_mode;
341 alias c_vte_terminal_get_cursor_position vte_terminal_get_cursor_position;
342 alias c_vte_terminal_get_cursor_shape vte_terminal_get_cursor_shape;
343 alias c_vte_terminal_get_encoding vte_terminal_get_encoding;
344 alias c_vte_terminal_get_font vte_terminal_get_font;
345 alias c_vte_terminal_get_font_scale vte_terminal_get_font_scale;
346 alias c_vte_terminal_get_geometry_hints vte_terminal_get_geometry_hints;
347 alias c_vte_terminal_get_has_selection vte_terminal_get_has_selection;
348 alias c_vte_terminal_get_icon_title vte_terminal_get_icon_title;
349 alias c_vte_terminal_get_input_enabled vte_terminal_get_input_enabled;
350 alias c_vte_terminal_get_mouse_autohide vte_terminal_get_mouse_autohide;
351 alias c_vte_terminal_get_pty vte_terminal_get_pty;
352 alias c_vte_terminal_get_rewrap_on_resize vte_terminal_get_rewrap_on_resize;
353 alias c_vte_terminal_get_row_count vte_terminal_get_row_count;
354 alias c_vte_terminal_get_text vte_terminal_get_text;
355 alias c_vte_terminal_get_text_include_trailing_spaces vte_terminal_get_text_include_trailing_spaces;
356 alias c_vte_terminal_get_text_range vte_terminal_get_text_range;
357 alias c_vte_terminal_get_window_title vte_terminal_get_window_title;
358 alias c_vte_terminal_get_word_char_exceptions vte_terminal_get_word_char_exceptions;
359 alias c_vte_terminal_match_add_gregex vte_terminal_match_add_gregex;
360 alias c_vte_terminal_match_add_regex vte_terminal_match_add_regex;
361 alias c_vte_terminal_match_check vte_terminal_match_check;
362 alias c_vte_terminal_match_check_event vte_terminal_match_check_event;
363 alias c_vte_terminal_match_remove vte_terminal_match_remove;
364 alias c_vte_terminal_match_remove_all vte_terminal_match_remove_all;
365 alias c_vte_terminal_match_set_cursor vte_terminal_match_set_cursor;
366 alias c_vte_terminal_match_set_cursor_name vte_terminal_match_set_cursor_name;
367 alias c_vte_terminal_match_set_cursor_type vte_terminal_match_set_cursor_type;
368 alias c_vte_terminal_paste_clipboard vte_terminal_paste_clipboard;
369 alias c_vte_terminal_paste_primary vte_terminal_paste_primary;
370 alias c_vte_terminal_pty_new_sync vte_terminal_pty_new_sync;
371 alias c_vte_terminal_reset vte_terminal_reset;
372 alias c_vte_terminal_search_find_next vte_terminal_search_find_next;
373 alias c_vte_terminal_search_find_previous vte_terminal_search_find_previous;
374 alias c_vte_terminal_search_get_gregex vte_terminal_search_get_gregex;
375 alias c_vte_terminal_search_get_regex vte_terminal_search_get_regex;
376 alias c_vte_terminal_search_get_wrap_around vte_terminal_search_get_wrap_around;
377 alias c_vte_terminal_search_set_gregex vte_terminal_search_set_gregex;
378 alias c_vte_terminal_search_set_regex vte_terminal_search_set_regex;
379 alias c_vte_terminal_search_set_wrap_around vte_terminal_search_set_wrap_around;
380 alias c_vte_terminal_select_all vte_terminal_select_all;
381 alias c_vte_terminal_set_allow_bold vte_terminal_set_allow_bold;
382 alias c_vte_terminal_set_audible_bell vte_terminal_set_audible_bell;
383 alias c_vte_terminal_set_backspace_binding vte_terminal_set_backspace_binding;
384 alias c_vte_terminal_set_cjk_ambiguous_width vte_terminal_set_cjk_ambiguous_width;
385 alias c_vte_terminal_set_color_background vte_terminal_set_color_background;
386 alias c_vte_terminal_set_color_bold vte_terminal_set_color_bold;
387 alias c_vte_terminal_set_color_cursor vte_terminal_set_color_cursor;
388 alias c_vte_terminal_set_color_cursor_foreground vte_terminal_set_color_cursor_foreground;
389 alias c_vte_terminal_set_color_foreground vte_terminal_set_color_foreground;
390 alias c_vte_terminal_set_color_highlight vte_terminal_set_color_highlight;
391 alias c_vte_terminal_set_color_highlight_foreground vte_terminal_set_color_highlight_foreground;
392 alias c_vte_terminal_set_colors vte_terminal_set_colors;
393 alias c_vte_terminal_set_cursor_blink_mode vte_terminal_set_cursor_blink_mode;
394 alias c_vte_terminal_set_cursor_shape vte_terminal_set_cursor_shape;
395 alias c_vte_terminal_set_default_colors vte_terminal_set_default_colors;
396 alias c_vte_terminal_set_delete_binding vte_terminal_set_delete_binding;
397 alias c_vte_terminal_set_encoding vte_terminal_set_encoding;
398 alias c_vte_terminal_set_font vte_terminal_set_font;
399 alias c_vte_terminal_set_font_scale vte_terminal_set_font_scale;
400 alias c_vte_terminal_set_geometry_hints_for_window vte_terminal_set_geometry_hints_for_window;
401 alias c_vte_terminal_set_input_enabled vte_terminal_set_input_enabled;
402 alias c_vte_terminal_set_mouse_autohide vte_terminal_set_mouse_autohide;
403 alias c_vte_terminal_set_pty vte_terminal_set_pty;
404 alias c_vte_terminal_set_rewrap_on_resize vte_terminal_set_rewrap_on_resize;
405 alias c_vte_terminal_set_scroll_on_keystroke vte_terminal_set_scroll_on_keystroke;
406 alias c_vte_terminal_set_scroll_on_output vte_terminal_set_scroll_on_output;
407 alias c_vte_terminal_set_scrollback_lines vte_terminal_set_scrollback_lines;
408 alias c_vte_terminal_set_size vte_terminal_set_size;
409 alias c_vte_terminal_set_word_char_exceptions vte_terminal_set_word_char_exceptions;
410 alias c_vte_terminal_spawn_async vte_terminal_spawn_async;
411 alias c_vte_terminal_spawn_sync vte_terminal_spawn_sync;
412 alias c_vte_terminal_unselect_all vte_terminal_unselect_all;
413 alias c_vte_terminal_watch_child vte_terminal_watch_child;
414 alias c_vte_terminal_write_contents_sync vte_terminal_write_contents_sync;
415 alias c_vte_get_user_shell vte_get_user_shell;
416 
417 // vte.Version
418 
419 alias c_vte_get_features vte_get_features;
420 alias c_vte_get_major_version vte_get_major_version;
421 alias c_vte_get_micro_version vte_get_micro_version;
422 alias c_vte_get_minor_version vte_get_minor_version;