1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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">
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>
23
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
24
<a name="id3076872"></a>Style properties</h2></div></div></div>
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.
31
<a name="id3076891"></a><p class="title"><b>Table 4. </b></p>
32
<div class="table-contents"><table border="1">
39
<th>Former accessor function</th>
40
<th>Former object property</th>
41
<th>Style property</th>
45
<td>vte_terminal_get_padding</td>
52
<td>vte_terminal_set_font</td>
60
vte_terminal_set_background_tint_color,
61
vte_terminal_set_background_tint_color_rgba
69
<td>vte_terminal_set_allow_bold</td>
72
<a href="VteTerminal.html#VteTerminal--allow-bold">allow-bold</a>
76
<td>vte_terminal_set_cursor_blink_mode</td>
80
<a href="VteTerminal.html#VteTerminal--cursor-blink-mode">cursor-blink-mode</a>
84
<td>vte_terminal_set_cursor_shape</td>
87
<a href="VteTerminal.html#VteTerminal--cursor-shape">cursor-shape</a>
91
<td>vte_terminal_set_scroll_background</td>
92
<td>scroll-background</td>
94
<a href="VteTerminal.html#VteTerminal--scroll-background">scroll-background</a>
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>.
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
119
or selection-effect style property to
120
<code class="literal">VTE_TERMINAL_EFFECT_COLOR</code>.
123
All background handling has been replaced by the
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>.
137
All font handling has been replaced by 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.
152
Generated by GTK-Doc V1.15.1</div>
b'\\ No newline at end of file'