~ubuntu-branches/ubuntu/trusty/vala/trusty

« back to all changes in this revision

Viewing changes to vapi/vte.vapi

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2011-04-04 09:44:44 UTC
  • mfrom: (1.5.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20110404094444-ybgmwq9brtmw4get
Tags: 0.12.0-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
                public uint strikethrough;
13
13
                public uint underline;
14
14
        }
 
15
        [CCode (cheader_filename = "vte/vte.h")]
 
16
        public class Pty : GLib.Object, GLib.Initable {
 
17
                [CCode (has_construct_function = false)]
 
18
                public Pty (Vte.PtyFlags flags) throws GLib.Error;
 
19
                public void child_setup ();
 
20
                public void close ();
 
21
                public static GLib.Quark error_quark ();
 
22
                [CCode (has_construct_function = false)]
 
23
                public Pty.foreign (int fd) throws GLib.Error;
 
24
                public int get_fd ();
 
25
                public bool get_size (int rows, int columns) throws GLib.Error;
 
26
                public bool set_size (int rows, int columns) throws GLib.Error;
 
27
                public void set_term (string emulation);
 
28
                public bool set_utf8 (bool utf8) throws GLib.Error;
 
29
                public int fd { get; construct; }
 
30
                [NoAccessorMethod]
 
31
                public Vte.PtyFlags flags { get; construct; }
 
32
                [NoAccessorMethod]
 
33
                public string term { owned get; set; }
 
34
        }
 
35
        [Compact]
 
36
        [CCode (cheader_filename = "vte/vte.h")]
 
37
        public class PtyClass {
 
38
        }
15
39
        [CCode (cheader_filename = "vte/reaper.h")]
16
40
        public class Reaper : GLib.Object {
17
41
                [CCode (has_construct_function = false)]
35
59
                public void feed (string data, long length);
36
60
                public void feed_child (string text, long length);
37
61
                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);
 
62
                public int fork_command (string? command, [CCode (array_length = false)] string[]? argv, [CCode (array_length = false)] string[]? envv, string? working_directory, bool lastlog, bool utmp, bool wtmp);
 
63
                public bool fork_command_full (Vte.PtyFlags pty_flags, string? working_directory, [CCode (array_length = false)] string[]? argv, [CCode (array_length = false)] string[]? envv, GLib.SpawnFlags spawn_flags, GLib.SpawnChildSetupFunc child_setup, GLib.Pid child_pid) throws GLib.Error;
 
64
                public int forkpty (string[] envv, string working_directory, bool lastlog, bool utmp, bool wtmp);
40
65
                public unowned Gtk.Adjustment get_adjustment ();
41
66
                public bool get_allow_bold ();
42
67
                public bool get_audible_bell ();
58
83
                public bool get_mouse_autohide ();
59
84
                public void get_padding (int xpad, int ypad);
60
85
                public int get_pty ();
 
86
                public unowned Vte.Pty get_pty_object ();
61
87
                public long get_row_count ();
62
88
                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);
 
89
                public unowned string get_text (Vte.SelectionFunc is_selected, GLib.Array attributes);
 
90
                public unowned string get_text_include_trailing_spaces (Vte.SelectionFunc is_selected, GLib.Array attributes);
 
91
                public unowned string get_text_range (long start_row, long start_col, long end_row, long end_col, Vte.SelectionFunc is_selected, GLib.Array attributes);
66
92
                public bool get_using_xft ();
67
93
                public bool get_visible_bell ();
68
94
                public unowned string get_window_title ();
77
103
                public void match_set_cursor_name (int tag, string cursor_name);
78
104
                public void match_set_cursor_type (int tag, Gdk.CursorType cursor_type);
79
105
                public void paste_primary ();
80
 
                public void reset (bool full, bool clear_history);
 
106
                public Vte.Pty pty_new (Vte.PtyFlags flags) throws GLib.Error;
 
107
                public void reset (bool clear_tabstops, bool clear_history);
 
108
                public bool search_find_next ();
 
109
                public bool search_find_previous ();
 
110
                public unowned GLib.Regex search_get_gregex ();
 
111
                public bool search_get_wrap_around ();
 
112
                public void search_set_gregex (GLib.Regex regex);
 
113
                public void search_set_wrap_around (bool wrap_around);
81
114
                public void select_all ();
82
115
                public void select_none ();
83
116
                public void set_allow_bold (bool allow_bold);
109
142
                public void set_mouse_autohide (bool setting);
110
143
                public void set_opacity (uint16 opacity);
111
144
                public void set_pty (int pty_master);
 
145
                public void set_pty_object (Vte.Pty pty);
112
146
                public void set_scroll_background (bool scroll);
113
147
                public void set_scroll_on_keystroke (bool scroll);
114
148
                public void set_scroll_on_output (bool scroll);
120
154
                public virtual void vte_reserved3 ();
121
155
                [NoWrapper]
122
156
                public virtual void vte_reserved4 ();
 
157
                public void watch_child (GLib.Pid child_pid);
123
158
                public bool write_contents (GLib.OutputStream stream, Vte.TerminalWriteFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
124
159
                public bool allow_bold { get; set; }
125
160
                public bool audible_bell { get; set; }
149
184
                [NoAccessorMethod]
150
185
                public bool pointer_autohide { get; set; }
151
186
                public int pty { get; set; }
 
187
                public Vte.Pty pty_object { get; set; }
152
188
                [NoAccessorMethod]
153
189
                public bool scroll_background { get; set; }
154
190
                [NoAccessorMethod]
205
241
                [CCode (type = "AtkObjectFactory*", has_construct_function = false)]
206
242
                public TerminalAccessibleFactory ();
207
243
        }
 
244
        [CCode (cprefix = "VTE_PTY_ERROR_", cheader_filename = "vte/vte.h")]
 
245
        public enum PtyError {
 
246
                PTY_HELPER_FAILED,
 
247
                PTY98_FAILED
 
248
        }
 
249
        [CCode (cprefix = "VTE_PTY_", cheader_filename = "vte/vte.h")]
 
250
        [Flags]
 
251
        public enum PtyFlags {
 
252
                NO_LASTLOG,
 
253
                NO_UTMP,
 
254
                NO_WTMP,
 
255
                NO_HELPER,
 
256
                NO_FALLBACK,
 
257
                DEFAULT
 
258
        }
208
259
        [CCode (cprefix = "VTE_ANTI_ALIAS_", cheader_filename = "vte/vte.h")]
209
260
        public enum TerminalAntiAlias {
210
261
                USE_DEFAULT,
243
294
        public const int MICRO_VERSION;
244
295
        [CCode (cheader_filename = "vte/vte.h")]
245
296
        public const int MINOR_VERSION;
 
297
        [CCode (cheader_filename = "vte/vte.h")]
 
298
        public static unowned string get_user_shell ();
246
299
}