~ubuntu-branches/ubuntu/precise/vte/precise

« back to all changes in this revision

Viewing changes to doc/reference/html/ch04s04.html

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2011-06-16 17:59:49 UTC
  • mfrom: (1.1.65 upstream) (3.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110616175949-dexr6gu2dxiifi00
Tags: 1:0.28.1-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Add 93_add_alt_screen_scroll_toggle.patch: Handle scrolling differently
    when using alternate screen or scrolling is restricted.
  - Add lp246701_scroll_region_updates.patch: Bug fix. (LP #246701)
  - 91_keep_fds.patch:
    vte-2.90 does not yet support G_SPAWN_LEAVE_DESCRIPTORS_OPEN
    when calling vte_terminal_fork_command_full() until that is
    fixed we need to keep this patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
5
<title>Deprecated, removed and renamed functions and objects</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
7
<link rel="home" href="index.html" title="VTE Reference Manual">
 
8
<link rel="up" href="migration-0-30.html" title="Migrating to VTE 0.30">
 
9
<link rel="prev" href="ch04s03.html" title="Public struct members">
 
10
<link rel="next" href="ch04s05.html" title="Signal changes">
 
11
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
</head>
 
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
 
16
<td><a accesskey="p" href="ch04s03.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
17
<td><a accesskey="u" href="migration-0-30.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
18
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
19
<th width="100%" align="center">VTE Reference Manual</th>
 
20
<td><a accesskey="n" href="ch04s05.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
21
</tr></table>
 
22
<div class="section">
 
23
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
 
24
<a name="id3034456"></a>Deprecated, removed and renamed functions and objects</h2></div></div></div>
 
25
<p>
 
26
      Some functions were marked as deprecated in earlier VTE versions; they have been
 
27
      removed in VTE 0.30. You need to replace their use with their replacement functions
 
28
      as indicated below, or write your own code.
 
29
    </p>
 
30
<p>
 
31
      Other functions have been renamed, and may also have had their argument list change.
 
32
      Consult the documentation for the new functions for more information.
 
33
    </p>
 
34
<p>
 
35
      Some other functions and object properties that have been removed have been replaced
 
36
      by style properties; see the section below
 
37
      for more information.
 
38
    </p>
 
39
<div class="table">
 
40
<a name="id3034489"></a><p class="title"><b>Table 2. </b></p>
 
41
<div class="table-contents"><table border="1">
 
42
<colgroup>
 
43
<col>
 
44
<col>
 
45
</colgroup>
 
46
<thead><tr>
 
47
<th>Deprecated function</th>
 
48
<th>Replacement</th>
 
49
</tr></thead>
 
50
<tbody>
 
51
<tr>
 
52
<td>vte_terminal_get_using_xft</td>
 
53
<td>No replacement</td>
 
54
</tr>
 
55
<tr>
 
56
<td>vte_terminal_get_char_ascent</td>
 
57
<td>No replacement</td>
 
58
</tr>
 
59
<tr>
 
60
<td>vte_terminal_get_char_descent</td>
 
61
<td>No replacement</td>
 
62
</tr>
 
63
<tr>
 
64
<td>vte_terminal_get_padding</td>
 
65
<td>
 
66
              gtk_style_context_get_padding
 
67
            </td>
 
68
</tr>
 
69
<tr>
 
70
<td>vte_terminal_set_cursor_blinks</td>
 
71
<td>
 
72
              Use the new <a href="VteTerminal.html#VteTerminal--cursor-blink-mode">cursor-blink-mode</a> style property.
 
73
            </td>
 
74
</tr>
 
75
<tr>
 
76
<td>vte_terminal_get_adjustment</td>
 
77
<td>
 
78
              gtk_scrollable_get_vadjustment
 
79
            </td>
 
80
</tr>
 
81
<tr>
 
82
<td>vte_terminal_forkpty</td>
 
83
<td>
 
84
              Use <a class="link" href="vte-Vte-PTY.html#vte-pty-new-sync" title="vte_pty_new_sync ()">vte_pty_new_sync</a>, <code class="literal">fork(2)</code>
 
85
              with <a class="link" href="vte-Vte-PTY.html#vte-pty-child-setup" title="vte_pty_child_setup ()">vte_pty_child_setup</a> in the child, and then
 
86
              <a class="link" href="VteTerminal.html#vte-terminal-set-pty" title="vte_terminal_set_pty ()">vte_terminal_set_pty</a>.
 
87
            </td>
 
88
</tr>
 
89
<tr>
 
90
<td>vte_terminal_fork_command_full</td>
 
91
<td>
 
92
              Renamed to <a class="link" href="VteTerminal.html#vte-terminal-spawn-sync" title="vte_terminal_spawn_sync ()">vte_terminal_spawn_sync</a>
 
93
            </td>
 
94
</tr>
 
95
<tr>
 
96
<td>vte_terminal_get_pty_object</td>
 
97
<td>
 
98
              Renamed to <a class="link" href="VteTerminal.html#vte-terminal-get-pty" title="vte_terminal_get_pty ()">vte_terminal_get_pty</a>.
 
99
            </td>
 
100
</tr>
 
101
<tr>
 
102
<td>vte_terminal_set_pty_object</td>
 
103
<td>
 
104
              Renamed to <a class="link" href="VteTerminal.html#vte-terminal-set-pty" title="vte_terminal_set_pty ()">vte_terminal_set_pty</a>.
 
105
            </td>
 
106
</tr>
 
107
<tr>
 
108
<td>vte_terminal_set_default_color</td>
 
109
<td>
 
110
              Reset the corresponding <a class="link" href="VteTerminal.html#VteTerminal.style-properties" title="Style Properties">style properties</a>.
 
111
            </td>
 
112
</tr>
 
113
<tr>
 
114
<td>vte_terminal_get_pty</td>
 
115
<td>
 
116
              Use <a class="link" href="vte-Vte-PTY.html#vte-pty-get-fd" title="vte_pty_get_fd ()">vte_pty_get_fd</a> on the object returned from
 
117
              <a class="link" href="VteTerminal.html#vte-terminal-get-pty" title="vte_terminal_get_pty ()">vte_terminal_get_pty</a>.
 
118
            </td>
 
119
</tr>
 
120
<tr>
 
121
<td>vte_terminal_set_pty</td>
 
122
<td>
 
123
              Use <a class="link" href="vte-Vte-PTY.html#vte-pty-new-sync" title="vte_pty_new_sync ()">vte_pty_new_sync</a> or
 
124
              <a class="link" href="vte-Vte-PTY.html#vte-pty-new-foreign-sync" title="vte_pty_new_foreign_sync ()">vte_pty_new_foreign_sync</a>
 
125
              together with <a class="link" href="VteTerminal.html#vte-terminal-set-pty" title="vte_terminal_set_pty ()">vte_terminal_set_pty</a>.
 
126
            </td>
 
127
</tr>
 
128
<tr>
 
129
<td>vte_terminal_get_default_emulation</td>
 
130
<td>
 
131
              Renamed to <a class="link" href="VteTerminal.html#vte-get-default-emulation" title="vte_get_default_emulation ()">vte_get_default_emulation</a>
 
132
            </td>
 
133
</tr>
 
134
<tr>
 
135
<td>vte_terminal_get_child_exit_status</td>
 
136
<td>
 
137
              The child exit status is now carried by the
 
138
              <a class="link" href="VteTerminal.html#VteTerminal-child-exited" title='The "child-exited" signal'>child-exited</a> signal.
 
139
            </td>
 
140
</tr>
 
141
<tr>
 
142
<td>vte_terminal_pty_new</td>
 
143
<td>
 
144
              Renamed to <a class="link" href="VteTerminal.html#vte-terminal-pty-new-sync" title="vte_terminal_pty_new_sync ()">vte_terminal_pty_new_sync</a>.
 
145
            </td>
 
146
</tr>
 
147
<tr>
 
148
<td>vte_pty_new</td>
 
149
<td>
 
150
              Renamed to <a class="link" href="vte-Vte-PTY.html#vte-pty-new-sync" title="vte_pty_new_sync ()">vte_pty_new_sync</a>.
 
151
            </td>
 
152
</tr>
 
153
<tr>
 
154
<td>vte_pty_new_foreign</td>
 
155
<td>
 
156
              Renamed to <a class="link" href="vte-Vte-PTY.html#vte-pty-new-foreign-sync" title="vte_pty_new_foreign_sync ()">vte_pty_new_foreign_sync</a>.
 
157
            </td>
 
158
</tr>
 
159
</tbody>
 
160
</table></div>
 
161
</div>
 
162
<br class="table-break"><p>
 
163
      The VteReaper object has been removed. You can replace its use by
 
164
      <a class="link" href="VteTerminal.html#vte-terminal-watch-child" title="vte_terminal_watch_child ()">vte_terminal_watch_child</a>
 
165
      (which is called by
 
166
      <a class="link" href="VteTerminal.html#vte-terminal-spawn-sync" title="vte_terminal_spawn_sync ()">vte_terminal_spawn_sync</a>)
 
167
      and then listening to the <a class="link" href="VteTerminal.html#VteTerminal-child-exited" title='The "child-exited" signal'>child-exited</a>
 
168
      signal. Alternatively, you can use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-child-watch-add">g_child_watch_add</a>
 
169
      directly.
 
170
    </p>
 
171
<p>
 
172
      The VteAccess object is no longer public. It is still available internally to
 
173
      provide the VteTerminal accessible implementation; use
 
174
      gtk_widget_get_accessible
 
175
      to get it.
 
176
    </p>
 
177
</div>
 
178
<div class="footer">
 
179
<hr>
 
180
          Generated by GTK-Doc V1.15.1</div>
 
181
</body>
 
182
</html>
 
 
b'\\ No newline at end of file'