1 /* vte.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Vte", lower_case_cprefix = "vte_")]
6 [CCode (cheader_filename = "vte/vte.h")]
7 public class CharAttributes {
10 public Gdk.Color fore;
12 public uint strikethrough;
13 public uint underline;
15 [CCode (cheader_filename = "vte/reaper.h")]
16 public class Reaper : GLib.Object {
17 [CCode (has_construct_function = false)]
19 public static int add_child (GLib.Pid pid);
20 public static unowned Vte.Reaper @get ();
21 public virtual signal void child_exited (int p0, int p1);
23 [CCode (cheader_filename = "vte/vte.h")]
24 public class Terminal : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
25 public weak Gtk.Adjustment adjustment;
26 public long char_ascent;
27 public long char_descent;
28 public long char_height;
29 public long char_width;
30 public long column_count;
31 public long row_count;
32 [CCode (type = "GtkWidget*", has_construct_function = false)]
34 public void copy_primary ();
35 public void feed (string data, long length);
36 public void feed_child (string text, long length);
37 public void feed_child_binary (string data, long length);
38 public int fork_command (string? command, [CCode (array_length = false)] string[]? argv, [CCode (array_length = false)] string[]? envv, string? directory, bool lastlog, bool utmp, bool wtmp);
39 public int forkpty (string[] envv, string directory, bool lastlog, bool utmp, bool wtmp);
40 public unowned Gtk.Adjustment get_adjustment ();
41 public bool get_allow_bold ();
42 public bool get_audible_bell ();
43 public long get_char_ascent ();
44 public long get_char_descent ();
45 public long get_char_height ();
46 public long get_char_width ();
47 public int get_child_exit_status ();
48 public long get_column_count ();
49 public Vte.TerminalCursorBlinkMode get_cursor_blink_mode ();
50 public void get_cursor_position (out long column, out long row);
51 public Vte.TerminalCursorShape get_cursor_shape ();
52 public unowned string get_default_emulation ();
53 public unowned string get_emulation ();
54 public unowned string get_encoding ();
55 public unowned Pango.FontDescription get_font ();
56 public bool get_has_selection ();
57 public unowned string get_icon_title ();
58 public bool get_mouse_autohide ();
59 public void get_padding (int xpad, int ypad);
60 public int get_pty ();
61 public long get_row_count ();
62 public unowned string get_status_line ();
63 public unowned string get_text (Vte.SelectionFunc is_selected, void* data, GLib.Array attributes);
64 public unowned string get_text_include_trailing_spaces (Vte.SelectionFunc is_selected, void* data, GLib.Array attributes);
65 public unowned string get_text_range (long start_row, long start_col, long end_row, long end_col, Vte.SelectionFunc is_selected, void* data, GLib.Array attributes);
66 public bool get_using_xft ();
67 public bool get_visible_bell ();
68 public unowned string get_window_title ();
69 public void im_append_menuitems (Gtk.MenuShell menushell);
70 public bool is_word_char (unichar c);
71 public int match_add (string match);
72 public int match_add_gregex (GLib.Regex regex, GLib.RegexMatchFlags flags);
73 public unowned string match_check (long column, long row, int tag);
74 public void match_clear_all ();
75 public void match_remove (int tag);
76 public void match_set_cursor (int tag, Gdk.Cursor cursor);
77 public void match_set_cursor_name (int tag, string cursor_name);
78 public void match_set_cursor_type (int tag, Gdk.CursorType cursor_type);
79 public void paste_primary ();
80 public void reset (bool full, bool clear_history);
81 public void select_all ();
82 public void select_none ();
83 public void set_allow_bold (bool allow_bold);
84 public void set_audible_bell (bool is_audible);
85 public void set_background_image (Gdk.Pixbuf image);
86 public void set_background_image_file (string path);
87 public void set_background_saturation (double saturation);
88 public void set_background_tint_color (Gdk.Color color);
89 public void set_background_transparent (bool transparent);
90 public void set_backspace_binding (Vte.TerminalEraseBinding binding);
91 public void set_color_background (Gdk.Color background);
92 public void set_color_bold (Gdk.Color bold);
93 public void set_color_cursor (Gdk.Color cursor_background);
94 public void set_color_dim (Gdk.Color dim);
95 public void set_color_foreground (Gdk.Color foreground);
96 public void set_color_highlight (Gdk.Color highlight_background);
97 public void set_colors (Gdk.Color foreground, Gdk.Color background, Gdk.Color[] palette);
98 public void set_cursor_blink_mode (Vte.TerminalCursorBlinkMode mode);
99 public void set_cursor_blinks (bool blink);
100 public void set_cursor_shape (Vte.TerminalCursorShape shape);
101 public void set_default_colors ();
102 public void set_delete_binding (Vte.TerminalEraseBinding binding);
103 public void set_emulation (string emulation);
104 public void set_encoding (string codeset);
105 public void set_font (Pango.FontDescription font_desc);
106 public void set_font_from_string (string name);
107 public void set_font_from_string_full (string name, Vte.TerminalAntiAlias antialias);
108 public void set_font_full (Pango.FontDescription font_desc, Vte.TerminalAntiAlias antialias);
109 public void set_mouse_autohide (bool setting);
110 public void set_opacity (uint16 opacity);
111 public void set_pty (int pty_master);
112 public void set_scroll_background (bool scroll);
113 public void set_scroll_on_keystroke (bool scroll);
114 public void set_scroll_on_output (bool scroll);
115 public void set_scrollback_lines (long lines);
116 public void set_size (long columns, long rows);
117 public void set_visible_bell (bool is_visible);
118 public void set_word_chars (string spec);
120 public virtual void vte_reserved3 ();
122 public virtual void vte_reserved4 ();
123 public bool write_contents (GLib.OutputStream stream, Vte.TerminalWriteFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
124 public bool allow_bold { get; set; }
125 public bool audible_bell { get; set; }
127 public string background_image_file { owned get; set; }
129 public Gdk.Pixbuf background_image_pixbuf { owned get; set; }
131 public double background_opacity { get; set; }
133 public double background_saturation { get; set; }
135 public Gdk.Color background_tint_color { get; set; }
137 public bool background_transparent { get; set; }
139 public Vte.TerminalEraseBinding backspace_binding { get; set; }
140 public Vte.TerminalCursorBlinkMode cursor_blink_mode { get; set; }
141 public Vte.TerminalCursorShape cursor_shape { get; set; }
143 public Vte.TerminalEraseBinding delete_binding { get; set; }
144 public string emulation { get; set; }
145 public string encoding { get; set; }
147 public Pango.FontDescription font_desc { owned get; set; }
148 public string icon_title { get; }
150 public bool pointer_autohide { get; set; }
151 public int pty { get; set; }
153 public bool scroll_background { get; set; }
155 public bool scroll_on_keystroke { get; set; }
157 public bool scroll_on_output { get; set; }
159 public uint scrollback_lines { get; set; }
160 public bool visible_bell { get; set; }
161 public string window_title { get; }
163 public string word_chars { owned get; set; }
164 public virtual signal void beep ();
165 public virtual signal void char_size_changed (uint char_width, uint char_height);
166 public virtual signal void child_exited ();
167 public virtual signal void commit (string text, uint size);
168 public virtual signal void contents_changed ();
170 public virtual signal void copy_clipboard ();
171 public virtual signal void cursor_moved ();
172 public virtual signal void decrease_font_size ();
173 public virtual signal void deiconify_window ();
174 public virtual signal void emulation_changed ();
175 public virtual signal void encoding_changed ();
176 public virtual signal void eof ();
177 public virtual signal void icon_title_changed ();
178 public virtual signal void iconify_window ();
179 public virtual signal void increase_font_size ();
180 public virtual signal void lower_window ();
181 public virtual signal void maximize_window ();
182 public virtual signal void move_window (uint x, uint y);
184 public virtual signal void paste_clipboard ();
185 public virtual signal void raise_window ();
186 public virtual signal void refresh_window ();
187 public virtual signal void resize_window (uint width, uint height);
188 public virtual signal void restore_window ();
189 public virtual signal void selection_changed ();
190 public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
191 public virtual signal void status_line_changed ();
192 public virtual signal void text_deleted ();
193 public virtual signal void text_inserted ();
194 public virtual signal void text_modified ();
195 public virtual signal void text_scrolled (int delta);
196 public virtual signal void window_title_changed ();
198 [CCode (cheader_filename = "vte/vteaccess.h")]
199 public class TerminalAccessible : Gtk.Accessible, Atk.Text, Atk.Component, Atk.Action {
200 [CCode (type = "AtkObject*", has_construct_function = false)]
201 public TerminalAccessible (Vte.Terminal terminal);
203 [CCode (cheader_filename = "vte/vte.h")]
204 public class TerminalAccessibleFactory : Atk.ObjectFactory {
205 [CCode (type = "AtkObjectFactory*", has_construct_function = false)]
206 public TerminalAccessibleFactory ();
208 [CCode (cprefix = "VTE_ANTI_ALIAS_", cheader_filename = "vte/vte.h")]
209 public enum TerminalAntiAlias {
214 [CCode (cprefix = "VTE_CURSOR_BLINK_", cheader_filename = "vte/vte.h")]
215 public enum TerminalCursorBlinkMode {
220 [CCode (cprefix = "VTE_CURSOR_SHAPE_", cheader_filename = "vte/vte.h")]
221 public enum TerminalCursorShape {
226 [CCode (cprefix = "VTE_ERASE_", cheader_filename = "vte/vte.h")]
227 public enum TerminalEraseBinding {
234 [CCode (cprefix = "VTE_TERMINAL_WRITE_", cheader_filename = "vte/vte.h")]
235 public enum TerminalWriteFlags {
238 [CCode (cheader_filename = "vte/vte.h")]
239 public delegate bool SelectionFunc (Vte.Terminal terminal, long column, long row);
240 [CCode (cheader_filename = "vte/vte.h")]
241 public const int MAJOR_VERSION;
242 [CCode (cheader_filename = "vte/vte.h")]
243 public const int MICRO_VERSION;
244 [CCode (cheader_filename = "vte/vte.h")]
245 public const int MINOR_VERSION;