summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2016-11-25 22:07:52 +0100
committerChristian Persch <chpe@gnome.org>2016-11-25 22:42:01 +0100
commitfb296872feb8e4104760b54c31d83ff75412bc21 (patch)
tree139d06cf060b0145d7fc97cf463be71b00fee13c /doc
parent710ab416df324ab8366d04d818de13101e21e161 (diff)
downloadvte-fb296872feb8e4104760b54c31d83ff75412bc21.tar.gz
lib: Add async spawning
Add vte_pty_spawn_async/finish for async spawning of a child process on a VtePty, and a vte_terminal_spawn_async convenience function that wraps creating the PTY and spawning the child process, and can cope with the terminal being destroyed between starting the spawning and the operation being finished. This is a partial solution to bug 772354; a full solution will require glib changes. https://bugzilla.gnome.org/show_bug.cgi?id=772354
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/vte-docs.xml5
-rw-r--r--doc/reference/vte-sections.txt6
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/reference/vte-docs.xml b/doc/reference/vte-docs.xml
index 5ef2eac4..89a4e159 100644
--- a/doc/reference/vte-docs.xml
+++ b/doc/reference/vte-docs.xml
@@ -98,8 +98,11 @@
<title>Index of new symbols in 0.46</title>
<xi:include href="xml/api-index-0.46.xml"><xi:fallback /></xi:include>
</index>
+ <index id="api-index-0-48" role="0.48">
+ <title>Index of new symbols in 0.48</title>
+ <xi:include href="xml/api-index-0.48.xml"><xi:fallback /></xi:include>
+ </index>
-
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
<appendix id="licence">
diff --git a/doc/reference/vte-sections.txt b/doc/reference/vte-sections.txt
index 56ae7754..737fb7ba 100644
--- a/doc/reference/vte-sections.txt
+++ b/doc/reference/vte-sections.txt
@@ -82,6 +82,8 @@ vte_get_features
<SUBSECTION>
vte_terminal_spawn_sync
+VteTerminalSpawnAsyncCallback
+vte_terminal_spawn_async
vte_terminal_get_pty
vte_terminal_set_pty
vte_terminal_pty_new_sync
@@ -162,6 +164,10 @@ vte_pty_get_size
vte_pty_set_term
vte_pty_set_utf8
+<SUBSECTION>
+vte_pty_spawn_async
+vte_pty_spawn_finish
+
<SUBSECTION Standard>
vte_pty_flags_get_type
VTE_TYPE_PTY_FLAGS