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 public weak GLib.IOChannel channel;
18 [CCode (array_length = false)]
19 public weak int[] iopipe;
20 public static int add_child (GLib.Pid pid);
21 public static unowned Vte.Reaper get ();
22 public virtual signal void child_exited (int p0, int p1);
24 [CCode (cheader_filename = "vte/vte.h")]
25 public class Terminal : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
26 public weak Gtk.Adjustment adjustment;
27 public long char_ascent;
28 public long char_descent;
29 public long char_height;
30 public long char_width;
31 public long column_count;
32 public weak string icon_title;
33 public long row_count;
34 public weak string window_title;
35 public void copy_primary ();
36 public void feed (string data, long length);
37 public void feed_child (string text, long length);
38 public void feed_child_binary (string data, long length);
39 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);
40 public int forkpty (string[] envv, string directory, bool lastlog, bool utmp, bool wtmp);
41 public unowned Gtk.Adjustment get_adjustment ();
42 public bool get_allow_bold ();
43 public bool get_audible_bell ();
44 public long get_char_ascent ();
45 public long get_char_descent ();
46 public long get_char_height ();
47 public long get_char_width ();
48 public long get_column_count ();
49 public void get_cursor_position (out long column, out long row);
50 public unowned string get_default_emulation ();
51 public unowned string get_emulation ();
52 public unowned string get_encoding ();
53 public unowned Pango.FontDescription get_font ();
54 public bool get_has_selection ();
55 public unowned string get_icon_title ();
56 public bool get_mouse_autohide ();
57 public void get_padding (int xpad, int ypad);
58 public long get_row_count ();
59 public unowned string get_status_line ();
60 public unowned string get_text (GLib.Callback is_selected, void* data, GLib.Array attributes);
61 public unowned string get_text_include_trailing_spaces (GLib.Callback is_selected, void* data, GLib.Array attributes);
62 public unowned string get_text_range (long start_row, long start_col, long end_row, long end_col, GLib.Callback is_selected, void* data, GLib.Array attributes);
63 public bool get_using_xft ();
64 public bool get_visible_bell ();
65 public unowned string get_window_title ();
66 public void im_append_menuitems (Gtk.MenuShell menushell);
67 public bool is_word_char (unichar c);
68 public int match_add (string match);
69 public unowned string match_check (long column, long row, int tag);
70 public void match_clear_all ();
71 public void match_remove (int tag);
72 public void match_set_cursor (int tag, Gdk.Cursor cursor);
73 public void match_set_cursor_type (int tag, Gdk.CursorType cursor_type);
74 [CCode (type = "GtkWidget*", has_construct_function = false)]
76 public void paste_primary ();
77 public void reset (bool full, bool clear_history);
78 public void select_all ();
79 public void select_none ();
80 public void set_allow_bold (bool allow_bold);
81 public void set_audible_bell (bool is_audible);
82 public void set_background_image (Gdk.Pixbuf image);
83 public void set_background_image_file (string path);
84 public void set_background_saturation (double saturation);
85 public void set_background_tint_color (Gdk.Color color);
86 public void set_background_transparent (bool transparent);
87 public void set_backspace_binding (Vte.TerminalEraseBinding binding);
88 public void set_color_background (Gdk.Color background);
89 public void set_color_bold (Gdk.Color bold);
90 public void set_color_cursor (Gdk.Color cursor_background);
91 public void set_color_dim (Gdk.Color dim);
92 public void set_color_foreground (Gdk.Color foreground);
93 public void set_color_highlight (Gdk.Color highlight_background);
94 public void set_colors (Gdk.Color foreground, Gdk.Color background, Gdk.Color[] palette);
95 public void set_cursor_blinks (bool blink);
96 public void set_default_colors ();
97 public void set_delete_binding (Vte.TerminalEraseBinding binding);
98 public void set_emulation (string emulation);
99 public void set_encoding (string codeset);
100 public void set_font (Pango.FontDescription font_desc);
101 public void set_font_from_string (string name);
102 public void set_font_from_string_full (string name, Vte.TerminalAntiAlias antialias);
103 public void set_font_full (Pango.FontDescription font_desc, Vte.TerminalAntiAlias antialias);
104 public void set_mouse_autohide (bool setting);
105 public void set_opacity (uint16 opacity);
106 public void set_pty (int pty_master);
107 public void set_scroll_background (bool scroll);
108 public void set_scroll_on_keystroke (bool scroll);
109 public void set_scroll_on_output (bool scroll);
110 public void set_scrollback_lines (long lines);
111 public void set_size (long columns, long rows);
112 public void set_visible_bell (bool is_visible);
113 public void set_word_chars (string spec);
115 public virtual void vte_reserved1 ();
117 public virtual void vte_reserved2 ();
119 public virtual void vte_reserved3 ();
121 public virtual void vte_reserved4 ();
122 public virtual signal void char_size_changed (uint char_width, uint char_height);
123 public virtual signal void child_exited ();
124 public virtual signal void commit (string text, uint size);
125 public virtual signal void contents_changed ();
127 public virtual signal void copy_clipboard ();
128 public virtual signal void cursor_moved ();
129 public virtual signal void decrease_font_size ();
130 public virtual signal void deiconify_window ();
131 public virtual signal void emulation_changed ();
132 public virtual signal void encoding_changed ();
133 public virtual signal void eof ();
134 public virtual signal void icon_title_changed ();
135 public virtual signal void iconify_window ();
136 public virtual signal void increase_font_size ();
137 public virtual signal void lower_window ();
138 public virtual signal void maximize_window ();
139 public virtual signal void move_window (uint x, uint y);
141 public virtual signal void paste_clipboard ();
142 public virtual signal void raise_window ();
143 public virtual signal void refresh_window ();
144 public virtual signal void resize_window (uint width, uint height);
145 public virtual signal void restore_window ();
146 public virtual signal void selection_changed ();
147 public virtual signal void status_line_changed ();
148 public virtual signal void text_deleted ();
149 public virtual signal void text_inserted ();
150 public virtual signal void text_modified ();
151 public virtual signal void text_scrolled (int delta);
152 public virtual signal void window_title_changed ();
154 [CCode (cheader_filename = "vte/vteaccess.h")]
155 public class TerminalAccessible : Gtk.Accessible, Atk.Component, Atk.Action, Atk.Text {
156 [CCode (type = "AtkObject*", has_construct_function = false)]
157 public TerminalAccessible (Vte.Terminal terminal);
159 [CCode (cheader_filename = "vte/vte.h")]
160 public class TerminalAccessibleFactory : Atk.ObjectFactory {
161 [CCode (type = "AtkObjectFactory*", has_construct_function = false)]
162 public TerminalAccessibleFactory ();
164 [CCode (cprefix = "VTE_ANTI_ALIAS_", has_type_id = "0", cheader_filename = "vte/vte.h")]
165 public enum TerminalAntiAlias {
170 [CCode (cprefix = "VTE_ERASE_", has_type_id = "0", cheader_filename = "vte/vte.h")]
171 public enum TerminalEraseBinding {