gtk3/docs/reference/gtk/html/ch32s11.html
2021-04-15 09:52:10 +01:00

67 lines
4.6 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Changes in GTK+ 3.22: GTK+ 3 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
<link rel="up" href="gtk-migrating-3-x-to-y.html" title="Migrating from one GTK+ 3 release to another">
<link rel="prev" href="ch32s10.html" title="Changes in GTK+ 3.20">
<link rel="next" href="pt06.html" title="Part VI. GTK+ Tools">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="gtk-migrating-3-x-to-y.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch32s10.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="pt06.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="id-1.6.9.14"></a>Changes in GTK+ 3.22</h2></div></div></div>
<p>
The CSS parser has gotten a bit more selective in what it accepts as
valid values for the font: shorthand. Following the CSS specification,
at least a size and a family name are required now. If you want to
change an individual facet of the font, like the weight, use the
individual CSS properties: font-weight, font-size, font-family, etc.
</p>
<p>
The CSS parser now warns about some more constructs that are not according
to the CSS spec, such as gradients with a single color stop. Instead,
you can just use image(&lt;color&gt;).
</p>
<p>
The <a class="link" href="GtkSizeGroup.html#GtkSizeGroup--ignore-hidden" title="The “ignore-hidden” property"><span class="type">“ignore-hidden”</span></a> property has not been working properly
for a long time, and we've not documented it as broken and deprecated.
The recommended alternative for reserving space of widgets that are not
currently shown in the UI is to use a <a class="link" href="GtkStack.html" title="GtkStack"><span class="type">GtkStack</span></a> (with some 'filler'
widget, e.g. an empty <a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a>, in another page).
</p>
<p>
GtkHeaderBar now respects the hexpand property for its custom title
widget and its packed children. This change may inadvertently cause the
layout of those children to change, if they unintentionally had hexpand
set before.
</p>
<p>
The behavior of the expand flag in <span class="type">GtkTables</span> <a class="link" href="GtkTable.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a> has been
changed to (again) match the behavior in <a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a> and in GTK+ 2.x. These
options don't cause the table itself to expand.
</p>
<p>
The way GtkPopover behaved during a call to <a class="link" href="GtkWidget.html#gtk-widget-hide" title="gtk_widget_hide ()"><code class="function">gtk_widget_hide()</code></a> violated
some of the internal assumptions GTK+ makes about widget visibility.
<a class="link" href="GtkPopover.html#gtk-popover-popup" title="gtk_popover_popup ()"><code class="function">gtk_popover_popup()</code></a> and <a class="link" href="GtkPopover.html#gtk-popover-popdown" title="gtk_popover_popdown ()"><code class="function">gtk_popover_popdown()</code></a> have been introduced to
show or hide the popover with a transition, while <a class="link" href="GtkWidget.html#gtk-widget-show" title="gtk_widget_show ()"><code class="function">gtk_widget_show()</code></a>
and <a class="link" href="GtkWidget.html#gtk-widget-hide" title="gtk_widget_hide ()"><code class="function">gtk_widget_hide()</code></a> on a GtkPopover now work the same way they do
on any other widget and immediately hide (or show) the popover.
</p>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>