Initial packaging to sync OBS with git/gerrit
[profile/ivi/gtk3.git] / docs / reference / gtk / html / migrating.html
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>Part V. Migrating from Previous Versions of GTK+</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
8 <link rel="up" href="index.html" title="GTK+ 3 Reference Manual">
9 <link rel="prev" href="GtkActionable.html" title="GtkActionable">
10 <link rel="next" href="gtk-migrating-2-to-3.html" title="Migrating from GTK+ 2.x to GTK+ 3">
11 <meta name="generator" content="GTK-Doc V1.18 (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="GtkActionable.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17 <td> </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">GTK+ 3 Reference Manual</th>
20 <td><a accesskey="n" href="gtk-migrating-2-to-3.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
21 </tr></table>
22 <div class="part">
23 <div class="titlepage"><div><div><h1 class="title">
24 <a name="migrating"></a>Part V. Migrating from Previous Versions of GTK+</h1></div></div></div>
25 <div class="partintro">
26 <div></div>
27 <p>
28         This part describes what you need to change in programs use
29         older versions of GTK+ so that they can use the new features.
30         It also mentions how to convert applications using widgets
31         found in the libgnomeui library to use their counterparts
32         in GTK+.
33       </p>
34 <div class="toc">
35 <p><b>Table of Contents</b></p>
36 <dl>
37 <dt><span class="chapter"><a href="gtk-migrating-2-to-3.html">Migrating from GTK+ 2.x to GTK+ 3</a></span></dt>
38 <dd><dl>
39 <dt><span class="section"><a href="gtk-migrating-2-to-3.html#id1313565">Preparation in GTK+ 2.x</a></span></dt>
40 <dd><dl>
41 <dt><span class="section"><a href="gtk-migrating-2-to-3.html#id1292624">Do not include individual headers</a></span></dt>
42 <dt><span class="section"><a href="gtk-migrating-2-to-3.html#id1336570">Do not use deprecated symbols</a></span></dt>
43 <dt><span class="section"><a href="gtk-migrating-2-to-3.html#id1293007">Use accessor functions instead of direct access</a></span></dt>
44 <dt><span class="section"><a href="gtk-migrating-2-to-3.html#id1322448">Replace GDK_&lt;keyname&gt; with GDK_KEY_&lt;keyname&gt;</a></span></dt>
45 <dt><span class="section"><a href="gtk-migrating-2-to-3.html#id1286216">Use GIO for launching applications</a></span></dt>
46 <dt><span class="section"><a href="gtk-migrating-2-to-3.html#id1343494">Use cairo for drawing</a></span></dt>
47 </dl></dd>
48 <dt><span class="section"><a href="ch24s02.html">Changes that need to be done at the time of the switch</a></span></dt>
49 <dd><dl>
50 <dt><span class="section"><a href="ch24s02.html#id1417088">Replace size_request by get_preferred_width/height</a></span></dt>
51 <dt><span class="section"><a href="ch24s02.html#id1419045">Replace GdkRegion by cairo_region_t</a></span></dt>
52 <dt><span class="section"><a href="ch24s02.html#id1419544">Replace GdkPixmap by cairo surfaces</a></span></dt>
53 <dt><span class="section"><a href="ch24s02.html#id1419598">Replace GdkColormap by GdkVisual</a></span></dt>
54 <dt><span class="section"><a href="ch24s02.html#id1419689">GdkDrawable is gone</a></span></dt>
55 <dt><span class="section"><a href="ch24s02.html#id1419896">Event filtering</a></span></dt>
56 <dt><span class="section"><a href="ch24s02.html#id1419994">Backend-specific code</a></span></dt>
57 <dt><span class="section"><a href="ch24s02.html#id1420094">GtkPlug and GtkSocket</a></span></dt>
58 <dt><span class="section"><a href="ch24s02.html#id1420127">The GtkWidget::draw signal</a></span></dt>
59 <dt><span class="section"><a href="ch24s02.html#id1420304">GtkProgressBar orientation</a></span></dt>
60 <dt><span class="section"><a href="ch24s02.html#id1420461">Check your expand and fill flags</a></span></dt>
61 <dt><span class="section"><a href="ch24s02.html#id1420514">Scrolling changes</a></span></dt>
62 <dt><span class="section"><a href="ch24s02.html#id1420574">GtkObject is gone</a></span></dt>
63 <dt><span class="section"><a href="ch24s02.html#id1420621">GtkEntryCompletion signal parameters</a></span></dt>
64 <dt><span class="section"><a href="ch24s02.html#id1420648">Resize grips</a></span></dt>
65 <dt><span class="section"><a href="ch24s02.html#id1420715">Prevent mixed linkage</a></span></dt>
66 <dt><span class="section"><a href="ch24s02.html#id1420751">Install GTK+ modules in the right place</a></span></dt>
67 </dl></dd>
68 </dl></dd>
69 <dt><span class="chapter"><a href="gtk-migrating-GtkStyleContext.html">Theming changes</a></span></dt>
70 <dd><dl>
71 <dt><span class="section"><a href="gtk-migrating-GtkStyleContext.html#gtk-migrating-GtkStyleContext-themes">Migrating themes</a></span></dt>
72 <dt><span class="section"><a href="gtk-migrating-theme-GtkStyleContext-engines.html">Migrating theme engines</a></span></dt>
73 <dt><span class="section"><a href="gtk-migrating-GtkStyleContext-parser-extensions.html">Extending the CSS parser</a></span></dt>
74 <dt><span class="section"><a href="gtk-migrating-GtkStyleContext-css.html">Using the CSS file format</a></span></dt>
75 <dt><span class="section"><a href="gtk-migrating-GtkStyleContext-checklist.html">A checklist for widgets</a></span></dt>
76 <dt><span class="section"><a href="gtk-migrating-GtkStyleContext-parsing.html">Parsing of custom resources</a></span></dt>
77 <dt><span class="section"><a href="gtk-migrating-GtkStyleContext-bonus-points.html">Bonus points</a></span></dt>
78 </dl></dd>
79 <dt><span class="chapter"><a href="gtk-migrating-unique-GtkApplication.html">Migrating from libunique to GApplication or GtkApplication</a></span></dt>
80 <dd><dl>
81 <dt><span class="section"><a href="gtk-migrating-unique-GtkApplication.html#id1286820">Uniqueness</a></span></dt>
82 <dt><span class="section"><a href="ch26s02.html">Commands and Messages</a></span></dt>
83 </dl></dd>
84 <dt><span class="chapter"><a href="gtk-migrating-smclient-GtkApplication.html">Migrating from EggSMClient to GtkApplication</a></span></dt>
85 <dt><span class="chapter"><a href="gtk-migrating-GtkGrid.html">Migrating from other containers to GtkGrid</a></span></dt>
86 <dd><dl>
87 <dt><span class="section"><a href="gtk-migrating-GtkGrid.html#id1335222">GtkBox versus GtkGrid: packing</a></span></dt>
88 <dt><span class="section"><a href="ch28s02.html">GtkBox versus GtkGrid: sizing</a></span></dt>
89 <dt><span class="section"><a href="ch28s03.html">GtkBox versus GtkGrid: spacing</a></span></dt>
90 </dl></dd>
91 <dt><span class="chapter"><a href="gtk-migrating-checklist.html">Migration Details Checklist</a></span></dt>
92 <dd><dl>
93 <dt><span class="section"><a href="gtk-migrating-checklist.html#checklist-popup-menu">Implement GtkWidget::popup_menu</a></span></dt>
94 <dt><span class="section"><a href="checklist-gdkeventexpose-region.html">Use GdkEventExpose.region</a></span></dt>
95 <dt><span class="section"><a href="checklist-modifiers.html">Test for modifier keys correctly</a></span></dt>
96 <dt><span class="section"><a href="checklist-named-icons.html">Use named icons</a></span></dt>
97 </dl></dd>
98 </dl>
99 </div>
100 </div>
101 </div>
102 <div class="footer">
103 <hr>
104           Generated by GTK-Doc V1.18</div>
105 </body>
106 </html>