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

« back to all changes in this revision

Viewing changes to doc/reference/html/ch04s06.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>Style properties</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="ch04s05.html" title="Signal changes">
 
10
<link rel="next" href="object-hierarchy.html" title="Object Hierarchy">
 
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="ch04s05.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="object-hierarchy.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="id3076872"></a>Style properties</h2></div></div></div>
 
25
<p>
 
26
      VTE 0.30 uses GTK+ style properties extensively. A number of former
 
27
      VteTerminal object properties, as well as
 
28
      their public accessor functions, have been replaced by style properties.
 
29
    </p>
 
30
<div class="table">
 
31
<a name="id3076891"></a><p class="title"><b>Table 4. </b></p>
 
32
<div class="table-contents"><table border="1">
 
33
<colgroup>
 
34
<col>
 
35
<col>
 
36
<col>
 
37
</colgroup>
 
38
<thead><tr>
 
39
<th>Former accessor function</th>
 
40
<th>Former object property</th>
 
41
<th>Style property</th>
 
42
</tr></thead>
 
43
<tbody>
 
44
<tr>
 
45
<td>vte_terminal_get_padding</td>
 
46
<td>inner-border</td>
 
47
<td>
 
48
              
 
49
            </td>
 
50
</tr>
 
51
<tr>
 
52
<td>vte_terminal_set_font</td>
 
53
<td>font-desc</td>
 
54
<td>
 
55
              font
 
56
            </td>
 
57
</tr>
 
58
<tr>
 
59
<td>
 
60
              vte_terminal_set_background_tint_color,
 
61
              vte_terminal_set_background_tint_color_rgba
 
62
            </td>
 
63
<td> </td>
 
64
<td>
 
65
              background-pattern
 
66
            </td>
 
67
</tr>
 
68
<tr>
 
69
<td>vte_terminal_set_allow_bold</td>
 
70
<td>allow-bold</td>
 
71
<td>
 
72
              <a href="VteTerminal.html#VteTerminal--allow-bold">allow-bold</a>
 
73
            </td>
 
74
</tr>
 
75
<tr>
 
76
<td>vte_terminal_set_cursor_blink_mode</td>
 
77
<td>
 
78
            </td>
 
79
<td>
 
80
              <a href="VteTerminal.html#VteTerminal--cursor-blink-mode">cursor-blink-mode</a>
 
81
            </td>
 
82
</tr>
 
83
<tr>
 
84
<td>vte_terminal_set_cursor_shape</td>
 
85
<td> </td>
 
86
<td>
 
87
              <a href="VteTerminal.html#VteTerminal--cursor-shape">cursor-shape</a>
 
88
            </td>
 
89
</tr>
 
90
<tr>
 
91
<td>vte_terminal_set_scroll_background</td>
 
92
<td>scroll-background</td>
 
93
<td>
 
94
              <a href="VteTerminal.html#VteTerminal--scroll-background">scroll-background</a>
 
95
            </td>
 
96
</tr>
 
97
</tbody>
 
98
</table></div>
 
99
</div>
 
100
<br class="table-break"><p>
 
101
      All colours are now taken from
 
102
      <a class="link" href="VteTerminal.html#VteTerminal.style-properties" title="Style Properties">style properties</a>.
 
103
      This replaces the
 
104
      vte_terminal_set_colors,
 
105
      vte_terminal_set_default_color,
 
106
      vte_terminal_set_color_foreground,
 
107
      vte_terminal_set_color_background,
 
108
      vte_terminal_set_color_dim,
 
109
      vte_terminal_set_color_bold,
 
110
      vte_terminal_set_color_cursor, and
 
111
      vte_terminal_set_color_highlight
 
112
      functions, as well as their GdkRGBA variants
 
113
      that were added in VTE 0.28.
 
114
      Note further that in order for the cursor, reverse and selection background
 
115
      colours to apply instead of the default effect which is to reverse the foreground and
 
116
      background of the text, you must also set the
 
117
      cursor-effect
 
118
      reverse-effect
 
119
      or selection-effect style property to
 
120
      <code class="literal">VTE_TERMINAL_EFFECT_COLOR</code>.
 
121
    </p>
 
122
<p>
 
123
      All background handling has been replaced by the
 
124
      background-pattern
 
125
      style property. This replaces the
 
126
      vte_terminal_set_background_tint_color,
 
127
      vte_terminal_set_background_tint_color_rgba,
 
128
      vte_terminal_set_background_saturation,
 
129
      vte_terminal_set_background_transparent,
 
130
      vte_terminal_set_background_image,
 
131
      vte_terminal_set_background_image_file and
 
132
      vte_terminal_set_opacity
 
133
      functions. Note that in order to make the background appear, you also need
 
134
      to set the alpha component in the palette colours to a value less than <code class="literal">1.0</code>.
 
135
    </p>
 
136
<p>
 
137
      All font handling has been replaced by the
 
138
      font style property.
 
139
      This replaces the
 
140
      vte_terminal_set_font,
 
141
      vte_terminal_set_font_full,
 
142
      vte_terminal_set_font_from_string, and
 
143
      vte_terminal_set_font_from_string_full
 
144
      functions, and the font-desc object property.
 
145
      Note that if you just want to change the font scale, there is a new
 
146
      font-scale object property
 
147
      that you can set instead of changing the font.
 
148
    </p>
 
149
</div>
 
150
<div class="footer">
 
151
<hr>
 
152
          Generated by GTK-Doc V1.15.1</div>
 
153
</body>
 
154
</html>
 
 
b'\\ No newline at end of file'